The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

rmsharp (7) [Avatar] Offline
#1
I am guessing that an R option was set to round the output of the pwr function on page 251.

I get the following using 12.13.1 on Mac OS 10.7.1

Note n is not rounded to the whole number 34.


> pwr.t.test(n = , d = 0.8, sig.level = 0.05, power = 0.9, alternative = "two.sided"smilie

Two-sample t test power calculation

n = 33.82554
d = 0.8
sig.level = 0.05
power = 0.9
alternative = two.sided

NOTE: n is number in *each* group

Message was edited by: Mark Sharp
rmsharp