MIT15_097S12_lec15

When we have entered in the desired parameters we

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: rs α = β = 5, we write: list(Y=10,m=40,alpha=5,beta=5) To load the data into OpenBUGS, we first type the data list into the text entry space in OpenBUGS. We then highlight the word “list”, as in the image on the right, and while it is highlighted we click “load data” in the model specification window. When we do this, “data loaded” appears along the bottom of the screen. Screenshots © OpenBUGS. Some rights reserved; the OpenBUGS software is available under the GNU General Public License. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/fairuse. 35 We are now ready to specify the number of chains and compile the model. We use multiple chains from multiple initial conditions to test convergence; it is usually sufficient to use 2 chains. We input 2 chains and press “compile” in the model specification window. Then, “model compiled” appears along the bot­ tom. If we did not specify one of the variables (for instance, if we had mistakenly left beta out of the data list) then it will give...
View Full Document

Ask a homework question - tutors are online