powered by
cumulative probability of a chi-bar distribution (mixed chi-square)
pchibar(x, df, wt)
cumulative density of chi-bar distribution
quantile of chi-bar distribution
vector degrees of freedom
vector of mixing proportions (weights)
pchisq
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