View source: R/estimateEffectContinuous.R
| estimateEffectContinuous | R Documentation | 
estimate effect based on IPW(inverse probability weight)
estimateEffectContinuous(
  data,
  dep,
  xvars = NULL,
  treatvar = NULL,
  seed = 1234,
  probs = 0.1 * (1:9),
  num = 10000,
  weights = NULL
)
| data | A data.frame as a result of addIPW() | 
| dep | Name of dependent variable | 
| xvars | Names of covariates | 
| treatvar | Name of treatment var | 
| seed | A single integer | 
| probs | numeric vector of probabilities with values in [0,1]. | 
| num | an integer specifying the number of simulations to compute | 
| weights | Name of weight variable | 
mydata=addIPW(treat~x1+x2,data=simData2)
estimateEffectContinuous(mydata,dep="y",weights="IPW")
## Not run: 
estimateEffectContinuous(mydata,dep="y")
data(lalonde,package="MatchIt")
mydata1=addIPW(age~educ+race+married, data=lalonde)
estimateEffectContinuous(mydata1,dep="re78",weights="IPW")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.