Blog Archives

An adverse consequence of fitting "maximal" linear mixed models

August 23, 2014
By
An adverse consequence of fitting "maximal" linear mixed models

Distribution of intercept-slope correlation estimates with 37 subjects, 15 itemsDistribution of intercept-slope correlation estimates with 50 subjects, 30 itemsShould one always fit a full variance covariance matrix (a "maximal" model) when one analyze...

Read more »

lmer vs Stan for a somewhat involved dataset.

December 17, 2013
By

Here is a comparison of lmer vs Stan output on a mildly complicated dataset from a psychology expt. (Kliegl et al 2011). The data are here: https://www.dropbox.com/s/pwuz1g7rtwy17p1/KWDYZ_test.rda.The data and paper available from: http://openscience.u...

Read more »

The most common linear mixed models in psycholinguistics, using JAGS and Stan

December 16, 2013
By

As part of my course in bayesian data analysis, I have put up some common linear mixed models that we fit in psycholinguistics. These are written in JAGS and Stan. Comments and suggestions for improvement are most welcome.Code: http://www.ling.uni-pots...

Read more »

New course on bayesian data analysis for psycholinguistics

October 8, 2013
By

I decided to teach a basic course on bayesian data analysis with a focus on psycholinguistics. Here is the course website (below). How could this possibly be a bad idea!http://www.ling.uni-potsdam.de/~vasishth/advanceddataanalysis.html

Read more »

Linear models summary sheet

January 23, 2013
By

As part of my long slog towards statistical understanding, I started making notes on the very specific topic of linear models. The details are tricky and hard to keep in mind, and it is difficult to go back and forth between books and notes to try to r...

Read more »

Review of Distance Course: Graduate Certificate in Statistics offered at Sheffield [completed: 3 June 2012]

December 1, 2011
By

Recently, on Andrew Gelman's blog there was a discussion about how to get yourself a statistics education (presumably without going through the whole process of becoming a professional statistician). Here's the discussion on Gelman's blog, with lots of...

Read more »

Shravan Vasishth’s Slog (Statistics blog) 2010-10-15 06:47:00

October 15, 2010
By

I foolishly tried to convert a matrix M to a vector using vector:vector(M)But this is done column wise, so that adjacent row items end up non-adjacent.The right way to do this seems to be:library(data)unmatrix(M, byrow=TRUE)

Read more »

Shravan Vasishth’s Slog (Statistics blog) 2010-10-15 06:47:00

October 15, 2010
By

I foolishly tried to convert a matrix M to a vector using vector:vector(M)But this is done column wise, so that adjacent row items end up non-adjacent.The right way to do this seems to be:library(data)unmatrix(M, byrow=TRUE)

Read more »

Mike’s and my book is coming out

September 29, 2010
By
Mike’s and my book is coming out

Our book is finally coming out: You can buy it on Amazon.com, Amazon.de, or Springer.com.

Read more »

Mike’s and my book is coming out

September 29, 2010
By
Mike’s and my book is coming out

Our book is finally coming out: You can buy it on Amazon.com, Amazon.de, or Springer.com.

Read more »