FAQ: Data Types and Quality - Representative Samples

This community-built FAQ covers the “Representative Samples” exercise from the lesson “Data Types and Quality”.

Paths and Courses
This exercise can be found in the following Codecademy content:

FAQs on the exercise Representative Samples

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!
You can also find further discussion and get answers to your questions over in Language Help.

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head to Language Help and Tips and Resources. If you are wanting feedback or inspiration for a project, check out Projects.

Looking for motivation to keep learning? Join our wider discussions in Community

Learn more about how to use this guide.

Found a bug? Report it online, or post in Bug Reporting

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

So, on the exercise about the trees and leaves, this not good for those of us who are color blind. Not asking for any special treatment, but it is commonly stated to avoid greens and reds in visualization. For this exercise, I can see 3 colors but I assume there must be more since I see 6 trees. I’m just going to move on.

I was thrown off by the visualization in this example but I learned a good lesson I think. The answer makes the distinction in Sample A that “light green leaved trees” are different than regular green, or at least it implies there is that difference, with light green and green being different qualities. I got confused because although this detail isn’t a _____ (what’s the word for the actual instance in the data, where the row meets the observation?), the illustration of trees that have a round top vs. the kind that has a top that looks like three round sections (like the one on the very left) I thought was a different instance possibility because it is a visualization. That’s how I took it at first.

I think I didn’t view the data enough. But upon more reflection, I determined that despite any visual indicators in the actual visualization, if they’re not official instance possibilities in the data, they shouldn’t be considered in your analysis. Basically, in the visualization, a tree with a brown trunk with a round top that’s light green is the same as a tree with a brown trunk with a triangular top that is light green.

For example again, apparently there are no instances of “round tops” and “3 round sectioned tops” for the type of tree. There is only leaf color and trunk color. I think it might be easy to create errors if you get carried away with a detail that is not considered part of the data, especially when it comes to the visualization. I guess it was a rookie move.

2 Likes

I thought that the concept of a representative sample has not been clearly defined here. Aren’t the quantitative proportions within the sample also relevant to being a representative sample?

1 Like

Proportions are the measurement of the characteristic, not the characteristic itself.