View source: R/generateMatchPairFull.R
gammaRangeSearchFull | R Documentation |
Find significant gamma range for full matching
gammaRangeSearchFull(out, dep, start = 1, threshold = 0.025)
out |
An object of class matchit |
dep |
Name of dependent variable |
start |
numeric start gamma value |
threshold |
numeric p value threshold |
library(MatchIt)
out=matchit(formula=treat~V1+V2+V3,data=simData,link="linear.logit",method="full")
tail(gammaRangeSearchFull(out,dep="y"))
## Not run:
out=matchit(formula=treat~V1+V2+V3,data=simData,link="linear.logit",estimand="ATC",method="full")
tail(gammaRangeSearchFull(out,dep="y"))
out=matchit(treat ~ age + educ + race + married+nodegree + re74 + re75, data =lalonde,
method="full")
tail(gammaRangeSearchFull(out,dep="re78"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.