View source: R/predict.stabit2.R
predict.stabit2 | R Documentation |
Calculate predicted values for matching models fitted with functions stabit
and stabit2
.
## S3 method for class 'stabit2'
predict(object, newdata = NULL, ...)
object |
a fitted object of class |
newdata |
optionally, a data frame in which to look for variables with which to predict. If omitted, the fitted linear predictors or the fitted response values are returned. |
... |
. |
predict.stabit2
returns a vector of predicted values for the latent outcome variable of an object of class stabit
.
Thilo Klein
Klein, T. (2015a). Does Anti-Diversification Pay? A One-Sided Matching Model of Microcredit. Cambridge Working Papers in Economics, #1521.
## load the results from Klein (2015) paper
data(klein15a)
## predict the latent outcome variable
predict(klein15a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.