Question

Lab Assignment 7 You’re a wizard at Hogwarts and your job this year is to place...

Lab Assignment 7

  1. You’re a wizard at Hogwarts and your job this year is to place The Sorting Hat on the students to decide which house they are in (there are 4 houses). You expect that you will get an even number of students in each house. The results are below:

Obs. Num.

Gryffindor

Slytherin

Hufflepuff

Ravenclaw

Observed Children

65

150

23

91

Expected Proportion

a) Write your hypotheses:

Ho:

Ha:

b) Report your p-value and discuss your conclusion (statistical and biological)

p-value:

Stat Conclusion:

Biological Conclusion:

c) Report the expected numbers of each student in each house. What patterns do you notice from the test you performed?

What house do you belong in?

USING R STUDIO

Homework Answers

Answer #1

a) H0: The even number of students in each house

H1: Not the even number of students in each house

b) From the given data

Observed Expected Proportion
Obs. Num. Freq (Oi) Frequencies(Ei) (Oi-Ei)^2 /Ei
Gryffindor 65 82.25 3.6178
Slytherin 150 82.25 55.8062
Hufflepuff 23 82.25 42.6816
Ravenclaw 91 82.25 0.9309
Total: 329 329 103.0365

R-code:

From R Output,

P-value = 0.0000

c) since P-value < alpha 0.05 so we reject H0

Thus we conclude that Not the even number of students in each house

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions