Comments for Cognitive | Data | Science
https://cognitivedatascientist.com
Fri, 21 Jul 2017 20:10:07 +0000
hourly
1 http://wordpress.com/
Comment on Power simulation in R: The repeated measures ANOVA by Power analysis and sample size calculation for Agriculture - biva
https://cognitivedatascientist.com/2015/12/14/power-simulation-in-r-the-repeated-measures-anova-5/comment-page-1/#comment-124
Fri, 21 Jul 2017 20:10:07 +0000http://cognitivedatascientist.com/?p=100#comment-124[…] Basically, if we assume a correlation equal to 0.5 between time samples (which is what the software G*Power does for repeated measures), we first need to create a symmetrical matrix in sigma. This will allow rmvnorm to produce values from distributions with standard deviation equal to 1 and 0.5 correlation.A more elegant approach is the one suggested by Ben Amsel on his blog: https://cognitivedatascientist.com/2015/12/14/power-simulation-in-r-the-repeated-measures-anova-5/ […]