Monthly Archives: April 2011

A simple frequency plot

April 8, 2011
By
A simple frequency plot

I’m currently working on a paper that uses Polish survey data (EVS 2008). I am specifically looking at regional variation in particular responses. Because there are only around 1800 observations in the survey, which are split across 66 subregions of … Continue reading

Read more »

Text Data Mining with Twitter and R

April 8, 2011
By
Text Data Mining with Twitter and R

Twitter is a favorite source of text data for analysis: it’s popular (there is a huge volume of variety on all topics) and easily accessible using Twitter’s free, open APIs which are easily consumable in JSON and ATOM formats. Some … Continue reading

Read more »

BUGS and related

April 8, 2011
By

(People who aren't interested in automated Markov chain Monte Carlo sampling, or have no idea what it is, should probably stop reading now.)Got an e-mail from a student trying to get the WinBUGS examples in Chapter 7 of the book to work, on MacOS under...

Read more »

BUGS and related

April 8, 2011
By

(People who aren't interested in automated Markov chain Monte Carlo sampling, or have no idea what it is, should probably stop reading now.)Got an e-mail from a student trying to get the WinBUGS examples in Chapter 7 of the book to work, on MacOS under...

Read more »

Day #19 RGG’s a b***h

A  listbox is (as far as i thought) supposed to select one or more items in the list and put them in a variable. Well, not for the rgg listbox. Whatever you select, you’ll get an error.                 &#1...

Read more »

Getting started with the Heritage Health Price competition

April 8, 2011
By
Getting started with the Heritage Health Price competition

The US$ 3 million Heritage Health Price competition is on so we take a look at how to get started using the R statistical computing and analysis platform.

Read more »

Getting started with the Heritage Health Price competition

April 8, 2011
By
Getting started with the Heritage Health Price competition

The US$ 3 million Heritage Health Price competition is on so we take a look at how to get started using the R statistical computing and analysis platform.

Read more »

Getting started with the Heritage Health Price competition

April 8, 2011
By
Getting started with the Heritage Health Price competition

The US$ 3 million Heritage Health Price competition is on so we take a look at how to get started using the R statistical computing and analysis platform.

Read more »

Fixing aberrant files using R and the shell: a case study

April 7, 2011
By
Fixing aberrant files using R and the shell: a case study

Once in a while, you embark on what looks like a simple computational procedure only to encounter frustration very early on. “I can’t even read my file into R!” you cry. Step back, take a deep breath and take note of what the software is trying to tell you. Most times, you’ve just missed something

Read more »

Buffon versus Bertrand in R

April 7, 2011
By
Buffon versus Bertrand in R

Following my earlier post on Buffon’s needle and Bertrand’s paradox, above are four outcomes corresponding to four different generations (among many) of the needle locations. The upper right-hand side makes a difference in the number of hits (out of 1000). The R code corresponding to this generation was made in the métro, so do not

Read more »