pval_F: P-value for ratio of standard deviations of 2 samples

Description Usage Arguments Value Examples

View source: R/pval_F.R

Description

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

Usage

1
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

1
2
3
4
5
s1 <- 3.1
n1 <- 15
s2 <- 0.8
n2 <- 12
pval_F(s1, n1, s2, n2)

maxgav13/GMisc documentation built on June 1, 2018, 11:08 a.m.