effecush: Auxiliary function for the log-likelihood estimation of CUSH...

Description Usage Arguments Details

Description

Compute the opposite of the loglikelihood function for CUSH models with covariates to explain the shelter effect.

Usage

1
effecush(paravec, esternocush, shelter, m)

Arguments

paravec

Vector of the initial parameters estimates

esternocush

Matrix binding together the vector of ordinal data and the matrix XX of explanatory variables whose first column is a column of ones needed to consider an intercept term

shelter

Category corresponding to the shelter choice

m

Number of ordinal categories

Details

It is called as an argument for "optim" within CUSH function (when no covariate is included) as the function to minimize.



Search within the CUB package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.