|
Copyright (C) 1997 American Association of Swine Practitioners
In this experiment, 100 pigs weighing approximately 150 lb (68 kg) were randomly allocated between two diets, fed for 48 days, then weighed again. Results are summarized in Table 1. What is the probability that the observed difference in ADG of 0.20 lb (0.09 kg) per day between pigs fed diet A and pigs fed diet B could have occurred by chance? To answer this question, we begin with a null hypothesis that the performance of pigs fed diet A and pigs fed diet B is not different. Then we try to show that they are different. In this instance, it is appropriate to use the Student's t-test. This test can be applied where there are two groups to be compared and where the underlying distribution of ADG is approximately normal. We can check this by asking the computer to describe a normal curve over a histogram of the ADG data. (Figure 1) Student's t-test:Step 1Calculate an estimate of the pooled variance for our two populations. For reasons best known to statisticians, this involves squaring the standard deviations, multiplying by sample sizes minus one, then dividing by the "degrees of freedom" :
Step 2Once we have our estimate of variance, we can calculate our t statistic
using another impressive-looking formula:
Step 3Looking up t = 3.47, 98 d.f., in statistical tables, we find P =.00078. Our interpretation of P =.00078 is that the probability of our observed difference of 0.2 lb per day occurring by chance is very small indeed (78 times in 10,000!). Therefore, we can conclude that our observed difference in ADG between the two groups fed diet A and diet B is statistically significant. Note that in addition to the mean ADG for each group, we also needed standard deviations and sample sizes (na, nb) to calculate the t statistic followed by the P-value. |
|||||||||
| JSHAP Navigation: | Issue list | This issue's Contents | | |
| Site navigation: | Home | AASV | Publications | News | JSHAP | Links | Members | Meetings | Students | Foundation | Employment | | Questions and comments to webmaster@aasv.org |
| Last modified July 15, 2002. | |
| The AASV thanks its Industry Support Council, including:PIC International. | |