Description Usage Arguments Examples
Sensitivity Analysis with multiple controls
1 | multiControlSens(X, outcomeName, Gamma, GammaInc, n_contrl)
|
X |
A 'MatchIt' object |
outcomeName |
Name of the outcome. |
Gamma |
Upper bound of sensitivity parameter |
GammaInc |
Interval width of sequence between 1 and Gamma. |
n_contrl |
Number of control matched to each treated observation |
1 2 3 4 | data("lalonde",package ="designmatch")
covs0 <- subset(lalonde, select = -c(treat, re78, nodegree, married))
m.out <- matchit(f.build("treatment", covs0), data = lalonde, method = "nearest", replace = TRUE,ratio = 2)
multiControlSens(X =m.out,outcomeName = "re78",Gamma = 2,GammaInc = 0.1,n_contrl = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.