Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: How to display p value of one-sided t test?
From
"David Radwin" <[email protected]>
To
<[email protected]>
Subject
st: RE: How to display p value of one-sided t test?
Date
Mon, 11 Mar 2013 12:43:35 -0700 (PDT)
. 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: [email protected] [mailto:owner-
> [email protected]] 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/