powered by
This procedure provides the adjusting p-values and adjusting CIs.
rh.sd.sidak(p,effect,effect.se,df,type,sig,side,digits)
the adjusted p value
the lower limit of adjusted confidence interval
the upper limit of adjusted confidence interval
the raw p values
the effect size from the multiple comparisons, e.g. the mean difference from t test or paried t test
the standard error of effect size from the multiple comparisons, e.g. the standard error of mean difference from t test or paried t test)
the degree of freedom of hypothesis test, e.g. n1+n2-2 for t test, n-1 for paried t test
the type of the effect size, default is "mean"
the significance level, default is 0.05
"one" or "two" sided hypothesis test
the number of decimal digits
rh.sd.bonferroni
p=c(0.217,0.00028,0,0.001,0.024,0.719,0.00033) effect=c(16,74,-85,-38,29,5,91) effect.se=c(12,16,14,9,12,16,20) df=16 rh.sd.sidak(p,effect,effect.se,df)
Run the code above in your browser using DataLab