To install and use MAGI in MATLAB, please refer to the instructions in Appendix A of the main paper or see https://github.com/wongswk/magi.

The script replication.m shows how to run the analyses on the three examples discussed in the main paper with MATLAB.
