Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: How to display p value of one-sided t test?


From   Xixi Lin <winnielxx@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: How to display p value of one-sided t test?
Date   Mon, 11 Mar 2013 15:54:47 -0400

Thanks a lot.

On Mon, Mar 11, 2013 at 3:43 PM, David Radwin <dradwin@mprinc.com> wrote:
> . quietly ttest X1=X2
> . display r(p_u)
>
> David
> --
> David Radwin
> Senior Research Associate
> MPR Associates, Inc.
> 2150 Shattuck Ave., Suite 800
> Berkeley, CA 94704
> Phone: 510-849-4942
> Fax: 510-849-0794
>
> www.mprinc.com
>
>
>> -----Original Message-----
>> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
>> statalist@hsphsun2.harvard.edu] On Behalf Of Xixi Lin
>> Sent: Monday, March 11, 2013 12:21 PM
>> To: statalist
>> Subject: st: How to display p value of one-sided t test?
>>
>> Hi,
>>
>> I know it seems to be a very simple question, but I really want to
>> know how to display the p value of one-sided t test.
>>
>> After running ttest X1=X2, it gives p values for T<t, |T|>|t|, and
>> T>t, how can I display p value for T>t only? Thanks for the help.
>>
>> Best,
>> Xixi Lin
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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