MATJAGS, a Matlab interface for JAGS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example1.html
Example1.m
Example1.png
Example1_01.png
Example2.html
Example2.m
Example2.png
Example2_01.png
Example3.html
Example3.m
Example3.png
Example3_01.png
Example3_02.png
Example4.html
Example4.m
Example5.html
Example5.m
Kappa_1.txt
Kappa_1_jags.html
Rate_1.txt
index.htm
matbugs.m
matjags.m
readme.md

readme.md

Installation notes for JAGS and Matjags in Windows

Step 1: Install JAGS

Step 2: Place the JAGS bin directory in the Windows path

  • The directory where the JAGS executable is stored should be placed in the windows path.

  • In Windows 7, go to Control Panel, System and Security, System and click on "Advanced System Settings" followed by "Environment Variables" Under System variables, click on Path, and add the jags path to the string. This could look something like "C:\Program Files\JAGS\JAGS-3.0.0\x64\bin" or whatever the path is.

  • If you have Matlab up and running already, quit matlab and start again to make sure that the new path is used by Matlab.

  • You can test whether the system path is updated by starting a dos prompt window (type "cmd" in the "search programs and files" box when you click the windows start button and type in "JAGS". If the path is updated, it should start the JAGS program).

Step 3: Test MATJAGS

  • Run one of the example scripts for Matjags. It might be helpful if the folder where MATJAGS is stored is placed on the Matlab path. To change the matlab path in Windows 7, you'll have to run Matlab as an administrator (right click the matlab program icon, and choose "run as administrator")