[rkward-devel] power analysis plugin

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Sat Oct 4 08:34:58 UTC 2014


Hi,

On Saturday 04 October 2014 00:40:44 meik michalke wrote:
> today i've started working on a plugin for power analysis/sample size
> calculation. most of what you can get from the pwr package is already
> implemented, open issues are handling of sample size estimation for designs
> with two samples, and maybe a nicer printout...
> 
> here's the generator script:
>  http://reaktanz.de/stuff/R/rkwarddev_power_plugin_script.R

looks really nice, already. Some first thoughts:

- Don't forget to require(pwr)
- I was rather confused by the distinction between "greater" and "less" 
alternatives for one-sided tests. This should not really make any difference, 
or should it? Then I tried, and didn't believe my eyes, until I figured out 
that for "less" you want to specify a _negative_ effect size (and in fact, you 
can't enter that in the GUI). I suggest, either going with "greater", only, or 
showing a warning, when the specified effect size contradicts the hypothesis.
- I wouldn't write the results to the workspace _by default_. I guess the more 
common case is that the printout is all you want.
- This is really something where a "generalized preview" (similar to the plot 
previews, but showing e.g. a piece of HTML printout) would be nice. But of 
course, we don't have that, yet...

Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20141004/5b7c85ae/attachment.sig>


More information about the Rkward-devel mailing list