From: Bob Hanlon on
Use {5, 3} for the NumberForm rather than the {4, 3} shown


Bob Hanlon

---- Bob Hanlon <hanlonr(a)cox.net> wrote:

=============

Or use Quantile

prob = {0.95, 0.90, 0.80, 0.70, 0.50,
0.30, 0.20, 0.10, 0.05, 0.01, 0.001};

TableForm[
Table[
NumberForm[
Quantile[
ChiSquareDistribution[df],
1 - p],
{4, 3}],
{df, 10}, {p, prob}],
TableHeadings -> {Range[10], prob},
TableAlignments -> Right]


Bob Hanlon

---- Patrick Scheibe <pscheibe(a)trm.uni-leipzig.de> wrote:

=============
Hi,

what about

FindRoot[CDF[ChiSquareDistribution[8], x] - 0.95, {x, 1}]

?

Cheers
Patrick

On Sat, 2010-07-10 at 04:01 -0400, Steve wrote:
> Hi,
>
> Can someone show me how to get Mathematica to provide the areas to the
> right of a given critical value of the Chi Square distribution ?
>
> The table entries shown at http://www2.lv.psu.edu/jxm57/irp/chisquar.html
> are what I need to compute.
>
> For example, given 8 degrees of freedom and a probability value of
> 0.05 the result would be 15.51.
>
> And given 5 degrees of freedom with probability 0.1 the result is
> 9.24.
>
> How can I produce these results in Mathematica ?
>
> Thanks so much.
>