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.

6 FLXMRziglm<br />

FLXMRziglm<br />

FlexMix Interface to Zero Inflated Generalized Linear Models<br />

Description<br />

This is a driver which allows fitting of zero inflated poisson and binomial models.<br />

Usage<br />

FLXMRziglm(formula = . ~ ., family = c("binomial", "poisson"), ...)<br />

Arguments<br />

formula<br />

family<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 character string naming a glm family function.<br />

... passed to FLXMRglm<br />

Value<br />

Returns an object of class FLXMRziglm.<br />

Note<br />

In fact this only approximates zero inflated models by fixing the coefficient of the intercept at -Inf<br />

and the other coefficients at zero for the first component.<br />

Author(s)<br />

Friedrich Leisch and Bettina Gruen<br />

Examples<br />

data("dmft")<br />

Model

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

Saved successfully!

Ooh no, something went wrong!