View source: R/estimateEffectContinuous.R
zelig2est | R Documentation |
Estimate dose-response function
zelig2est(out, probs = 0.1 * (1:9), num = 10000)
out |
A object as a result of zelig() |
probs |
numeric vector of probabilities with values in [0,1] |
num |
an integer specifying the number of simulations to compute |
library(Zelig)
mydata=addIPW(treat~x1+x2,data=simData2)
out=zelig(y~treat+x1+x2,data=mydata,model="ls",weights="IPW",cite=FALSE)
zelig2est(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.