CRSU-Apps / MetaInsight

An interactive web-based tool for analyzing, interrogating, and visualizing network meta-analyses using R-shiny
https://crsu.shinyapps.io/MetaInsight/
GNU General Public License v3.0
10 stars 9 forks source link

Set a seed #76

Open BalancedmonkeY opened 1 year ago

BalancedmonkeY commented 1 year ago

For the Bayesian analysis, if a seed was set, then when a user came to use the app again and had all the settings set up as previously, the output should be identical to a previous use of the app.

BalancedmonkeY commented 1 year ago

Current plan is for a default seed to be set, but for there to be an option (drop-down) for the user to change the seed if need be.

nabury commented 1 year ago

There is a note in the gemtc documentation about reproducibility using JAGS "It is possible to get reproducible results, but as JAGS uses its own pseudo-random number generator, this is somewhat more involved. See mtc.model for details." https://cran.r-project.org/web/packages/gemtc/gemtc.pdf