Monday, December 31, 2007


The idea underlying Sweave is very appealing: you can compose a complete research paper with equations, tables, figures without manual intervention (copy, paste, adjust margin, etc.).

The package "odfWeave" extends this idea from LaTeX to OpenOffice. I just gave it a test-drive, and it rocks!

Sunday, December 30, 2007


As a demographer, it is really exciting to find a toolkit designed for demographic analysis:

This is a short paper explaining the usage of it:

Saturday, December 29, 2007

How to "reshape" a data set in R

Here is a helpful post explaining how to do "reshape" a data, a convenient feature in Stata, using R:


Gary King's crew is doing some really nice work with Zelig. The first goal is to standardize statistical analysis syntax in R, which is very important. It also has the ability to analyze multiply imputed data, to simulate posterior distribution, etc.

Keep up the good work, it looks really promising.

Thursday, December 27, 2007

The "per thousand" symbol

In OpenOffice, the "per thousand" symbol can be input as equation or special character. The special character version can usually be found under the "general punctuation" in most fonts.

Saturday, December 22, 2007

Sunday, December 09, 2007

Here is how I choose between Stata, Mplus and aML

in dealing with a specific research question:
  1. Use Stata (or R) for routine statistical analysis, they are getting better and better;
  2. Use Mplus for multilevel Cox regression; the results can be compared with that from Stata or R;
  3. Use aML to handle multiple clock situation (i.e. APC model).

Have some fun with GreenFoot

A agent-based simulation environment and a good teaching tool for java programming: