fitted.msel | R Documentation |
Extracts fitted values from 'msel' object
## S3 method for class 'msel'
fitted(object, ..., newdata = NULL)
object |
object of class 'msel'. |
... |
further arguments (currently ignored). |
newdata |
an optional data frame in which to look for variables with which to predict. If omitted, the original data frame used. This data frame should contain values of dependent variables even if they are not actually needed for prediction (simply assign them with 0 values). |
Returns a numeric matrix. Its columns which names coincide with the names of the ordinal and multinomial equations provide the index of the most probable category for each observation. Columns which names coincide with the names of the continuous equations provide conditional expectations of the dependent variables in observable regimes for each observation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.