Description Usage Arguments Value
icedr
Estimates the parameter of interest (E[Y_d]) by using the sequential regression approach as presented by Bang and Robins (2005). This function only works in the setting where the outcome is binary or the outcome is continuous with a censoring intervention
1 2 3 |
data |
data frame following the time-ordering of the nodes. |
Ynodes |
column names or indicies in |
Anodes |
column names or indicies in |
Cnodes |
column names or indicies in |
abar |
binary vector (numAnodes x 1) of counterfactual treatment |
cum.g |
a matrix of the cumulative probabilities of treatment (and being uncensored) given the parents. |
Qform |
character vector of regression formulas for |
SL.library |
optional character vector of libraries to pass to SuperLearner. NULL indicates glm should be called instead of SuperLearner. |
family |
Currently allows |
g.weight |
if |
stratify |
if |
icedr
returns a list of items as an object of class icedr
, which include
The estimate of the parameter value under the intervention abar
A matrix of the condition expectation fit Qbar
under abar
for each time point.
The conditional expectation fits for Qbar
The call to the function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.