In the linked JupyterNotebook .html file (see image below for a preview), I provide Python code that does almost everything that my previous post’s R code does. The linked .html file is based on converting raw data into analyses and visualizations presented in “Experiment 1” of the following publication: https://moralitylab.bc.edu/wp-content/uploads/2022/01/mcmanus2021final.pdf. For brevity, I chose toContinue reading “Converting R code to Python code”
Category Archives: Uncategorized
RNotebook Deliverable Example
In the linked RNotebook .html file (see image below for a preview), I provide code to transform raw data into publication- or deliverable-ready data visualizations and statistics. The linked .html file is based on converting raw data into analyses and visualizations presented in “Experiment 1” of the following publication: https://moralitylab.bc.edu/wp-content/uploads/2022/01/mcmanus2021final.pdf. In order to see theContinue reading “RNotebook Deliverable Example”
(The Importance of) Understanding Statistical Power
Part 1 The first question you might ask yourself is “What is statistical power?” I promise, it’s not as scary of a concept as it may sound! Statistical power is defined as the probability of rejecting the null hypothesis under the assumption that a *specific true effect* exists in the population. For example, consider theContinue reading “(The Importance of) Understanding Statistical Power”
Blog Intro
Hi everyone. I’m Ryan (McManus)! This fall, I started my third year as a graduate student in Boston College’s PhD program in Psychology and Neuroscience. At BC, I’m a trainee in the Morality Lab, where we study moral psychology using a wide range of techniques (e.g., online/in-person surveys, behavioral experiments, economic games, fMRI, and transcranialContinue reading “Blog Intro”