Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: p-values


From   Antoine Terracol <Antoine.Terracol@univ-paris1.fr>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: p-values
Date   Fri, 30 Sep 2005 15:20:43 +0200

le 30/09/2005 15:09, R.E. De Hoyos a ecrit :
How can I get the p-value of a particular t-value?

For example, from the regression results I know that a t statistic equal to 2.58 implies a p-value of 0.01. What I want to know is the p-values for different values of t.

Thanks,

Rafa

-display 2*ttail(k,abs(tvalue))-, where k is the degrees of freedom of the student distribution, gives the corresponding p-value



. di 2*ttail(1000,2.58)
.01002173


Best,
Antoine

--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index