Description Usage Arguments Details Value Author(s) References Examples
Generates a run of simulated observations of the form (W,G,A,Y,Y1,Y0) under the specified treatment mechanism.
1 2 3 |
n |
An |
tm |
A |
rule |
Either 'NULL' (default value) or a |
piV |
Marginal distribution of V. Defaults to |
family |
A |
Qbar |
A |
Vbar |
A |
what |
A |
slice.by |
An |
By default, implements the same simulation scheme as in Chambaz, van der Laan, Scand. J. Stat., 41(1):104–140 (2014).
If what
is 'NULL' then returns a data.frame
of observations
with columns Y1
and Y0
(counterfactual outcomes), Y
(actual outcome), A
(assigned treatment), G
(the conditional
probability that A=1 given W), the rest being interpreted as covariates.
Otherwise, returns the estimated true parameter value and standard
deviation of the efficient influence curve under the specified simulation
scheme and treatment mechanism, if 'what' equals "ATE", or the standard
deviationS of the efficient influence curve under the specified simulation
scheme and (i) treatment mechanism and (ii) either the treatment rule
given by argument rule
or the optimal treatment rule, if 'what'
equals "MOR".
Antoine Chambaz [aut, cre]
Chambaz, van der Laan, Scand. J. Stat., 41(1):104–140 (2014).
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.