fitted.mnprobit {switchSelection} | R Documentation |
Extract Model Fitted Values
Description
Extracts fitted values from 'mnprobit' object
Usage
## S3 method for class 'mnprobit'
fitted(object, ..., newdata = NULL)
Arguments
object |
object of class 'mnprobit'. |
... |
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). |
Value
Returns a data frame. Its first column provides an index of the most probable alternative. Columns which names coincide with the names of the continuous equation provide unconditional expectation of the dependent variable in available regimes.
[Package switchSelection version 1.1.2 Index]