predict.SemiParSampleSel: Prediction from fitted SemiParSampleSel model

Description Usage Arguments Author(s) See Also

View source: R/predict.SemiParSampleSel.r

Description

It takes a fitted SemiParSampleSel object produced by SemiParSampleSel() and 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 and are based on the posterior distribution of the model coefficients.

This function is a wrapper for predict.gam() in mgcv. Please see the documentation of mgcv for full details.

Usage

1
2
## S3 method for class 'SemiParSampleSel'
predict(object, eq, ...)

Arguments

object

A fitted SemiParSampleSel object as produced by SemiParSampleSel().

eq

The equation to be considered for prediction.

...

Other arguments as in predict.gam() in mgcv.

Author(s)

Maintainer: Giampiero Marra [email protected]

See Also

SemiParSampleSel, aver, plot.SemiParSampleSel, summary.SemiParSampleSel


SemiParSampleSel documentation built on May 29, 2017, 7:54 p.m.