Re: Finding the p-value using MatLab



On 8/22/2005 5:40 AM, Konrad Viltersten wrote:
I'm trying to use MatLab to compute p-values for
different sets of data that i "play" with. However,
i seem to have big time trouble finding the right
tools for that. Any suggestions?

I've asked on a MatLab-group before but there
were rather few replies (as in zero). I was hoping
somebody here had some hints.

Let's say i have the following:
val = cdf ('chi2', spot, 99)
which allows me to simply check what cdf we have
accumulated in the point of spot.

Now, i wish to go the other way around and given the value
of val, get the corresponding value of spot.

help stats

As we're at it - is there a nice way of obtaining the
confidence interval (provided the data above)?

Confidence interval for a chi-squared distribution? Depends on what test you are considering. You might have to compute it yourself...the formulas are not that difficult to program into MATLAB


--
Paige Miller
pmiller5@xxxxxxxxxxxxxxxx
http://paiges-page.net

It's nothing until I call it -- Bill Klem, NL Umpire
If you get the choice to sit it out or dance,
  I hope you dance -- Lee Ann Womack
.



Relevant Pages

  • Re: How to compute p-value
    ... Let's say i have the following: val = cdf ('chi2', spot, 99) which allows me to simply check what cdf we have accumulated in the point of spot. ... is a linear algebra function). ... Neither of these two things is a p-value, ...
    (comp.soft-sys.matlab)
  • Re: Fixing Hustle - The National Discussion
    ... created the dance for in 1980 and prior - which also where fast. ... I first saw Hustle danced by a gentleman in the R & B clubs around LA ... I eventually stopped going to the Hustle spot because, ... folks to majority young folks. ...
    (rec.arts.dance)
  • Re: How to compute p-value
    ... get the corresponding value of spot. ... > Presumably you have the Statistics Toolbox, since you're using CDF. ... > linear algebra function). ... > Neither of these two things is a p-value, ...
    (comp.soft-sys.matlab)
  • Re: Sorry
    ... Between saving the world and having a spot of tea said ... You can dance if you want to, and leave your friends behind... ...
    (rec.games.miniatures.warhammer)
  • How to compute p-value
    ... I'd like to compute the p-value for a certain distribution. ... which allows me to simply check what cdf we have ... get the corresponding value of spot. ...
    (comp.soft-sys.matlab)