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.