- experimental design
- data exploration
- statistical tests & assumptions
- analysis platforms
10 November 2015
apropos("^power") ## base-R functions
library("sos"); findFn("{power analysis}")
Greg Snow, R-help (May 2006)Using this analogy programs like SPSS are busses, easy to use for the standard things, but very frustrating if you want to do something that is not already preprogrammed.
R is a 4-wheel drive SUV (though environmentally friendly) with a bike on the back, a kayak on top, good walking and running shoes in the passenger seat, and mountain climbing and spelunking gear in the back. R can take you anywhere you want to go if you take time to learn how to use the equipment, but that is going to take longer than learning where the bus stops are in SPSS.
x1 = c(1.5,2.5,2.1) x2 = c(1.1,1.4,1.5) t.test(x1,x2)
## ## Welch Two Sample t-test ## ## data: x1 and x2 ## t = 2.226, df = 2.6648, p-value = 0.1236 ## alternative hypothesis: true difference in means is not equal to 0 ## 95 percent confidence interval: ## -0.3759079 1.7759079 ## sample estimates: ## mean of x mean of y ## 2.033333 1.333333
Davies, G. M., & Gray, A. (2015). Don’t let spurious accusations of pseudoreplication limit our ability to learn from natural experiments (and other messy kinds of ecological monitoring). Ecology and Evolution. http://doi.org/10.1002/ece3.1782
Gelman, A., & Carlin, J. (2014). Beyond power calculations: Assessing type S (sign) and type M (magnitude) errors. Perspectives on Psychological Science, 9(6), 641–651. http://doi.org/10.1177/1745691614551642
Gelman, A., & Stern, H. (2006). The difference between “significant” and “not significant” is not itself statistically significant. The American Statistician, 60(4), 328–331. http://doi.org/10.1198/000313006X152649
Hurlbert, S. H. (1984). Pseudoreplication and the design of ecological field experiments. Ecological Monographs, 54(2), 187–211. http://doi.org/10.2307/1942661
McCullough, B. D., & Heiser, D. A. (2008). On the accuracy of statistical procedures in Microsoft Excel 2007. Computational Statistics & Data Analysis, 52(10), 4570–4578. http://doi.org/10.1016/j.csda.2008.03.004
Simmons, J. P., Nelson, L. D., & Simonsohn, U. (2011). False-positive psychology: Undisclosed flexibility in data collection and analysis allows presenting anything as significant. Psychological Science, 22(11), 1359–1366. http://doi.org/10.1177/0956797611417632
Student. (1927). Errors of routine analysis. Biometrika, 19(1/2), 151–164. http://doi.org/10.2307/2332181