pval_chisq: P-value for proposed standard deviation of a population

Description Usage Arguments Value Examples

View source: R/pval_chisq.R

Description

Calculates the p-value for a proposed standard deviation of a population (ChiSquare distribution).

Usage

1
pval_chisq(s, n, sigma, side = c("two", "one"))

Arguments

s

Sample standard deviation

n

Sample size

side

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

sig

Population standard deviation

Value

P-value

Examples

1
2
3
4
s <- 0.535
n <- 10
sig <- 1
pval_chisq(s, n, sigma)

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