Re: How to integrate a function from -inf to a ?



In article <ef0f36f.1@xxxxxxxxxxxxxxxx>, Integral <integral@xxxxxxx>
wrote:

> Thanks,but I need to implement the CDF of Student's t-distribution
> and I don't have the statistics toolbox.

Why does nobody ever take advice? (Just bitching.)

I just looked in Abramowitz and Stegun, it shows the
relationship between the Student's T distribution and
the incomplete beta function. 26.7.1 in my (old) copy
of A&S. Since matlab supplies the incomplete beta
function as betainc, this should be all you need.

John

--
The best material model of a cat is another, or
preferably the same, cat.
A. Rosenblueth, Philosophy of Science, 1945
.



Relevant Pages

  • Re: TDist Formula and Explanation
    ... and bolts of the formula to come up with a valid ... to use the incomplete beta function to calculate the ... BTW, I had a problem downloading A&S online, but I still have the hard copy. ...
    (sci.stat.math)
  • Re: TDist Formula and Explanation
    ... and bolts of the formula to come up with a valid ... to use the incomplete beta function to calculate the ... BTW, I had a problem downloading A&S online, but I still have the hard copy. ...
    (sci.stat.math)
  • Re: TDist Formula and Explanation
    ... and bolts of the formula to come up with a valid ... to use the incomplete beta function to calculate the ... Re the OP's question about how to compute the p-value in Excel: ...
    (sci.stat.math)