Home

Menu

Loading wiki pages...

View
Wiki Version:
<p>R code and model output (e.g., to verify our results or to examine a MCMC sample of the posterior) for this project is available below. </p> <p>To get posterior samples, first load an .rda file from the "Model Output" folder. These are labeled by their respective analysis (1, 2, or 3) and the model that was fit. These models can be found in the corresponding R code. To get the posterior samples for model 1 from analysis 1, for example, load the file "a1.m1PCTSI.rda". Next, run the command "post = posterior_samples(a1.m1.PCTSI)". The object "post" will contain the posterior samples. Note that you do need to have the brms package (<a href="https://cran.r-project.org/web/packages/brms/index.html" rel="nofollow">https://cran.r-project.org/web/packages/brms/index.html</a>) loaded.</p> <p>Contact James Rae at jrrae@umass.edu or Kristina Olson at krolson@uw.edu with any questions or comments. </p>
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.