pappaburger / intro-data-capstone-biodiversity

0 stars 0 forks source link

Double check contingency numbers #3

Open CATower opened 5 years ago

CATower commented 5 years ago

https://github.com/pappaburger/intro-data-capstone-biodiversity/blob/ba0ea13c4296ec79ac3d08fa6f30c3759291a88c/Codecademy%20Capstone/biodiversity.py#L248

https://github.com/pappaburger/intro-data-capstone-biodiversity/blob/ba0ea13c4296ec79ac3d08fa6f30c3759291a88c/Codecademy%20Capstone/biodiversity.py#L281

Something has gone wrong with the numbers you ended up with for your contingency tables. It looks like you ended up with the correct significant/insignificant levels but otherwise they are off.

For reference: the first table should be: 30, 146 75, 413

and the second should be: 5, 73 30, 146

pappaburger commented 5 years ago

Thank you for your feedback. I think I might have the different number in the CSV files, but I will download the files again and rerun it.