predict.SemiParBIVProbit: Prediction from a fitted SemiParBIVProbit model
Description
It takes a fitted SemiParBIVProbit
object produced by SemiParBIVProbit()
and, for each equation, produces predictions
for a new set of values of the model covariates or the original values used for the model fit.
Standard errors of predictions can be produced. These are based on the posterior distribution of the model coefficients.
This function is based on predict.gam()
in mgcv
. Please see the documentation of predict.gam()
for full details.Usage
## S3 method for class 'SemiParBIVProbit':
predict(object, eq, ...)
Arguments
object
A fitted SemiParBIVProbit
object as produced by SemiParBIVProbit()
.
eq
The equation to be considered for prediction.
...
Other arguments as in predict.gam()
in mgcv
.
WARNING
This function is currently not suitable when plotting on the response scale if asymmetric links are employed.