OHDSI / NetworkMetaAnalysis

[in development] A package to take a collection of target-comparator-outcome estimates and produce indirect network meta-analytics estimates across all target-comparator-outcomes
Apache License 2.0
1 stars 3 forks source link

Use Stan models instead of GeMTC #1

Open epiben opened 4 years ago

epiben commented 4 years ago

To have a functional package up and running fairly quickly, we use the GeMTC package because it has a simple API that play well with our needs. GeMTC is uses JAGS for sampling, which means that each have to be built and compiled for every network metaanalysis. With Stan, we could write and compile the models once (significant pre-sampling speed-up), and because Stan uses the No-U-turn-sampler (NUTS) variant of Hamiltonian Monte Carlo sampling sampling would likely yield speed-up during sampling. Further, the efficiency of the NUTS sampler should require fewer posterior draws to yield the same number of efficient samples (another speed-up).

In short, we should write the appropriate Stan models and change the package to play with the results of those.

epiben commented 4 years ago

Started porting the model, but the NUTS sampler of Stan seems more picky than the Gibbs sampler of WinBUGS/JAGS, so still some way to go before this is ready. We'll stick with the JAGS models of GeMTC for now.