Re: P-value in Excel




Stephen J. Herschkorn wrote:

(snip)

tdist(x,d,2) gives the two-tailed area under the t density with d
degrees of freedom; the regions go from -infty to -x and from x to
infty. x must be nonnegative. Is this what you did not understand,
or do you not understand the statistics that tells us why we need this?

For this to be the correct p value, you must be running a test whose
test statistic has t distribution, and you must need a two-tailed test.

By the way, Microsoft designed the Excel functions for the t
distribution rather poorly. For the other distributions, the DIST and
INV functions (e.g., NORMSDIST and NORMSINV, CHIDIST and CHIINV, and
FDIST and FINV) are inverses of one another and refer to one-tailed
regions (i.e., the cumulative distribution function or its complement).
TDIST and TINV are different. TINV takes only two arguments (abscissa
and degrees of freedom) and always gives the *two-tailed* value. TDIST
takes a third argument which indicates whether you want a want a one-
or two-tailed value.



Yep, this is the answer that I was initially asking for. Thank you. All
input was much appreciated. Learnt a few things about Excel here!

.



Relevant Pages

  • Re: [opensuse] Linus loves GPL v2 ---- and is not on a crusade
    ... might consider that the difference (freedom) is still worth fighting "for". ... Open source doesn't just mean access to the source code. ... The license shall not restrict any party from selling or giving away the ... software as a component of an aggregate software distribution containing ...
    (SuSE)
  • Re: Why is Fedora not a Free GNU/Linux distributions?
    ... Freedom 0 is the freedom to run the program, ... Access to the source code is a precondition for this. ... The license shall not restrict any party from selling or giving away the ... software as a component of an aggregate software distribution containing ...
    (Fedora)
  • Re: Civility towards others on this site
    ... the only thing preventing distribution of postings would be ... We all have the freedom of limited speech, ... 'radio station' meets our personal sense of civility. ... through large group practices of measurable coherence ...
    (comp.sys.hp48)
  • =?ISO-8859-1?Q?Re:_Welch_formula_doesn=B4t_converge?=
    ... difference of means for equal variance normal ... follows exactly a T Student Distribution ... PRINT " WELCH FORMULA: degrees of freedom ... Jack - Ocultar texto citado - ...
    (sci.stat.math)
  • Re: t-distribution puzzle in Excel
    ... your function is a LOT faster than Excel's tinv! ... maybe the distribution of the sample kurtosis ... terribly huge too (I only know the theoretical variance of the sample ... kurtosis for normal, not t distribution).. ...
    (microsoft.public.excel.misc)