code: def run(n=1000):
      if n == "short":
          n = 50
      with get_garch_model():
          tr = sample(n, tune=1000)
      return tr
  
imports: import numpy
  import theano.tensor
  from arviz import summary
  from pymc3 import Model, Normal, Uniform, sample
label_desc: Use image node_id 2 for calling a global function with example usage: run(n) and returns: tr