File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ test_sensitivity <- function(est_eff,
32
32
tails = 2 ,
33
33
index ,
34
34
nu = 0 , # null hypothesis
35
- suppression = 0 ,
35
+ signsuppression = 0 ,
36
+ # # signsuprresion means towards the other side of nu
36
37
# # by default is zero
37
38
# # alternative is one
38
39
eff_thr = NA , # another non-zero and arbitrary threshold in terms of beta
@@ -42,8 +43,8 @@ test_sensitivity <- function(est_eff,
42
43
43
44
# # warning messages for potential confusion
44
45
45
- if (suppression == 1 ) warning(" suppression is defined by a threshold of opposite sign of the estimated effect." )
46
-
46
+ if (signsuppression == 1 ) warning(" signsuppression is defined by a threshold of opposite sign of the estimated effect." )
47
+
47
48
if (nu != 0 ) warning(" You entered a non-zero null hypothesis about an effect.
48
49
ITCV is calculated assuming omitted variable is equally
49
50
correlated with predictor of interest and outcome.
You can’t perform that action at this time.
0 commit comments