var2.test | R Documentation |
Hypothesis Test on Two Independent Normal Population Variances
var2.test(s1, s2, n1, n2, alp = 0.05, side = "two", dig = 4)
s1 |
Sample standard deviation of population1 |
s2 |
Sample standard deviation of population2 |
n1 |
Sample size of population1 |
n2 |
Sample size of population2 |
alp |
Level of significance, Default: 0.05 |
side |
Type of the alternative hypothesis, Default: 'two' |
dig |
Number of digits below the decimal point, Default: 4 |
Test Statistic (F0) and the p-value (pv)
var2.test(s1=3.5, s2=5.8, n1=25, n2=34) x = rnorm(20, 199, 4) y = rnorm(25, 200, 2) var2.test(sd(x), sd(y), length(x), length(y), side="up")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.