Learn R Programming

CUB (version 0.1)

loglikihgcov: Log-likelihood function for the IHG model with covariates

Description

Compute the log-likelihood function for the IHG model with covariates to explain the preference parameter. @usage loglikihgcov(m, ordinal, U, nu)

Usage

loglikihgcov(m, ordinal, U, nu)

Arguments

m
Number of ordinal categories
ordinal
Vector of ordinal responses
U
Matrix of selected covariates for explaining the preference parameter
nu
Vector of coefficients for covariates, whose length equals NCOL(U)+1 to include an intercept term in the model (first entry of nu)

See Also

loglikIHG