Stata 15 help for fmm_poisson

[FMM] fmm: poisson -- Finite mixtures of Poisson regression models

Syntax

Basic syntax

fmm #: poisson depvar [indepvars] [, options]

Full syntax

fmm # [if] [in] [weight] [, fmmopts]: poisson depvar [indepvars] [, options]

where # specifies the number of class models.

options Description ------------------------------------------------------------------------- Model noconstant suppress the constant term exposure(varname_e) include ln(varname_e) in model with coefficient constrained to 1 offset(varname_o) include varname_o in model with coefficient constrained to 1 ------------------------------------------------------------------------- indepvars may contain factor variables; see fvvarlist. depvar and indepvars may contain time-series operators; see tsvarlist. For a detailed description of options, see Options in [R] poisson.

fmmopts Description ------------------------------------------------------------------------- Model lcinvariant(pclassname) specify parameters that are equal across classes; default is lcinvariant(none) lcprob(varlist) specify independent variables for class probabilities lclabel(name) name of the categorical latent variable; default is lclabel(Class) lcbase(#) base latent class constraints(constraints) apply specified linear constraints collinear keep collinear variables

SE/Robust vce(vcetype) vcetype may be oim, robust, or cluster clustvar

Reporting level(#) set confidence level; default is level(95) nocnsreport do not display constraints noheader do not display header above parameter table nodvheader do not display dependent variables information in the header notable do not display parameter table display_options control columns and column formats, row spacing, line width, display of omitted variables and base and empty cells, and factor-variable labeling

Maximization maximize_options control the maximization process startvalues(svmethod) method for obtaining starting values; default is startvalues(factor) emopts(maxopts) control EM algorithm for improved starting values noestimate do not fit the model; show starting values instead

coeflegend display legend instead of statistics ------------------------------------------------------------------------- varlist may contain factor variables; see fvvarlist. by, statsby, and svy are allowed; see prefix. vce() and weights are not allowed with the svy prefix. fweights, iweights, and pweights are allowed; see weight. coeflegend does not appear in the dialog box. See [FMM] fmm postestimation for features available after estimation. For a detailed description of fmmopts, see Options in [FMM] fmm.

pclassname Description ------------------------------------------------------------------------- cons intercepts and cutpoints coef fixed coefficients errvar covariances of errors scale scaling parameters ------------------------------------------------------------------------- all all the above none none of the above; the default -------------------------------------------------------------------------

Menu

Statistics > FMM (finite mixture models) > Count outcomes > Poisson regression

Description

fmm: poisson fits mixtures of Poisson regression models; see [FMM] fmm and [R] poisson for details.

Remarks

For a general introduction to finite mixture models, see [FMM] fmm intro. For general information about Poisson regression, see [R] poisson.

Example

Setup . webuse gsem_mixture

Mixture of two Poisson regression models . fmm 2: poisson drvisits private medicaid c.age##c.age actlim chronic

Stored results

See Stored results in [FMM] fmm.


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index