Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
This is the project for **A tutorial on Bayesian analysis of ecological momentary assessment data in psychological research** While reading the tutorial, we suggest that you work your way through the accompanying R code in parallel. You can find the data and analysis script under **Files**. You can also find a workspace which contains all modeling results. **Setting up your computer to fit Bayesian mixed-effects models with the brms package:** Follow these steps in order: 1. Install the latest version of R from https://CRAN.R-project.org 2. Install ‘RStudio’ Desktop (Free) from https://posit.co 3. Configure your R installation to be able to compile C++ code. For Windows, install RTools following the instructions here https://github.com/stan-dev/rstan/wiki/Configuring-C---Toolchain-for-Windows. For Mac, install XCode following the instructions here https://github.com/stan-dev/rstan/wiki/Configuring-C---Toolchain-for-Mac. 4. Install RStan following the instructions here https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started 5. Install brms by executing the following command in R: `install.packages("brms")`
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.