Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Data Analysis Data Analysis Basics Getting to Know Your Data Getting Friendly with Data

Patrick Koch
Patrick Koch
40,496 Points

I dont get I tryed answer B and C but its not correct.

I dont get I tryed answer B and C but its not correct. Maybe somebody can explain it to me.

2 Answers

Steven Parker
Steven Parker
231,261 Points

This quiz has 5 questions so it would help if you quote the question itself. Also, the quiz might randomize the choices so it would be better to indicate the values instead of the choice letters.

But If venture a guess, the question that is most likely to cause confusion is the one asking for the median in a set of grades having 30 As, 10 Bs, 8 Cs, and 2 Ds. The thing to remember about median is that it is the value in the middle of the set, not the average value of the set.

So in this set, there's an even number of items so there will be 2 "middle" values. But since 30 of the 50 items are "A", then both "middle" values will be "A", and therefor the median will be "A".

Patrick Koch
Patrick Koch
40,496 Points

thanks for the answer:

So in this set, there's an even number of items so there will be 2 "middle" values. that i understand, But since 30 of the 50 items are "A", then both "middle" values will be "A" I dont understand

Steven Parker
Steven Parker
231,261 Points

If we write out the entire set in sorted order:

A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A B B B B B B B B B B C C C C C C C C D D
                                                ^ ^
                                  these are the two middle values

And since both values in the middle are the same, we don't need to average them. The median is just one of those values.

Patrick Koch
Patrick Koch
40,496 Points

AHHHH now I get I thank a lot so you conceit all grades and den take the middle value