I am trying to simulate second difference using Zelig, here is my code:--------------------------------------------------------data(turnout)# estimationz.out <- zelig(vote ~ race*age + educate + income, ...

I am trying to simulate second difference using Zelig, here is my code:--------------------------------------------------------data(turnout)# estimationz.out <- zelig(vote ~ race*age + educate + income, ...

Like many academics, Arthur Charpentier thinks a lot about publishing papers in journals. Specifically, we wondered if there was a way to figure out which journal was the best place to publish his next paper and have it accepted: I was wondering if there were clusters of journals, i.e. journals that publish almost the same kind of articles (so...

Another Sudoku-like puzzle from the weekend edition of Le Monde. The object it starts with is a 9×9 table where each entry is an integer and where neighbours take adjacent values. (Neighbours are defined as north, west, south and east of an entry.) The question is about whether or not it is possible to find

Tiobe Software ranks the popularity of programming languages based on references in search engines. While the methodology might be debated in terms of the absolute rankings it produces, it is quite interesting to see how the rankings fluctuate over time: Tiobe has produced a monthly report of rankings based on this methodology since 2001. In the Tiobe Programming Community...

An ‘Og reader. Emmanuel Charpentier, sent me the following email about model choice: I read with great interest your critique of Peter Congdon’s 2006 paper (CSDA, 50(2):346-357) proposing a method of estimation of posterior model probabilities based on improper distributions for parameters not present in the model inder examination, as well as a more general

It's great to see the growth in R user groups around the world, and now there are three new ones in western Europe: In Amsterdam, a new R user group has just formed, called amst-R-dam. They are just scheduling their first meeting now (vote here for a date) which will be in the next 3-4 weeks; In Geneva, the...

I am in Montpellier today for a general meeting of our EMILE ANR grant bi-yearly meeting, discussing ABC model choice and new applications of simulation methods in population genetics, including an upgrade of DIYABC into the 2.0 version. (The above is a picture comparing “true” Bayes factors with ABC versions, commented in my Zürich talk

In Chapter 5 of Using R for Introductory Statistics we get a brief introduction to probability and, as part of that, a few common probability distributions. Specifically, the normal, binomial, exponential and lognormal distributions make an appearance. For each distribution, R provides four functions whose names start with the letters d, p, q or r followed by...

There are a couple of options in R, if you want to utilize multiple cores on your machine. These days my favorite is doMC package, which depends on foreach and multicore packages.in the section below squareroot for each number is calculated in parallel...

There are a couple of options in R, if you want to utilize multiple cores on your machine. These days my favorite is doMC package, which depends on foreach and multicore packages.in the section below squareroot for each number is calculated in parallel...

C/python style option parsing now available in R with "optparse" package. Check the documentation here and see below to see how it worksuser@node002 scripts $ Rscript filter.transcripts.by.ncRNA.R -husage: usage: filter.transcripts.by.ncRNA.R [op...

C/python style option parsing now available in R with "optparse" package. Check the documentation here and see below to see how it worksuser@node002 scripts $ Rscript filter.transcripts.by.ncRNA.R -husage: usage: filter.transcripts.by.ncRNA.R [op...

In R, you can treat tables (or data.frames as they are called in R) as SQL tables. That means you can query them as you would query a database with SQL commands. This is particularly useful 1) if you know SQL, hahah:) 2) if you have large tabl...

In R, you can treat tables (or data.frames as they are called in R) as SQL tables. That means you can query them as you would query a database with SQL commands. This is particularly useful 1) if you know SQL, hahah:) 2) if you have large tabl...

If you're planning to go to R/Finance 2011 in Chicago (and if you're doing quantitative finance with R, you definitely should), time is running out to submit your abstract for contributed talks. The best part of R/Finance is learning about all the interesting ways R is used to analyze financial data, so why not share your experiences as you...