Description Usage Arguments Value
This function returns the final estimate of the expected value the outcome at time t, under intervention (or no intervention) as specified by the user. In addition, it returns the variance of the estimate, confidence intervals, and p-value as dictated by specified alpha.
1 2 3 |
data |
data.frame object containg the time series with relevant time ordering. |
freqY |
A numeric specifying the Markov order for Y nodes. |
freqA |
A numeric specifying the Markov order for A nodes. |
freqW |
A numeric specifying the Markov order for W nodes. |
t |
Outcome time point of interest. It must be greater than the intervention node A. |
Anode |
Intervention node. |
intervention1 |
Specify g^*, of P(A|past). Right now supports only 1/0 type interventions. |
intervention2 |
Specify g^* to compate to. Right now supports only 1/0 type interventions. |
MC |
How many Monte Carlo samples should be generated. |
B |
How many samples to draw from P, as part of the h-density estimation. |
N |
How many sample to draw from P^*, as part of the h-density estimation. |
maxIter |
Maximum number of iterations. |
tol |
Lower bound for epsilon. |
alpha |
alpha |
param |
Return average treatment effect (ate) or risk ratio (rr). |
An object of class tstmle01
.
Estimate of the target parameter.
Variance, based on the influence function.
Confidence intervals.
IC |
Influence curve. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.