sample.data {ImputeRobust} | R Documentation |
Sample data set with a monotone missing pattern
Description
A simple data set with monotone missing pattern
Format
A data frame with 200 rows on the following 5 variables
- X.1
Numeric variable from a Normal distribution
- X.2
Count data from a Poisson distribution
- X.3
Numeric variable from a Normal distribution
- X.4
Binary variable from a Binomial distribution
- y
Response variable
Details
Sample data set with four predictors and a dependent variable. A missing monotone pattern was generated in three predictors to illustrate the gamlss imputation method.
For the data generation process a parameter beta equal to
c(1.3, .8, 1.5, 2.5)
and a predictor matrix X <-
cbind(X.1, X.2, X.3, X.4)
are defined. Then, the sample data set
is created with the model y ~ X.1 + X.2 + X.3 + X.4
.
Examples
head(sample.data)
[Package ImputeRobust version 1.3-1 Index]