Re: TDist Formula and Explanation
- From: "Kevin E. Thorpe" <kevin.thorpe@xxxxxxxxxxx>
- Date: 28 Mar 2007 10:59:17 -0700
On Mar 28, 12:17 pm, Jack Tomsky <jtom...@xxxxxxxxxxxxx> wrote:
On Mar 28, 11:22 am, Jack Tomsky
<jtom...@xxxxxxxxxxxxx> wrote:
usesI am trying to derive the formula that MS Excel
foras part of the
tdist function to come up with the p-value. Can
anyone help me create
this formula so that I can calculate the p-value
one sample of
data?
Excel's tdist is not the cdf of t, but rather oneminus the cdf of the absolute value of t. So if the
argument t is negative, you would get an error
message. If the argument is positive, you get the
right-hand tail.
Suippose t is negative and you want the probabilitythat T < t. This probability can be calculated by
tdist(-t,m,1).
I find this annoying and can't understand why theyhaven't fixed this flaw.
Jack
I've read that too, but I'm try to calculate the
value without using
any of Excel's blackbox formulas. Can anyone provide
me with some
guidance on that?
Abramowitz and Stegun has series expansions for the cdf of |t| on page 948. There's also an analytic result in terms of the incomplete beta function. If you don't have access to their book, I could reproduce their formulas.
Jack
Here is a URL to A&S.
http://www.math.sfu.ca/~cbm/aands/
.
- Follow-Ups:
- Re: TDist Formula and Explanation
- From: Jack Tomsky
- Re: TDist Formula and Explanation
- References:
- Re: TDist Formula and Explanation
- From: jasonhalpern
- Re: TDist Formula and Explanation
- From: Jack Tomsky
- Re: TDist Formula and Explanation
- Prev by Date: Re: TDist Formula and Explanation
- Next by Date: Re: Is this a Meta-Analysis?
- Previous by thread: Re: TDist Formula and Explanation
- Next by thread: Re: TDist Formula and Explanation
- Index(es):
Relevant Pages
|