replication crisis

Estimating power for structural equation models: Simulations in R

Computing a priori power analyses for simple statistical models can be done analytically (e.g., with G*Power or the pwr package in R). However, estimating the power for more complex models and in particular structural equation models (SEM) is not as straightforward and requires simulations. I recently came across the package paramtest (Hughes, 2017) which provides a great framework for conducting more complex power simulations. In what follows, I provide some examples of how to simulate… Read More »Estimating power for structural equation models: Simulations in R

How to do specification curve analyses in R: Introducing ‘specr’

In the last month, Michael Scharkow and I have worked on a new R-package called specr. The goal was to facilitate specification curve analyses (also called multiverse analyses). The idea behind a specification curve analysis stems from the observation that a researchers has many degrees of freedom when conducting a quantitative analysis of a data set. It starts with the question of how to operationalize the dependent and the independent variable, what model to estimate,… Read More »How to do specification curve analyses in R: Introducing ‘specr’