imputeSS: Missing values' imputation

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/imputeSS.r

Description

imputeSS imputes missing values for a copulaSampleSel model object.

Usage

1
imputeSS(x, m)

Arguments

x

A fitted copulaSampleSel object as produced by the respective fitting function.

m

Number of imputed response vectors.

Details

This function generates m sets of imputed values for the outcome of interest under a fitted copulaSampleSel model. The algorithm draws parameters from the posterior distribution of copulaSampleSel which are then used to obtain simulated responses (from the posterior predictive distribution of the missing values) via a rejection algorithm. The bound for acceptance/rejection is obtained via a trust region optimisation.

The imputed values are used to create m complete imputed datasets and perform complete data analysis and inference about the parameters of interest using function gamlss() within this package.

This function is currently suitable for continuous responses only.

Value

It returns a list containing m imputed response vectors.

Author(s)

Authors: Jose Camarena, Giampiero Marra and Rosalba Radice

Maintainer: Giampiero Marra [email protected]

References

Robert C. and Casella G. (2004). Monte Carlo Statistical Methods. New York: Springer-Verlag.

Ripley B. D. (1987) Stochastic Simulation. New York: John Wiley & Sons, Inc.

See Also

copulaSampleSel

Examples

1
## see examples for copulaSampleSel

JRM documentation built on July 13, 2017, 5:03 p.m.