Learn R Programming

CUB (version 1.1.5)

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

Description

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

Usage

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.