Learn R Programming

ISCAM (version 1.0.0)

iscamchisqprob: Chi-Square Probability

Description

chisqrprob returns the upper tail probability for the given chi-square statistic and degrees of freedom.

Usage

iscamchisqprob(xval, df, verbose = TRUE)

Value

The upper tail probability for the chi-square distribution, and a plot of the chi-square distribution with the statistic and more extreme shaded.

Arguments

xval

the value of the chi-square statistic.

df

the degrees of freedom.

verbose

Logical, defaults to TRUE. Set to FALSE to suppress messages

Examples

Run this code
iscamchisqprob(5, 3)

Run the code above in your browser using DataLab