stdev: stdev

Description Usage Arguments Value Author(s) See Also Examples

View source: R/r23.R

Description

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

Usage

1
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

1
2
3
4
5
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)
 

bimixt documentation built on May 2, 2019, 3:31 p.m.