Learn R Programming

ibdreg (version 0.2.2)

pchibar: cumulative probability of a chibar distribution

Description

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

Usage

pchibar(x, df, wt)

Arguments

x
quantile of chi-bar distribution
df
vector degrees of freedom
wt
vector of mixing proportions (weights)

Value

  • cumulative density of chi-bar distribution

See Also

pchisq

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