Re: [R] weighted sum of independent chi square random variables

2017-02-20 Thread Bert Gunter
The quantile function is just the inverse of the distribution function, so if you have the latter you can always get the former, e.g by simple interpolation using approx(). Assuming you can't find it already written for you of course. Bert On Feb 20, 2017 7:15 AM, "li li" wrote: > Hi all, >

[R] weighted sum of independent chi square random variables

2017-02-20 Thread li li
Hi all, Is there a function in R that can calculate the quantiles or percentiles for the weighted sum of independent chi square random variables. I found a few functions for calculating probability distribution function for such random variables (e.g. pchisqsum..), but can not find any function