# Get estimated sampling time for a model as a variable?

**URL:** <https://discourse.pymc.io/t/get-estimated-sampling-time-for-a-model-as-a-variable/5971>\
**Category:** Questions\
**Created:** [October 13, 2020, 10:47pm UTC](https://discourse.pymc.io/t/get-estimated-sampling-time-for-a-model-as-a-variable/5971 "2020-10-13T22:47:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elewer](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elewer](https://discourse.pymc.io/u/elewer)\
**Post date:** [October 13, 2020, 10:47pm UTC](https://discourse.pymc.io/t/get-estimated-sampling-time-for-a-model-as-a-variable/5971/1 "2020-10-13T22:47:08Z")

</div>

I have a model I would like to fit to various datasets, some (but not all) of which are too big to sample in a reasonable time without using ADVI (as opposed to NUTS). Where possible I would like to use NUTS in order to get a more accurate estimate of the posterior. Is there a way to get the estimated time to generate a NUTS sample for a given model so I can use ADVI instead if NUTS would take too long?
