<p align="center">
  <a href="https://statsim.com/app/" target="_blank">
    <img width="50" src="https://statsim.com/app/images/favicon-96x96.png">
  </a>
</p>

# StatSim App

Free open-source web application for statistical simulations and bayesian inference. 
Made with [VueJS](https://vuejs.org/) and [WebPPL](http://webppl.org/)

* [Web app](https://statsim.com/app/)
* [Download](https://github.com/statsim/app/releases) (Linux, Windows)
* [Docs](https://statsim.com/docs/)
* [Models](https://statsim.com/models/)

## Loading models
### From URL (Fetch)
Using `m` variable. For example: 

- [https://statsim.com/app/?m=test/data_input.json](https://statsim.com/app/?m=test/data_input.json)

### From URL (Text)
Using `s` variable. For example: 

- [http://statsim.com/app/?a=...](http://statsim.com/app/?a=%5B%7B%22mod%22%3A%7B%22n%22%3A%22Main%22%2C%22e%22%3A%22%22%2C%22s%22%3A1%2C%22m%22%3A%22MCMC%22%2C%22ta%22%3Afalse%2C%22cc%22%3A%22%22%7D%2C%22met%22%3A%7B%22chains%22%3A1%2C%22sm%22%3A1000%7D%2C%22b%22%3A%5B%7B%22n%22%3A%22D1%22%2C%22sh%22%3Afalse%2C%22t%22%3A2%2C%22u%22%3Afalse%2C%22dims%22%3A%22%22%2C%22v%22%3A%22%22%2C%22min%22%3A%22%22%2C%22max%22%3A%22%22%2C%22elType%22%3A%22%22%7D%2C%7B%22d%22%3A%22Uniform%22%2C%22n%22%3A%22R0%22%2C%22o%22%3Afalse%2C%22p%22%3A%7B%7D%2C%22sh%22%3Afalse%2C%22t%22%3A0%2C%22dims%22%3A%221%22%7D%5D%7D%5D)

You probably want to generate those automatically
### From disk



