predict.stabit2: Predict method for fitted matching models

Description Usage Arguments Author(s) References Examples

View source: R/predict.stabit2.R

Description

Calculate predicted values for matching models fitted with functions stabit and stabit2.

Usage

1
2
## S3 method for class 'stabit2'
predict(object, newdata = NULL, ...)

Arguments

object

a fitted object of class stabit

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.

...

.

Author(s)

Thilo Klein

References

Klein, T. (2015a). Does Anti-Diversification Pay? A One-Sided Matching Model of Microcredit. Cambridge Working Papers in Economics, #1521.

Examples

1
2
3
4
5
## load the results from Klein (2015) paper
 data(klein15a)
 
## predict the latent outcome variable
 predict(klein15a)

matchingMarkets documentation built on May 2, 2019, 4:49 p.m.