Learn R Programming

⚠️There's a newer version (0.1.5) of this package.Take me there.

singcar (version 0.1.2)

Comparing Single Cases to Small Samples

Description

When comparing single cases to control populations and no parameters are known researchers and clinicians must estimate these with a control sample. This is often done when testing a case's abnormality on some variable or testing abnormality of the discrepancy between two variables. Appropriate frequentist and Bayesian methods for doing this are here implemented, including tests allowing for the inclusion of covariates. These have been developed first and foremost by John Crawford and Paul Garthwaite, e.g. in Crawford and Howell (1998) , Crawford and Garthwaite (2005) , Crawford and Garthwaite (2007) and Crawford, Garthwaite and Ryan (2011) . The package is also equipped with power calculators for each method.

Copy Link

Version

Install

install.packages('singcar')

Monthly Downloads

169

Version

0.1.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jonathan Rittmo

Last Published

January 7th, 2021

Functions in singcar (0.1.2)

RSDT_power

Power calculator for RSDT
BTD

Bayesian Test of Deficit
RSDT

Revised Standardised Difference Test
BSDT

Bayesian Standardised Difference Test
BTD_cov

Bayesian Test of Deficit with Covariates
BTD_cov_power

Power calculator for BTD_cov
BSDT_cov_power

Power calculator for BSDT_cov
BTD_power

Power calculator for BTD
BSDT_power

Power calculator for BSDT
BSDT_cov

Bayesian Standardised Difference Test with Covariates
UDT

Unstandardised Difference Test
UDT_power

Power calculator for UDT
TD_power

Power calculator for TD
TD

Test of Deficit
singcar

singcar: Comparing Single Cases to Small Samples
size_weight_illusion

Data from one patient and 28 controls on the size-weight illusion