Rcpp_bei-class: Class '"Rcpp_bei"'

Description Details Extends Fields Methods References Examples

Description

This class implements the MCMC sampler for a joint modeling approach to multiple edit-imputation for continuous data. It provides methods for updating and monitoring the sampler.

Details

Rcpp_bei objects should be created with createModel. Please see the example in the demo folder for more detailed explanation.

Extends

Class "C++Object", directly.

Fields

Methods

References

Hang J. Kim, Lawrence H. Cox, Alan F. Karr, Jerome P. Reiter and Quanli Wang (2015). "Simultaneous Edit-Imputation for Continuous Microdata", Journal of the American Statistical Association, DOI: 10.1080/01621459.2015.1040881.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(SimpleEx)

## read the data
data1 = readData(SimpleEx$D.obs, SimpleEx$Ratio.edit, NULL, 
  SimpleEx$Balance.edit)

## create and initialize the model
# model1 = createModel(data1, K=15)

### run 10 iterations
# model1$Run(10)
# EI_data1 = model1$Y.edited    # store the edit-imputed dataset

EditImputeCont documentation built on March 26, 2020, 7:15 p.m.