Description Usage Arguments Value
View source: R/partial.prop.odds.ll.R
This function returns the og likelihood for a partial proportional odds model. This function should not be used independently.
1 2 3 | partial.prop.odds.ll(y, y.levels, in.data, int.vector,
x.prop.odds = NULL, x.non.prop.odds = NULL, beta.prop.odds = NULL,
beta.non.prop.odds = NULL)
|
y |
A vector of containing the values of an ordinal outcome variable. |
y.levels |
A vector of the unique, ordinal levels of y. |
in.data |
The input data object of type data frame or matrix. |
int.vector |
A vector of intercept estimates (one for each level of the outcome variable, except the top level). These need to be in the order of the levels of the outcome variable (from low to high). |
x.prop.odds |
A design martrix (no intercept) for the variables assumed to have proportional odds. |
x.non.prop.odds |
A design martrix (no intercept) for the variables assumed to not have proportional odds. |
beta.prop.odds |
A vector of beta values for each predictor assumed to have proportional odds. |
beta.non.prop.odds |
A matrix of beta values for each predictor assumed to not have proportional odds, where columns are the first j-1 levels of the ordinal outcome, and rows are betas. |
The log-likelihood for the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.