Lab Assignment 7
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
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
Get Answers For Free
Most questions answered within 1 hours.