Description Usage Arguments Value Author(s) See Also Examples
This is an internal function used by glmnetcr
to restructure an ordinal dataset to represent the K-1 conditionally independent likelihoods needed for fitting a backrward continuation ratio model
1 | cr.backward(x, y, weights)
|
x |
covariates to be included in the model |
y |
ordinal outcome |
weights |
observation weights. Can be total counts if responses are proportion matrices. Default is 1 for each observation |
object |
Yields an object where the first column y is the ordinal outcome that has been dichotomously coded and the expanded covariate matrix for the K-1 conditionally independent likelihoods |
Kellie J. Archer
See Also as cr.forward
, glmnetcr
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.