View Full Version : What test to use?
MuhTheKuh
Dec8-10, 12:38 PM
In Town A in a sample of 3591, 2498 have the "right" amount of red blood cells.
In Town B 856 have been tested and 277 have levels close to the right amount.
What test do I have to use to compare Town A and Town B?
And how do I compute the p-value for this test and what checks have to be done to justify the appropriate test?
I simply have no idea what would be the right thing to even start with...
moonman239
Jan17-11, 07:44 AM
What about the other people in either town that you have not described? Do the other 1093 people in town A have levels equal to those of the 277 in town B? Do the other 579 people in town B have the "right" amount of red blood cells?
moonman239
Jan17-11, 07:46 AM
For starters, you could use the Chi-square distribution to determine whether there is any difference between the two populations. I'll tell you about that later.
moonman239
Jan17-11, 09:12 AM
I'm back. I am going to assume that the remaining 1093 in town A don't have the "right" amount of red blood cells, and that the remaining 277 in town B do. So, the first step is to calculate the Chi-square statistic. Note: Before you do this, you need to set a level of significance. Anyways, to compute the Chi-square statistic,
1) Take the number of people (say, in town A) that have the "right" amount of red blood cells (the observed frequency)
2) Subtract that from the number of people in town B that have the "right" amount of red blood cells (the expected frequency).
3) Divide that by the expected frequency.
4) Repeat steps 1-3 as necessary.
Next, calculate the degrees of freedom. This step is rather simple. Just take the number of categories you have and subtract that number by one.
Then do a Google search or look in a stats book for a Chi-square distribution table. Using the table, you can compute the p-value. If the p-value is less than your level of significance, you can say that there is no difference between the two populations. If not, you can use a different test to determine which population is different.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.