fitted.mvoprobit {switchSelection}R Documentation

Extract Model Fitted Values

Description

Extracts fitted values from 'mvoprobit' object

Usage

## S3 method for class 'mvoprobit'
fitted(object, ..., newdata = NULL)

Arguments

object

object of class 'mvoprobit'.

...

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 columns which names coincide with the names of the ordered equations provide an index of the most probable category. Columns which names coincide with the names of the continuous equations provide uncinditional expectations of the dependent variables in available regimes.


[Package switchSelection version 1.1.2 Index]