Learn R Programming

mixdist (version 0.5-5)

mixtheta2par: Compute All of Parameters from the Estimated Parameters

Description

When there are constraints on parameters, we only estimate some parameters in terms of the constraints. This function is to compute all of parameters from the estimated ones.

Usage

mixtheta2par(mixtheta, mixpar, constr, mixprop = TRUE)

Arguments

mixtheta

a vector containing the values for the estimated parameters, usually, a result of the function mixpar2theta.

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. See function mixconstr.

mixprop

if TRUE, the proportions will be estimated.

Value

A data frame containing three variables, which are, in order, the proportions, means, and standard deviations, respectively.

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

mixpar2theta for finding the parameters to be estimated.