SimulatedAttrition: Data with simulated attrition on unobservables.

Description Usage Format

Description

A dataset containing simulated data for computation with attritR.

Usage

1

Format

A data frame with 1000 rows and 4 variables:

Y

Response variable generated from the equation Y = 1*Treatment + 1*Covariate + 0.25*Treatment*Covariate + U; where U is an unobserved error term. Missingness in Y is generated by the equation R = -1*Treatment + 1*Covariate + 1*Instrument + V; where V is an unobserved error term that is correlated with U. Specifically, U and V are drawn randomly from a multivariate standard normal distribution with a covariance of 0.8.

D

Treatment assignment drawn randomly from a binomial distribution with equal probability.

X

Covariate generated from random draws on a uniform distribution from -1 to 1.

Z

Instrument generated from random draws on a uniform distribution from -1 to 2.

...


RydenButler/attritR documentation built on Aug. 25, 2020, 3:57 p.m.