effeihg: Auxiliary function for the log-likelihood estimation of IHG...

View source: R/effeihg.R

effeihgR Documentation

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.


CUB documentation built on May 29, 2024, 5:23 a.m.