vtest | R Documentation |
F-test for the ratio of two groups' variances. This is similar to var.test except using the summarized input.
vtest(v1, n1, v0, n0, ratio=1, conf.level=0.95)
v1 |
sample variance of the first (test, active, experimental) group |
n1 |
sample size of the first group |
v0 |
sample variance of the second (reference, control, placebo) group |
n0 |
sample size of the second group |
ratio |
value for the ratio of variances under null hypothesis |
conf.level |
confidence level |
For the confidence interval of one group, use UNIV function.
The output format is very similar to var.test.
Kyun-Seop Bae k@acr.kr
vtest(10.5^2, 5190, 8.9^2, 3529) # NEJM 388;15 p1386
vtest(2.3^2, 13, 1.5^2, 11, conf.level=0.9) # Red book p240
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.