On 4/14/2008 6:35 AM, Chuck Cleland wrote:
> On 4/14/2008 6:21 AM, Louisa Hay wrote:
>>
>> Hi,
>> I am trying to create a power curve to show how the power of a t-test varies
>> depending on the mean. Any ideas how I should go about this?
>> Louisa
>
>Something like this maybe?
>
> mydiffs
On 4/14/2008 6:21 AM, Louisa Hay wrote:
>
> Hi,
> I am trying to create a power curve to show how the power of a t-test varies
> depending on the mean. Any ideas how I should go about this?
> Louisa
Something like this maybe?
mydiffs <- seq(.05,1,.05)
mypower <- vector("numeric", 20)
for(
Louisa Hay wrote:
>
> Hi,
> I am trying to create a power curve to show how the power of a t-test varies
> depending on the mean. Any ideas how I should go about this?
> Louisa
The pt() function supports a non-centrality parameter, so you can do
this calculation directly.
For other situations
Hi,
I am trying to create a power curve to show how the power of a t-test varies
depending on the mean. Any ideas how I should go about this?
Louisa
_
[[alternative HTML version deleted]]
4 matches
Mail list logo