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

View source: R/loglikihgcov.R

loglikihgcovR Documentation

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)

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


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