08.04.2015 Views

The flexmix Package - NexTag Supports Open Source Initiatives

The flexmix Package - NexTag Supports Open Source Initiatives

The flexmix Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

14 FLXMRglmfix<br />

FLXMRglmfix<br />

FlexMix Interface to Generalized Linear Models with fixed coefficients<br />

Description<br />

This implements a driver for FlexMix which interfaces the glm family of models and where it is<br />

possible to specify fixed (constant) or nested varying coefficients or to ensure that in the Gaussian<br />

case the variance estimate is equal for all components.<br />

Usage<br />

FLXMRglmfix(formula = . ~ ., fixed=~0, varFix = FALSE,<br />

nested = NULL,<br />

family = c("gaussian", "binomial", "poisson", "Gamma"),<br />

offset = NULL)<br />

Arguments<br />

formula<br />

fixed<br />

varFix<br />

nested<br />

family<br />

offset<br />

A formula which is interpreted relative to the formula specified in the call to<br />

<strong>flexmix</strong> using update.formula. Default is to use the original <strong>flexmix</strong><br />

model formula.<br />

A formula which specifies the additional regressors for the fixed (constant) coefficients.<br />

A logical indicating if the variance estimate for Gaussian components should be<br />

constrained to be equal for all components. It can be also a vector specifying the<br />

number of components with equal variance.<br />

An object of class FLXnested or a list specifying the nested structure.<br />

A character string naming a glm family function.<br />

This can be used to specify an a priori known component to be included in the<br />

linear predictor during fitting.<br />

Value<br />

Returns an object of class FLXMRglmfix.<br />

Author(s)<br />

Friedrich Leisch and Bettina Gruen<br />

See Also<br />

FLXMRglm

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!