chi.probability: Calculation the Chi Squared probability.

Description Usage Arguments Value Author(s) Examples

Description

chi.probability computes the probability that the Chi of a given degree of freedom is greater than a specified value x. If x is a vector, the function will return a vector of probabilities of the components of x.

Usage

1
chi.probability(x, df = 5, n = 1000)

Arguments

x

specifies the value that should be evaluated in the Chi Square distribution.

df

specifies degrees of freedom in the Chi Square distribution.

n

specifies number of random numbers for evaluating the distribution.

Value

returns the probability that the Chi is greater than x (area under the distribution which is greater than x).

Author(s)

Nguyen Khanh Le Ho & Emil H. Andersen
Department of Mathematics and Computer Science (IMADA)
University of Southern Denmark, Denmark
emila14@student.sdu.dk
ngho14@student.sdu.dk

Examples

1
chi.probability(x= 5, df = 5, n = 1000)

Chaiji/LemilExamST522 documentation built on May 6, 2019, 9:55 a.m.