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