code: def fit_model(q):
      res = mod.fit(q=q)
      return [
          q,
          res.params["Intercept"],
          res.params["income"],
      ] + res.conf_int().loc["income"].tolist()
  
imports: import numpy
  import pandas
  import statsmodels.api
  import statsmodels.formula.api
  import matplotlib.pyplot
label_desc: Use image node_id 1 for calling a global function with example usage: fit_model(q) and returns: unknown