Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Chi Square Areas

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110902] Re: Chi Square Areas
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 11 Jul 2010 06:17:56 -0400 (EDT)

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 at 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.
> 



  • Prev by Date: Re: Simple Question
  • Next by Date: Re: deploying a package in human-unreadable form
  • Previous by thread: Re: Chi Square Areas
  • Next by thread: Re: Chi Square Areas