Last data update: 2014.03.03

R: stdev
stdevR Documentation

stdev

Description

An accessor function. Retrieves the component standard deviations of a model object.

Usage

stdev(model, transformed = F)

Arguments

model

an object of type model from bimixt.model

transformed

A Boolean indicating whether to return the standard deviation values on the transformed scale (TRUE) or the original scale (FALSE default). The transformed standard deviations are estimates of the Gaussian component standard deviations. The original scale standard deviations are Monte Carlo estimates of the standard deviation of the inverse Box-Cox of the estimated Gaussian component distribution.

Value

cases

A vector (or scalar) of numeric values for the standard deviation of each case component in the model.

controls

A vector (or scalar) of numeric values for the standard deviation of each control component in the model.

Author(s)

Michelle Winerip, Garrick Wallstrom, Joshua LaBaer

See Also

lambda mn prop maxll type

Examples

case=rmix(50,10,1.2,15,1,.7) 
control=rmix(50,10,1.2,15,1,.95) 
model=bimixt.model(case=case,control=control, type="4c") 
stdev(model)
 

Results