powered by
This is comparable to SAS PROC TTEST except using summarized input (sufficient statistics).
mtest(m1, s1, n1, m0, s0, n0, conf.level=0.95)
The output format is comparable to SAS PROC TTEST.
mean of the first (test, active, experimental) group
sample standard deviation of the first group
sample size of the first group
mean of the second (reference, control, placebo) group
sample standard deviation of the second group
sample size of the second group
confidence level
Kyun-Seop Bae k@acr.kr
This uses summarized input. This also produces confidence intervals of means and variances by group.
TTEST, tmtest, ztest
TTEST
tmtest
ztest
mtest(5.4, 10.5, 3529, 5.1, 8.9, 5190) # NEJM 388;15 p1386
Run the code above in your browser using DataLab