<p> <button onclick="sample_loop()">Start sampling</button> <button onclick="stop_sample_loop()">Stop sampling and plot histograms</button> <button onclick="clear_samples()">Clear samples</button> </p> <p> These are some of the parameter estimates as generated by Stan using <a href="https://github.com/stan-dev/example-models/blob/master/ARM/Ch.13/13.1_VaryingIntercepts%26Slopes.R">this script</a>.<br/> <img src="https://i.imgur.com/XUBnReM.png"><img><br/> If you sample from the model using "Start sampling" above, you will notice that we will get similar distributions below (but pretty slowly...). To get the histograms you'll have to click "Stop sampling and plot histograms" above. </p> <div id='text_output_div'></div> <div id="mcmc_plots_div"> </div>
As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.
Also see: Tab Triggers