var_test: Function of 'Variance Test' for single sample

Description Usage Arguments Value Examples

View source: R/function_var_test.R

Description

Function of 'Variance Test' for single sample

Usage

1
var_test(x, sigma2)

Arguments

x

Numeric vector

sigma2

Numeric value

Value

The output are variance,chisq2 value,df and P value

Examples

1
2
x <- rnorm(20, 500, 20)
var_test(x, 400)

zhaoxue-xmu/RDA documentation built on May 4, 2019, 10:17 p.m.