Auxiliary function for the log-likelihood estimation of IHG models without covariates
Compute the opposite of the log-likelihood function for an IHG model without covariates.
effeihg(theta, m, freq)
theta
: Initial estimate for the parameter of the IHG distributionm
: Number of ordinal categoriesfreq
: Vector of the absolute frequency distribution of the ordinal responsesIt is called as an argument for "optim" within IHG function (when no covariate is specified) as the function to minimize.
Useful links