CRAN Release
The aim of the R package singcar is to provide and encourage usage of appropriate statistical methods for comparing a case against a control sample. For instance, they may commonly be done in a neuropsychological context, in which an individual has incurred a specific brain injury and we wish to test whether this damage has led to an impairment of some cognitive function and whether two different functions are dissociable. For many cognitive functions there are normed data available which the patient can be compared against directly. However, when this is not possible a control sample estimating the population, against which we wish to compare the patient, must be used. Both frequentist and Bayesian methods have been developed to do this providing transparent control over Type I errors, first and foremost by John Crawford and Paul Garthwaite. It is these methods that singcar implements. Due to the somewhat overlooked issue of Type II errors power calculators for these tests are also provided.
singcar is now available on CRAN! To get this stable version run:
install.packages("singcar")
library("singcar")