Blog Archives

Multisite, multivariate genetic analysis: simulation and analysis

December 13, 2012
By
Multisite, multivariate genetic analysis: simulation and analysis

The email wasn’t a challenge but a simple question: Is it possible to run a multivariate analysis in multiple sites? I was going to answer yes, of course, and leave it there but it would be a cruel, non-satisfying answer. … Continue reading →

Read more »

More sense of random effects

November 17, 2012
By
More sense of random effects

I can’t exactly remember how I arrived to Making sense of random effects, a good post in the Distributed Ecology blog (go over there and read it). Incidentally, my working theory is that I follow Scott Chamberlain (@recology_), who follows … Continue reading →

Read more »

Overlay of design matrices in genetic analysis

October 12, 2012
By
Overlay of design matrices in genetic analysis

I’ve ignored my quantitative geneticist side of things for a while (at least in this blog) so this time I’ll cover some code I was exchanging with a couple of colleagues who work for other organizations. It is common to … Continue reading →

Read more »

Scraping pages and downloading files using R

October 1, 2012
By
Scraping pages and downloading files using R

I have written a few posts discussing descriptive analyses of evaluation of National Standards for New Zealand primary schools.The data for roughly half of the schools was made available by the media, but the full version of the dataset is … Continue reading →

Read more »

Some regressions on school data

September 26, 2012
By
Some regressions on school data

Eric and I have been exchanging emails about potential analyses for the school data and he published a first draft model in Offsetting Behaviour. I have kept on doing mostly data exploration while we get a definitive full dataset, and … Continue reading →

Read more »

New Zealand school performance: beyond the headlines

September 24, 2012
By
New Zealand school performance: beyond the headlines

I like the idea of having data on school performance, not to directly rank schools—hard, to say the least, at this stage—but because we can start having a look at the factors influencing test results. I imagine the opportunity in … Continue reading →

Read more »

(Unsurprisingly) users default to the defaults

September 19, 2012
By
(Unsurprisingly) users default to the defaults

Oddities tend to jump out when one uses software in a daily basis. The situation is even clearer when using software for teaching: many more people looking at it with fresh eyes. Let’s say that we are fitting a simple … Continue reading →

Read more »

Mid-September flotsam

September 14, 2012
By
Mid-September flotsam

This is one of those times of the year: struggling to keep the head above the water, roughly one month before the last lecture of the semester. On top trying to squeeze trips, meetings and presentations in between while dealing … Continue reading →

Read more »

Suicide statistics and the Christchurch earthquake

September 5, 2012
By
Suicide statistics and the Christchurch earthquake

Suicide is a tragic and complex problem. This week New Zealand’s Chief Coroner released its annual statistics on suicide, which come with several tables and figures. One of those figures refers to monthly suicides in the Christchurch region (where I … Continue reading →

Read more »

m x n matrix with randomly assigned 0/1

August 28, 2012
By
m x n matrix with randomly assigned 0/1

Today Scott Chamberlain tweeted asking for a better/faster solution to building an m x n matrix with randomly assigned 0/1. He already had a working version: Now, I’m the first to acknowledge that I’ve never got the ‘apply’ family of … Continue reading →

Read more »