Inherited methods
Method gen_data()
Sets up the data
Method get_tau()
Returns the experimental treatment effect, $1794
Method gen_x()
Sets up the covariate data
Method gen_y()
Sets up the outcome data
Method gen_z()
Sets up the treatment indicator
Method new()
Initializes the LaLonde object.
Usage
LaLonde$new(n = NULL, p = NULL, param = list(), design = "NSW", ...)
Arguments
n
Not used.
Maintained for symmetry with other
DataSim objects.
p
Not used.
Maintained for symmetry with other
DataSim objects.
param
Not used.
Maintained for symmetry with other
DataSim objects.
design
One of "NSW" or "Full".
"NSW" uses the original experimental data
from the job training program while option "Full"
uses the treated individuals from
LaLonde's study and compares them to
individuals from the
Current Population Survey as controls.
...
Not used.
Examples
nsw <- LaLonde$new(design = "NSW")
nsw$gen_data()
nsw$get_n()obs.study <- LaLonde$new(design = "Full")
obs.study$gen_data()
obs.study$get_n()
Method get_design()
Returns the chosen design parameters
Usage
LaLonde$get_design()
Method clone()
The objects of this class are cloneable with this method.
Usage
LaLonde$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.