Learn R Programming

ibdreg (version 0.3.8)

pchibar: cumulative probability of a chibar distribution

Description

cumulative probability of a chi-bar distribution (mixed chi-square)

Usage

pchibar(x, df, wt)

Value

cumulative density of chi-bar distribution

Arguments

x

quantile of chi-bar distribution

df

vector degrees of freedom

wt

vector of mixing proportions (weights)

See Also

Examples

Run this code
pch = pchibar(3, df=c(0,1), wt=c(.5,.5))
1-pch  # compare to 1-pchisq(3,1)

Run the code above in your browser using DataLab