code: def test_predict_in(key, data, dtype, simple_differencing):
      """Test in-sample prediction against statsmodels (with the same values
      for the model parameters)
      """
      _predict_common(
          key,
          data,
          dtype,
          data.n_train // 2,
          data.n_obs,
          simple_differencing=simple_differencing,
      )
  
imports: from cuml.testing.utils import stress_param
  from cuml.internals.input_utils import input_to_host_array
  import cuml.tsa.arima
  from cuml.internals.safe_imports import gpu_only_import
  import statsmodels.api
  from sklearn.model_selection import train_test_split
  from cuml.internals.safe_imports import cpu_only_import_from
  import warnings
  import os
  import pytest
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 9 for calling a global function with example usage: test_predict_in(key, data, dtype, simple_differencing) without return types