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   Richard Goldstein <[email protected]>
To   [email protected]
Subject   Re: st: RE: R: re. ttest
Date   Tue, 26 Nov 2013 12:25:13 -0500

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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index