This function is useful for omparing models produced using the ltmix package to models fit using other, or for computing fit criteria and risk measures for a known set of parameters.
createLtmmObj(x, distributions, trunc, Pars, Pi, npars = NULL)An ltmm model object
data vector
densities to combine
left truncation point (optional)
list of length G of parameter values
vector of length G of component proportions
Can optionally be used to overwrite the number of free parameters (used in the calculation of AIC & BIC), if the model has additional constraints