Causion is a free web app for building causal diagrams (DAGs) and then watching them behave—by simulating data and switching from observation to intervention with do(). Try it now: https://causion.pedermisager.org/ (it runs in your browser)
In this post, we will use a practical example to explore the power of statistical control, explaining why adjusting for the right variables clarifies relationships and why adjusting for the wrong ones can introduce new, serious biases.
In this blog post, I will briefly explain why experimental designs are considered so valuable by scientists and why we often insist that randomized experiments are necessary for answering causal questions. I will use a practical example to illustrate this point. If you’re new to the concept of causal inference, it may be helpful to read my earlier blog posts on correlation vs. causation and…
In this blog post I will describe eight basic rules that govern the relationship between causal mechanisms in the real world and associations/correlations we can observe in data. To make each rule as easy as possible to understand, I will describe each rule both in words and in causal graph and logic terms, and I will offer some very simple simulation R code for each rule to demonstrate how it…
In this blog post I propose a four one-sided test of significance (FOST) that can be used to test whether an effect is smaller than OR larger than OR equivalent to the smallest effect size of interest. I lay out the general setup and interpretation of FOST, and ask readers to help me evaluate its validity.
In this blog post I will explain why it makes sense to think about causal explanations when we see correlation, why correlation does not always imply causation, and which alternative causal models to consider when you are trying to figure out why two variables in your data are correlated. The blog post is intended as a non-technical introduction. I use only words and pictures to explain all…
So far, we’ve been leveraging GitHub Pages for publishing. This works great, but for blogdown we’ll start using Netlify. Let’s start RIGHT NOW with a site we’ve already built and published. Pre-requisites Pick either your postcards site, or your distill site from day 01. Refresh your memory- which repository was it again?
Pre-requisites First, make sure you have the latest version of the postcards package installed from CRAN: install.packages('postcards') Restart your R session. If you use RStudio, use the menu item Session > Restart R or the associated keyboard shortcut: Ctrl + Shift + F10 (Windows and Linux) or Command + Shift + F10 (Mac OS). packageVersion('postcards') [1] ‘0.2.0’ Create GitHub repo Online.…
Pre-requisites First, make sure you have the latest version of the distill package installed from CRAN: install.packages("distill") Restart your R session. If you use RStudio, use the menu item Session > Restart R or the associated keyboard shortcut: Ctrl + Shift + F10 (Windows and Linux) or Command + Shift + F10 (Mac OS). <!-- --> packageVersion("distill") [1] ‘1.2’ Create GitHub repo Online.…
Hi, I'm the here-bot cat! Use me to find your way in your website. Here I am: content/collection/day02/03-blogdown/index.md To remove me, delete this line inside that file: {{< here >}} My content section is: collection My layout is: single-series part 2! does this work? now for some very cool things more get ready!
Profile https://docs.github.com/en/github/setting-up-and-managing-your-github-profile/personalizing-your-profile Pin projects to profile https://docs.github.com/en/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile Profile README This is new! Let’s do it: https://docs.github.com/en/github/setting-up-and-managing-your-github-profile/managing-your-profile-readme
Welcome to the Introducing Yourself Online workshop! We look forward to meeting you. Before attending the workshop, please complete the following prework. Set up RStudio Cloud Sign up for a free RStudio Cloud account at https://rstudio.cloud/ before the workshop. I recommend logging in with an existing Google or GitHub account, if you have one (rather than creating a new account with another…
Pre-requisites First, make sure you have the latest version of the blogdown package installed from CRAN: install.packages('blogdoown') Restart your R session. If you use RStudio, use the menu item Session > Restart R or the associated keyboard shortcut: Ctrl + Shift + F10 (Windows and Linux) or Command + Shift + F10 (Mac OS). packageVersion('blogdown') [1] ‘1.0’ Create GitHub repo Online. Clone…
Given that most research is original and we have limited resources available for replication, we need guidelines for study selection in replication research. But what makes a study worth replicating? In our unconference session at SIPS this year, we had the pleasure of discussing this problem with fifty-some enthusiastic scholars. Here is a quick summary of what they taught us. First off, we went…
(written in collaboration with Nicholas A. Coles) The Psychological Science Accelerator (PSA) is a global network of psychological laboratories that organizes large-scale empirical research projects. The organization aims “to accelerate the accumulation of reliable and generalizable evidence in psychological science” (Moshontz et al. 2018). To succeed in this mission, the PSA has created several…
Tachyons is a design system that allows you to design gorgeous interfaces in the browser with little effort. Because Speed Building this static site generator theme was the first time I used an Atomic (or Functional) CSS system like Tachyons. It’s a design system that provides very small (which means fast) CSS modules that you can use in your HTML. So, rather than writing every line of CSS,…
“Grid is the very first CSS module created specifically to solve the layout problems we’ve all been hacking our way around for as long as we’ve been making websites.” — Chris House, A Complete Guide to CSS Grid Layout 1 Since I began building websites in Y2K, I’ve lost count how many times the phrase “…there’s got to be a better way to do this” has passed…
Formspree makes it easy to receive submissions from HTML forms on your static website. Functional Form This theme has a form-to-email feature built in, thanks to the simple Formspree integration. All you need to activate the form is a valid recipient email address saved in the front matter of the form (/content/forms/contact.md). Of course, the example shown below (your@email.here) must not be…
** Contact page don’t contain a body, just the front matter above. See form.html in the layouts folder. Formspree requires a (free) account and new form to be set up. The link is made on the final published url in the field: Restrict to Domain. It is possible to register up to 2 emails free and you can select which one you want the forms to go to within Formspree in the Settings tab.
Font Sizes A A A A A A A A 6rem (96px) 5rem (80px) 3rem (48px) 2.25rem (36px) 1.5rem (24px) 1.25rem (20px) 1rem (16px) .875rem (14px) Type Samples Head­line Sub­head­line Level 1 Heading One page to rule them all...well, not really. This page displays sample typography and page elements to illustrate their style. Things like headings and paragraphs showing the beautiful type scale,…
The Open Science movement is here to stay. However, incorporating open practices like data sharing into your work flow can seem like a challenging task. If you have never made data available online before, the process can feel a bit daunting. Where should I put the data? What should I put up? What do I need to consider before I do it? In this post I will take you through a practical example of how…
Sometimes, the costs of doing good science outgrow the resources available to the individual scientist. Large scale collaboration projects are quickly becoming our best tool for dealing with this problem in psychology.
Thank you to all the folks who have contributed both technical and creative skills to this project: Desirée De Leon 🦒 (designed 5 of the custom color themes, made illustrations for the workshop, and provided general aesthetic feedback along the way) Garrick Aden-Buie 🧙♀️ (debugged headroom.js and lent his panelset.js code to the theme) Allison Horst 🐕 (awesome illustrations of campfires,…