Description Usage Arguments Value Author(s) Examples
View source: R/crawford.test.R
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. .
1 | crawford.test.freq(patient, controls)
|
patient |
Single value (patient's score). |
controls |
Vector of values (control's scores). |
Returns a data frame containing the t-value, degrees of freedom, and p-value. If significant, the patient is different from the control group.
Dan Mirman, Dominique Makowski
1 2 3 4 | library(psycho)
crawford.test.freq(patient = 10, controls = c(0, -2, 5, 2, 1, 3, -4, -2))
crawford.test.freq(patient = 7, controls = c(0, -2, 5, 2, 1, 3, -4, -2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.