Posts by Year



How to run MCMC in parallel

2 minute read

I have to run Markov chain Monte Carlo (MCMC) simulations that each takes hours and requires parameter configuration. Here’s how I parallelize it.


Comparing RStudio and Spyder

1 minute read

Recently I have been searching for a Python’s IDE that is similar to R’s RStudio. While ipython notebook is better than text editor for data analysis, it suf...

Explain The Inverse Cdf Method

1 minute read

<!DOCTYPE html> [class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none}


Install Stata 12 on Ubuntu 14.04

1 minute read

Ubuntu 14.04 no longer makes available several libraries that are necessary to run Stata 12 (specifically, libgnomeprint2.2-0 and libgtksourceview2.0-0). In ...

Download data with Makefile

2 minute read

Since I have my R scripts carefully labeled in sequence, anyone can download my script and reproduce my research from raw data to the final document. The onl...