[R] Sample size using residual standard deviation

peter dalgaard pdalgd at gmail.com
Wed Apr 12 19:35:55 CEST 2017


Or power.t.test()

-pd

> On 12 Apr 2017, at 18:44 , Bert Gunter <bgunter.4567 at gmail.com> wrote:
> 
> Search "sample size power" on rseek.org. Many useful hits, including
> "samplesize" package.
> 
> -- Bert
> 
> 
> Bert Gunter
> 
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
> 
> 
> On Wed, Apr 12, 2017 at 9:32 AM, David Winsemius <dwinsemius at comcast.net> wrote:
>> 
>>> On Apr 12, 2017, at 3:20 AM, Jomy Jose <infojomy at gmail.com> wrote:
>>> 
>>> In R how to calculate sample size,where power,residual standard deviation
>>> and treatment difference is given.?
>> 
>> Use the non-central t-distribution. The help page has further advice:
>> 
>> ?pt
>> 
>> 
>>> 
>>>      [[alternative HTML version deleted]]
>> 
>> Please read the Posting Guide before any further replies.
>> ______________________________________________
>>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>> 
>> \/\/\/\/\/\/\/\/\/\/\/
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> ^^^^^^^^^^^^^^^^^^^^^^
>>> and provide commented, minimal, self-contained, reproducible code.
>> 
>> David Winsemius
>> Alameda, CA, USA
>> 
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list