Calculates the p-value for the ratio of the standard deviation of 2 samples (F distribution).

pval_F(s1, n1, s2, n2, side = c("two", "one"))

Arguments

s1

Sample's 1 standard deviation

n1

Sample size of sample 1

s2

Sample's 2 standard deviation

n2

Sample size of sample 2

side

To either get a two-tail or one-tail p-value (Default is "two")

Value

P-value

Examples

s1 <- 3.1 n1 <- 15 s2 <- 0.8 n2 <- 12 pval_F(s1, n1, s2, n2)
#> [1] 6.92e-05