Monthly Archives: February 2011

Latent Gaussian Models in Zürich [day 1]

February 4, 2011
By
Latent Gaussian Models in Zürich [day 1]

An interesting first day (for me) at the Latent Gaussian Models workshop in Zürich. The workshop is obviously centred at the INLA approach, with Havard Rue giving a short course on Wednesday then a wide ranging tour of the applications and extensions of INLA this afternoon. Thanks to his efforts in making the method completely

Read more »

Post-hoc Pairwise Comparisons of Two-way ANOVA

February 4, 2011
By
Post-hoc Pairwise Comparisons of Two-way ANOVA

I read this post today by John Quick. I was a little taken back when he used a pairwise t-test for post hoc analysis. In a contradiction the t-test did not show differences in the treatment means when the ANOVA model did. This is because the pairwise.t.test does not take into account the two-way anova,

Read more »

The R-Files: Dirk Eddelbuettel

February 4, 2011
By
The R-Files: Dirk Eddelbuettel

"The R-Files" is an occasional series from Revolution Analytics, where we profile prominent members of the R Community. Name: Dirk Eddelbuettel Background: Ph.D. (EHESS, France), Quantitative Analyst Nationality: Canadian Years Using R: About 15 Known for: RQuantlib, Rcpp/RInside, R packaging for Debian/Ubuntu, Task Views for Finance and HPC, CRANberries Dirk Eddelbuettel is an active member of the R community...

Read more »

Research position in forecasting renewable energy

February 4, 2011
By

I don’t normally post job ads except when they are within my own research group. But this one is close to my research interests, and I’d like to help the institution find someone good for the role, so I’m making an exception. It is a position for a post-doctoral researcher at the Centre for Energy

Read more »

Le Monde puzzle [#4]

February 4, 2011
By
Le Monde puzzle [#4]

A fairly simple puzzle in this weekend Le Monde magazine: given five points on a line such that their pairwise distances are 1,2,4,…,14,18,20, find the respective positions of the five points over the line and deduce the missing distances. Without loss of generality, we can set the first point at 0 and the fifth point

Read more »

Speed up your R code with C++

February 3, 2011
By
Speed up your R code with C++

Hi again, Recently, Julyan blogged about allocating memory first before modifying R objects. That’s a very useful trick that applies to most programming languages. Tonight I want to blog about something a bit more complicated and more specific to R, but which can lead to massive speed-ups: interfacing C/C++ within R codes. The rationale behind

Read more »

Japan Intentional or Accidental Pursuit of Deflation

February 3, 2011
By
Japan Intentional or Accidental Pursuit of Deflation

Japan’s intentional or accidental pursuit of deflation has caused an imbalance far greater than Bernanke’s pursuit of inflation.  Japanese policymakers have allowed Yen appreciation versus all other currencies.  It appears that they recog...

Read more »

Regular expressions, an example

February 3, 2011
By

Why regular expressions are your friend. This is written in Stata but applies to any language where regular expressions exist.Original version if length("`qx'")==3 { /*ex: 5q0*/ ...

Read more »

Mixed Models – Part 1

February 3, 2011
By
Mixed Models – Part 1

Very brief. Have been exploring mixed models in R using nlme::lme. Am looking forward to understanding them more, they’re going to be used more and more in years to come I’ve no doubt of that. Here are some scripts, very rough, for diagnostics when running simple 2 levels, or models with 1 grouping variable. CLICK

Read more »

R in production systems

February 2, 2011
By
R in production systems

R is great for prototyping models.  Not so great if those models have to run a business.  Here’s some tips to help with that: Validate, alert, and monitor Sink Use 64-bit Linux Write your own functions tryCatch Validate, alert, and monitor:  Sooner or later something is going to go wrong with your model.  Maybe some

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)