Auxiliary function for the log-likelihood estimation of IHG models without covariates

Share:

Description

Compute the opposite of the log-likelihood function for an IHG model without covariates.

Usage

1
effeihg(theta, m, freq)

Arguments

theta

Initial estimate for the parameter of the IHG distribution

m

Number of ordinal categories

freq

Vector of the absolute frequency distribution of the ordinal responses

Details

It is called as an argument for "optim" within IHG function (when no covariate is specified) as the function to minimize.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.