Quantcast
Channel: R-bloggers
Viewing all articles
Browse latest Browse all 12095

Power analysis for longitudinal multilevel models: powerlmm 0.3.0 is now out on CRAN

$
0
0

(This article was first published on R Psychologist - R, and kindly contributed to R-bloggers)

My R package powerlmm 0.3.0 is now out on CRAN. It can be installed from CRAN https://cran.r-project.org/package=powerlmm or GitHub https://github.com/rpsychologist/powerlmm.

New features

This version adds support for raw effect sizes, and new standardized effect sizes using the function cohend(...). Here’s an example that use the different types.

p <- study_parameters(n1 =11,
                      n2 =25,
                      icc_pre_subject =0.5,
                      var_ratio =0.03,
                      effect_size =c(10,# raw
                                     cohend(0.5, standardizer ="pretest_SD"),
                                     cohend(0.5, standardizer ="posttest_SD"),
                                     cohend(0.5, standardizer ="slope_SD")))

Other changes

  • Support for lmerTest 3.0.
var vglnk = { key: '949efb41171ac6ec1bf7f206d57e90b8' }; (function(d, t) { var s = d.createElement(t); s.type = 'text/javascript'; s.async = true; s.src = '//cdn.viglink.com/api/vglnk.js'; var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r); }(document, 'script'));

To leave a comment for the author, please follow the link and comment on their blog: R Psychologist - R.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...


Viewing all articles
Browse latest Browse all 12095

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>