mn {bimixt}R Documentation

mn

Description

An accessor function. Retrieves the component means of a model object.

Usage

mn(model, transformed = F)

Arguments

model

an object of type model from bimixt.model

transformed

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

Value

cases

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

controls

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

Author(s)

Michelle Winerip, Garrick Wallstrom, Joshua LaBaer

See Also

lambda stdev 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")
mn(model)

[Package bimixt version 1.0 Index]