effeihg function

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

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)

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.

  • Maintainer: Rosaria Simone
  • License: GPL-2 | GPL-3
  • Last published: 2024-02-23

Useful links