A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/gchowell/BayesianFitForecast below:

gchowell/BayesianFitForecast: BayesianFitForecast: A comprehensive R toolbox for Bayesian parameter estimation and forecasting in ODE models, making advanced Bayesian methods accessible across diverse scientific domains.

BayesianFitForecast is an R toolbox designed to streamline Bayesian parameter estimation and forecasting in ordinary differential equation (ODE) models, particularly for infectious disease applications. This toolbox simplifies the complex process of Bayesian inference by automating the generation of Stan files, enabling users to configure models, define priors, and analyze results efficiently, even with minimal programming expertise.

BayesianFitForecast Tutorial

Video Tutorial

1. Configuring Your Model

Start by defining your ODE model, parameters, and priors in the options_generaluse.R file. This file allows you to specify the model variables, parameters, error structures, and priors.

After configuring your model, use the run_MCMC.R script to fit the model to your data. This script performs the Bayesian parameter estimation using the Stan files automatically generated by the toolbox.

Once the model fitting is complete, use the run_analyzeResults.R script to generate and analyze the results. This script will produce various outputs, including Excel files with the parameter estimates, performance metrics, and convergence diagnostics.

4. Example: SEIR Model for the 1918 Influenza Pandemic

This toolbox includes several predefined case studies, such as the SEIR model used to analyze the 1918 Influenza Pandemic in San Francisco. The toolbox allows users to compare different error structures (e.g., Poisson vs. negative binomial) and assess the quality of model fit with performance metrics such as Mean Absolute Error (MAE) and Weighted Interval Score (WIS).

This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). See the LICENSE file for details.

If you use this toolbox in your research, please cite the following paper:

Karami, H., Bleichrodt, A., Luo, R., & Chowell, G. (2024). BayesianFitForecast: An R toolbox for parameter estimation and forecasting with quantified uncertainty in ordinary differential equation models. Under review.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4