Companion Code for A SEQUENTIAL MONTE CARLO APPROACH TO INFERENCE IN MULTIPLE-EQUATION MARKOV-SWITCHING MODELS
by MARK BOGNANNI and ED HERBST [ed.herbst@gmail.com]
You need a 64-bit linux installation, GCC 5+, and MPI.
-
Download Anaconda
-
Install the and activate msvar environment
conda env create -f env.yaml source activate msvar
-
Run the estimation
create_models.py
python create_models.py [-m {1,2}] [-v {1,2,3,4,5}] {swz,rfb,rfb-hier}
The code was refactored recently, so there may be bugs. Please let me know.