• Home
  • Blog Archives
  • R Resources
  • Contact

Recent Comments

  • Andrew Su on An R Script to Automatically download PubMed Citation Counts By Year of Publication
  • Andrew Su on An R Script to Automatically download PubMed Citation Counts By Year of Publication
  • Lancement de la revue “Statistique et société” | Polit’bistro : des politiques, du café on The Higgs boson: 5-sigma and the concept of p-values
  • Holmes on Are the Current Criteria for Empirically Supported Treatments Too Lenient?
  • Kristoffer Magnusson on Working with shapefiles, projections and world maps in ggplot

Blogroll

  • R-bloggers
  • Research Blogging

“It wouldn’t happen…there hasn’t been one publication by a monkey.”

- Karl Pilkington on the Infinite Monkey theorem
  • Menu
  • Sidebar

Posts in Category ‘Statistics’

d3-one-way-anova-feature

Visualizing a One-Way ANOVA using D3.js

A while ago I was playing around with the javascript package D3.js, and I began with this visualization—that I never really finished—of how a one-way ANOVA is calculated. I tried to make it look like a plot from ggplot2 except with interactive elements. Take a look at it after the jump Read more

  • May 31, 2013
  • Comments 0
  • Filed under: D3.js, Statistics

Share this:

  • Tweet
  • Pin It

Analytical and simulation-based power analyses for mixed-design ANOVAs

In this post I show some R-examples on how to perform power analyses for mixed-design ANOVAs. The first example is analytical—and adapted from formulas used in G*Power (Faul et al., 2007), and the second example is a Monte Carlo simulation. Read more

  • May 22, 2013
  • Comments 0
  • Filed under: R, Statistics

Share this:

  • Tweet
  • Pin It

How to tell when error bars correspond to a significant p-value

Can you tell when error bars based on 95 % CIs or standard errors correspond to a significant p-value? Don’t fret if you think it’s hard, a study from 2005 showed that researchers in psychogoly, behavior neuroscience and medicine had a hard time judging when error bars from two independent groups signified a significant difference. Read more

  • July 24, 2012
  • Comments 12
  • Filed under: R, Statistics

Share this:

  • Tweet
  • Pin It

The Higgs boson: 5-sigma and the concept of p-values

Why are physicists talking about 5-sigma, and what’s it got to do with statistics? In this short post I’ll explain what 5-sigma is and why it’s not a measure of how certain scientist are that they’ve found the Higgs boson Read more

  • July 4, 2012
  • Comments 6
  • Filed under: R, Statistics

Share this:

  • Tweet
  • Pin It

Effect of sample size on the accuracy of Cohen’s d estimates (95 % CI)

When talking about confidence intervals, Jacob Cohen famously said: “I suspect that the main reason they are not reported is that they are so embarrassingly large!” (Cohen, 1994). In this post I’ll take a look at the relationship between the 95 % CI for Cohen’s d and it’s corresponding sample size. Read more

  • June 27, 2012
  • Comments 2
  • Filed under: Psychology, R, Statistics

Share this:

  • Tweet
  • Pin It
PubMed publications output of world countries in 2011

PubMed publications in 2011 by 202 world countries: who’s the winner?

Which country had the most PubMed citations in 2011? To find out I used R statistical software to analyze the affiliation of 986 427 articles. Read more

  • May 7, 2012
  • Comments 14
  • Filed under: R, Statistics

Share this:

  • Tweet
  • Pin It

More PubMed data mining: looking at top 20 CBT journals

In this short article I present some data of the top 20 Cognitive Behavior Therapy (CBT) journals with the most PubMed publications, and compare that to data from 2010 and 2011. Read more

  • April 26, 2012
  • Comments 0
  • Filed under: Psychology, R, Statistics

Share this:

  • Tweet
  • Pin It

Short R script to plot effect sizes (Cohen’s d) and shade overlapping area

In this short post I take a look at how to use R and ggplot2 to visualize effect sizes (Cohen’s d) and how to shade the overlapping area of two distributions. Read more

  • April 23, 2012
  • Comments 3
  • Filed under: Psychology, R, Statistics

Share this:

  • Tweet
  • Pin It
PubMed_trend_feature

An R Script to Automatically download PubMed Citation Counts By Year of Publication

Ever wanted to look at PubMed trends and make elegant graphs of them? Here’s an R script that will do it automatically for you. Read more

  • April 19, 2012
  • Comments 21
  • Filed under: R, Statistics

Share this:

  • Tweet
  • Pin It

Using Ggplot2 to plot last.fm top 100 albums

I found out that last.fm had made data files available for their Best of 2011 artist list, and I thought it’d be a great opportunity to learn some more about data management in R and Ggplot2. Read more

  • March 22, 2012
  • Comments 0
  • Filed under: R, Statistics

Share this:

  • Tweet
  • Pin It
← Older entries

Copyright information

Creative Commons
All work on this website is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Follow me

  • Twitter
  • RSS Feed

Tags

Big Data Cognitive Behavior Therapy cohen's d effect sizes Evidence Based Treatments Featured Ggplot2 Journal Maps Meditation Mindfulness normal distribution Power analysis Psychology PubMed R Research Simulation statistics Tutorial

Top Posts & Pages

  • Simple data mining and plotting data on a map with ggplot2
  • Working with shapefiles, projections and world maps in ggplot
  • How to tell when error bars correspond to a significant p-value
  • Blog Archives
  • Ggplot2, PubMed citation frequency and DSM-IV Axis I disorders by year
  • An R Script to Automatically download PubMed Citation Counts By Year of Publication
  • How to work with Google n-gram data sets in R using MySQL
  • Short R script to plot effect sizes (Cohen's d) and shade overlapping area
  • Creating a typical textbook illustration of statistical power using either ggplot or base graphics
Top

About me

Hello, I am a psychologist from Sweden with a passion for research and statistics. I hold a Master of Science degree in psychology from Umeå University. This is my personal blog about psychological research and statistical programming with R.

  • Twitter
  • RSS Feed

Tags

Big Data Cognitive Behavior Therapy cohen's d effect sizes Evidence Based Treatments Featured Ggplot2 Journal Maps Meditation Mindfulness normal distribution Power analysis Psychology PubMed R Research Simulation statistics Tutorial

Categories

  • D3.js (1)
  • Psychology (11)
  • R (17)
  • Research (7)
  • Statistics (11)

Archives

  • May 2013 (5)
  • July 2012 (3)
  • June 2012 (1)
  • May 2012 (1)
  • April 2012 (11)
  • March 2012 (3)

Recent Posts

  • Visualizing a One-Way ANOVA using D3.js

    May 31, 2013
  • Are the Current Criteria for Empirically Supported Treatments Too Lenient?

    May 30, 2013
  • Creating a typical textbook illustration of statistical power using either ggplot or base graphics

    May 26, 2013
  • Working with shapefiles, projections and world maps in ggplot

    May 23, 2013
  • Analytical and simulation-based power analyses for mixed-design ANOVAs

    May 22, 2013

Follow me on Twitter

My Tweets