Chapter 2 Installation
You can install the package from Rstudio via:
The package has some dependencies, the most important of which is rstan. Make sure you have rstan installed and working properly before doing anything else. Note that at installation CausalQueries compiles and stores a stan model so if you have problems with stan you won’t be ablt to install CausalQueries.
- See the rstan getting started guide for general installation procedures
- Check that rstan is working by running one of the simple
stanexamples (see for example?stan) - For windows users you might have to configure according to (these instructions](https://github.com/stan-dev/rstan/wiki/Installing-RStan-from-source-on-Windows#configuration)
- if all is working you should be able to run a simple model of the form: