Description Usage Arguments Value
View source: R/lcpmMinusloglik.R
lcpmMinusloglik
provides the negative of the log-likelihood function for a Generalized Linear Model with a log link and ordinal outcomes to be minimized in functions lcpm
and ppm
.
1 | lcpmMinusloglik(betapar, Xa1, XaJ, Xaj1, Xaj2)
|
betapar |
a vector of values. |
Xa1 |
matrix of covariates for all subjects with the lowest ordinal outcome value 1. |
XaJ |
matrix of covariates for all subjects with the largest ordinal outcome value J. |
Xaj1 |
matrix of covariates for all subjects with the ordinal outcomes with value 1 < j < J. |
Xaj2 |
matrix of covariates for all subjects with the ordinal outcome with value 1 < j < J but lagged by 1. |
value of the negative log-likelihood evaluated at betapar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.