Learn R Programming

mixdist (version 0.5-5)

mixpar2theta: Find the Parameters to be Estimated

Description

When there are constraints on parameters, we only estimate some parameters in terms of the constraints. This function is to find the parameters to be estimated. See the reference for details.

Usage

mixpar2theta(mixpar, constr, mixprop = TRUE)

Arguments

mixpar

A data frame containing the values for parameters of component distributions, which are, in order, the proportions, means, and standard deviations.

constr

a list of constraints on parameters of component distributions.

mixprop

if TRUE, the proportions will be estimated.

Value

A vector containing the values for the parameters to be estimated.

References

Macdonald, P.D.M. and Green, P.E.J. (1988) User's Guide to Program MIX: An Interactive Program for Fitting Mixtures of Distributions. ICHTHUS DATA SYSTEMS.

See Also

mix for fitting mixture model, mixtheta2par for computing all the parameters from the estimated parameters.