FAQ: Standard Deviation - Variance Recap

This community-built FAQ covers the “Variance Recap” exercise from the lesson “Standard Deviation”.

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

Learn Statistics With Python

FAQs on the exercise Variance Recap

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!

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

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

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!

1 Like

“the units of variance are inches squared. Can you interpret what it means for the variance of the NBA dataset to be 13.32 inches squared?”

I don’t understand that question?

I also don’t understand this. Why and when are the inches squared?

It’s the units that are inches squared, if you have a look into dimensional analysis, for example https://en.wikipedia.org/wiki/Dimensional_analysis#The_factor-label_method_for_converting_units you’ll see the formula basically boils down to inches squared divided by nothing as both x and the mean have units of inches.

In the method above you only care about “labels” or “units”, not values.

This is why you commonly see standard deviation (the square root of variance) given in addition to averages and similar as the units are the same making comparison easier.

1 Like

The hint states that “Somebody who is 80 inches tall is above the average height of both datasets.” Looking at the histogram, I see that 80 inch is way to the right of the OkCupid group so it cannot be the mean. But it is at the centre of the NBA dataset, so it is close to the mean of that group. Correct me if I’m wrong.

Like the hint of the question puts it, it’s hard to understand this (that’s why we are going to learn about standard deviation, which will have the same unit (inch not inches squared) as the mean).

After calculation, the hint is correct (nba mean is 77, okcupid mean is 68 inches), but it’s hard to tell by looking at the histogram alone.