MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Mohamed Ahkim
on 16 Sep 2013

Linear combinations of chi square variables have already been implemented in Matlab, so I thought it should be also the case for the independent ratio.

More precisely, I want to compute the quantiles of the ratio of $X$, which is a chi square variable with $r_1$ degrees of freedom and independent from $Y$, and $Y$, which is a linear combination of independent central chi square variables.

Kind regards, Mohamed

*No products are associated with this question.*

## 1 Comment

## Tom Lane (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/87317#comment_169575

When you write that linear combinations of chi-square variables are implemented, what do you have in mind?

The ratio of two independent chi-squares has an F distribution (or a multiple of one). I don't know the distribution if the denominator is a linear combination of chi-squares.