STA4173: Biostatistics
Spring 2025
We last discussed assumptions on t-tests
Dependent / paired t-test: normality
Independent two-sample t-test: normality and variance
If we break the normality assumption, we must look to nonparametric methods.
The t-tests we have already learned are considered parametric methods.
Nonparametric methods do not have distributional assumptions.
Why don’t we always use nonparametric methods?
They are often less efficient: a larger sample size is required to achieve the same probability of a Type I error.
They discard useful information :(
In the nonparametric tests we will be learning, the data will be ranked.
Let us first consider a simple example, x: \ 1, 7, 10, 2, 6, 8
Our first step is to reorder the data:x: \ 1, 2, 6, 7, 8, 10
Then, we replace with the ranks:R: \ 1, 2, 3, 4, 5, 6
What if all data values are not unique?
For example, x: \ 9, 8, 8, 0, 3, 4, 4, 8
Let’s reorder:x: \ 0, 3, 4, 4, 8, 8, 8, 9
Rank ignoring ties:R: \ 1, 2, 3, 4, 5, 6, 7, 8
Now, the final rank:R: \ 1, 2, 3.5, 3.5, 6, 6, 6, 8
Hypotheses
Test Statistic & p-Value
Rejection Region
Conclusion/Interpretation
[Reject or fail to reject] H_0.
There [is or is not] sufficient evidence to suggest [alternative hypothesis in words].
wilcox.test()
function to perform the test,Like before, R will use the group that is “first” in the grouping variable.
When exposed to an infection, a person typically develops antibodies. The extent to which the antibodies respond can be measured by looking at a person’s titer, which is a measure of the number of antibodies present. The higher the titer is, the more antibodies that are present.
The following data represent the titers of 11 ill people and 11 healthy people exposed to the tularemia virus in Vermont.
Is the level of titer in the ill group greater than the level of titer in the healthy group? Use the \alpha = 0.10 level of significance.
Hypotheses
Test Statistic and p-Value
Rejection Region
Conclusion/Interpretation
Reject H_0.
There is sufficient evidence to suggest that the level of titer in the ill group is greater than the level of titer in the healthy group.