Page 40
-
On R versus SAS
A short while ago there was a discussion on linkedin about the use of SAS versus R for the enterprise.… -
Linear regression with correlated data
I started following the debate on differential minimum wage for youth (15-19 year old) and adults in New Zealand. Eric… -
R pitfall #1: check data structure
A common problem when running a simple (or not so simple) analysis is forgetting that the levels of a factor… -
All combinations of levels for two factors
There are circumstances when one wants to generate all possible combinations of levels for two factors. For example, factor one… -
“Not in” in R
When processing data it is common to test if an observation belongs to a set. Let’s suppose that we want… -
A shoebox for data analysis
Recidivism. That’s my situation concerning this posting flotsam in/on/to the ether. I’ve tried before and, often, will change priorities after… -
Python code to simulate the Monty Hall problem
I always struggled to understand the Monty Hall Problem, which popped up again in William Briggs’s site. The program assumes… -
Cicadas
These last two weeks the soundscape has been invaded by cicadas, sometimes deafening, sometimes slightly highlighting the silence. I am… -
Publon: my simple publication Python script
After using PmWiki (PHP wiki software) for nearly five years to maintain my web site I was a bit tired… -
Dynamic Google maps using Python
I originally wrote this code on 2 February 2009, as a quick hack to publish air pollution in Santiago. The…