crawford.test: Crawford-Howell (1998) t-test for single-case analysis.
Description
Neuropsychologists often need to compare a single case to a small control group. However, the standard two-sample t-test does not work because the case is only one observation. Crawford and Garthwaite (2012) demonstrate that the Crawford-Howell (1998) t-test is a better approach (in terms of controlling Type I error rate) than other commonly-used alternatives.
.
Usage
crawford.test(case, controls, verbose = T)
Arguments
case
Single value.
controls
Vector of values.
verbose
True or False. Prints the interpretation text.
Value
Returns a data frame containing the t-value, degrees of freedom, and p-value. If significant, the case is different from the control group.