code: def run_arrays(n, get_model, noise):
      y, x_mean, x_sc, x_sm, x_no, time, groups = setup1(
          n, get_model, noise
      )
  
      preg = ProcessMLE(y, x_mean, x_sc, x_sm, x_no, time, groups)
  
      return preg.fit()
  
file_path: statsmodels/statsmodels/regression/tests/test_processreg.py
imports: from statsmodels.compat.platform import PLATFORM_OSX
  from statsmodels.regression.process_regression import ProcessMLE, GaussianCovariance
  import numpy
  import pandas
  import pytest
  import collections
  import statsmodels.tools.numdiff
  from numpy.testing import assert_allclose, assert_equal
label_desc: Use image node_id 3 for calling a global function with example usage: run_arrays(n, get_model, noise) and returns: preg