Bookmark and Share

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]

RE: st: RE: R: re. ttest


From   "PAPANIKOLAOU P." <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: R: re. ttest
Date   Tue, 26 Nov 2013 17:29:36 -0000

thanks Rich for your feedback. it is much appreciated. I also understand
that my comment about the non-rejection of the null hypothesis if
Pr((|T|>|t|)=0.94 at 10% critical level is CORRECT, is this right?  P

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Richard
Goldstein
Sent: 26 November 2013 17:25
To: [email protected]
Subject: Re: st: RE: R: re. ttest

Panos,

the p-value is calculated under the assumption that the null hypothesis
is true; given that, one never "accepts" the null hypothesis; you can
only either reject it or fail to reject it

Rich

On 11/26/13, 12:18 PM, PAPANIKOLAOU P. wrote:
> Thanks Nick. The reverse would mean that if Pr((|T|>|t|)=0.94 then 
> accept the null hypothesis for 0.10 critical level, is this right?
> Thanks again, Panos
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Nick Cox
> Sent: 26 November 2013 17:11
> To: [email protected]
> Subject: Re: st: RE: R: re. ttest
> 
> No; that implies rejection if you use 0.10 as a critical level.
> 
> Nick
> [email protected]
> 
> 
> On 26 November 2013 16:55, PAPANIKOLAOU P.
> 
>> Thanks very much, my good friend Carlo. So, when I get
> Pr((|T|>|t|)=0.06 this means that the null hypothesis would be 
> accepted at 0.10, is this right?
> 
> Carlo Lazzaro
> 
>> From search ttesti- you'll get:
>> ----------------------------------------------------------
>> Title
>>
>>     [R] ttest -- Mean-comparison tests
>>
>>
>> Syntax
>>
>>     One-sample mean-comparison test
>>
>>         ttest varname == # [if] [in] [, level(#)]
>> -------------------------------------------------------------
>>
>> Replace 99 (or what you prefer) between brackets:
>>
>> ttesti 12 367 32 330, level(99)
>> ttesti 12 367 32 330, level(95)
>>
>> and you get it.
>>
> 
> PAPANIKOLAOU P.
> 
>> I want to run the ttesti using directly the 95%CI, or 99%CI, i.e. I
> want to define this option.
>> What is the best and easiest way to do this, plse?
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index