All posts in category Statistics

Analyzing ERP Data with PCA-ANOVA in R

Running a PCA-ANOVA in R is fairly straightforward.  In this post we’ll focus on doing a temporal PCA on clusters of ERP channels.  First you will want to arrange the data in one file.  If you are coming from Net Station, you can export your ERP averaged files to text and then use MCAT to create […]

Basics of AFNI Group Analyses (Part 1)

I’ve been working on quite a few things recently, and will get back to regular posts soon.  In the meantime, here’s a brief introduction to Group Analysis tests in AFNI. I see the information related to Group Analyses falling into two categories: 1) Which program to run and when; 2) all the other stuff related […]

Installing the ERP PCA Toolkit

Today I’m raising awareness of a phenomenally helpful tool in ERP Research called the ERP PCA Toolkit.  In short, the PCA toolkit allows you perform temporal, spatial, and complex (e.g. temporo-spatial) analyses on ERP data.  Shown in the figure below is a quick temporal-spatial PCA on some ERP data for a go/no-go task.  The PCA […]

Quality Checking fMRI

You can never be too careful in terms of data quality.  AFNI offers a number of checks on the data via the automated @ss_review_basic and @ss_review_driver generated by  But occasionally you need more information!  And also if you’re comparing data across multiple scanners, it’s not a bad idea to have some of these numbers […]

Correlating Brain and Behavior in AFNI

If previous posts hadn’t given it away, AFNI is my tool of choice for processing neuroimaging data.  A lot of people get confused on the sheer number of options there are and that most things can be accomplished in a variety of ways.  Today I’m going to outline three ways of doing Correlations between fMRI […]