Monthly Archives: December 2009

Multilevel and Longitudinal Modeling in Stata

December 22, 2009
By

For my "off-task" reading I recent perused an excellent book on multilevel and longitudinal modeling in Stata by Sophia Rabe-Hesketh and Anders Skrondal. The second edition (which I read) has been updated by including several chapters providing an over...

Read more »

Visualizing Unemployment in Mexico

December 22, 2009
By
Visualizing Unemployment in Mexico

What has been the impact of the economic crisis on employment? And how has it affected the different regions of Mexico?To answer the questions the first step was to obtain the unemployment data from the Banco de Información Económica at the INEGI. ...

Read more »

CPP package: exposing C++ objects

December 22, 2009
By

I've just started working on the new package CPP, as usual the project is maintained in r-forge. The package aims at exposing C++ classes at the R level, starting from classes from the c++ standard template library.key to the package is the CPP f...

Read more »

Forecasting the weather with R

December 22, 2009
By
Forecasting the weather with R

The US National Centers for Environment Prediction (NCEP) produces weather forecasts for the entire world from a model that's updated every 6 hours. The data is made freely available, and with a couple of free tools to convert the data and R you can easily produce am unpdated global weather forecast like this (click to enlarge): (Check out the...

Read more »

Singapore, February 19-20: Computational Topics in Finance

December 21, 2009
By

With all of the winter snows in the US this weekend, a trip to equatorial climes sounds pretty good right about now. That makes this email announcement from Rmetrics leader Diethelm Wuertz all the more tempting: Conference on 'Computational Topics in Finance' February 19/20, 2010, National University of Singapore Dear R/Rmetrics Community, We would like to announce the first...

Read more »

Animation video of rgl in action

December 21, 2009
By

Duncan Murdoch just posted a youtube video presenting an animation clip of a 3d rgl object.Duncan even went further and wrote an explanation on how he made the video: here are the steps I used: 1.  Design a shape to be displayed, and then play with the animation functions to make it change over time.  Use play3d to do

Read more »

MCMCglmm

December 21, 2009
By
MCMCglmm

This R packages estimates Generalised Linear Mixed Models via MCMC. It provides a number of random error distributions and can be used for multivariate multilevel models (simultaneous equation model).I will do some tests and compare the results to othe...

Read more »

Sweave in TeXShop

December 21, 2009
By

I love using TeXShop for GUI editing of LaTeX and particularly Sweave documents, but it is a pain not being able to get it to automatically generate the pdf output. Luckily I found this post which explains how to add a Sweave engine.Basically, make a f...

Read more »

Sweave in TeXShop

December 21, 2009
By

I love using TeXShop for GUI editing of LaTeX and particularly Sweave documents, but it is a pain not being able to get it to automatically generate the pdf output. Luckily I found this post which explains how to add a Sweave engine.Basically, make a f...

Read more »

Rcpp and inline example

December 20, 2009
By

Following up on yesterday's Rcpp 0.7.0 release, here is a quick example of why the new feastures can be so useful.The following R code defines a character variable gslrng. This variable contains a short C++ code segment, which is then transformed by the function cfunction into a function of two arguments assigned to funx:## now use Rcpp to...

Read more »