effeihgcov function

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

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

Compute the opposite of the log-likelihood function for an IHG model with covariates for the preference parameter.

effeihgcov(nu, ordinal, U, m)

Arguments

  • nu: Vector of the starting values for the parameters to be estimated, with length equal to NCOL(U)+1 to account for an intercept term (first entry of nunu)
  • ordinal: Vector of ordinal responses
  • U: Matrix of the explanatory variables for the preference parameter θ\theta
  • m: Number of ordinal categories

Details

It is called as an argument for "optim" within IHG function (with covariates) as the function to minimize.

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

Useful links