Monthly Archives: July 2018

The Open Science Framework, Part 1: pre-registering a study protocol

Pre-registration of study protocols increases research transparency by providing a time-stamped record of experimental or analysis decisions before studies are conducted. Protocol pre-registration is now mandatory or strongly encouraged for clinical trials, and is increasingly encouraged for basic science and pre-clinical research (e.g. see the Transparency and Openness Promotion Guidelines). The Open Science Framework (OSF) is an open source software

Read more

Simple linear regression in R

In statistics, we often want to fit a statistical model to be able to make broader generalizations. An important type of statistical model is linear regression, where we predict the linear relationship between an outcome variable and a predictor variable. In this post we will learn how to perform a simple linear regression in R. See our previous post for

Read more

What is an exact test? An example using Fisher’s Exact test

Suppose you conduct a study to compare an outcome between healthy people and people with stroke, but you want to check whether the proportion of men and women in each group are similar. The Fisher’s Exact test is often used to test differences in proportions between groups, similar to a Chi-Square test. But what is an exact test? This helpful

Read more