5.5 Assignments |
Top Previous Next |
By chance, there are always small deviations in the data due to variation in the samples. So there are also random deviations from the perfect table in the assessment. If the deviations are so large that randomness is not an argument, you must conclude that the starting point of the perfect table with the expected frequencies at independence cannot be correct. Then the variables cannot be independent and therefore they will show cohesion. The question then is how to get that. Conveniently: by using simulations as you have done.
5.5a
From the above cross table, the relative risk for "Died: men compared to women" is equal to 1.48. That's greater than 1, is that too big a difference or not? With a simulation you can check that and you can conclude whether the gender and survival variables are dependent or not.
5.5b
Another sample provided by the above cross-table. The relative risk is 1.23 Use a simulation to come to a conclusion about the (in) dependence.
5.5c
The above sample is three times the previous one. The relative risk is therefore also 1.23 Investigate whether you come to the same conclusion about (in) dependence..
Conclusion: The size of the sample plays an important role in drawing statistical conclusions.
|