ImperialCollegeLondon / covid19model

Code for modelling estimated deaths and cases for COVID19.
MIT License
944 stars 271 forks source link

posterior parameter values for alpha, alpha_region, and alpha_state #121

Closed antoine4ucsd closed 4 years ago

antoine4ucsd commented 4 years ago

Hi Would it be possible to extract/ouput the posterior parameter values for alpha, alpha_region, and alpha_state (linking mobility to transmission)? any advices would be very much appreciated! thank you and congrats for this impressive work,

a

s-mishra commented 4 years ago

For sure. just do out <- rstan::extract(fit). And now out has all the samples for the required parameters. which you can use as out$alpha, out$alpha_region and out$alpha_state.