Description Usage Arguments Details See Also
Obtains marginal predictions/fitted measures for objects of class 'mvord'
.
1 2 |
object |
an object of class |
newdata |
(optional) data frame of new covariates and new responses. The names of the variables should correspond to the names of the variables used to fit the model. By default the data on which the model was estimated is considered. |
type |
types |
subjectID |
(optional) vector specifying for which subjectIDs the predictions |
newoffset |
(optional) list of length equal to the number of outcomes, each element containing a vector of offsets to be considered. |
... |
further arguments passed to or from other methods. |
The following types can be chosen in marginal_predict
:
type | description |
"prob" | (default) fitted marginal probabilities for the observed response categories. |
"class" | fitted marginal classes of the observed responses. |
"linpred" | linear predictor |
"cum.prob" | fitted marginal cumulative probabilities for the observed response categories. |
"all.prob" | fitted marginal probabilities for all ordered classes of each response. |
The current implementation supports only in-sample predictions. The row names of the output correspond to the subjectIDs.
predict.mvord
, joint_probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.