code: def test_simple_results(X, Y):
      model = OLSModel(X)
      results = model.fit(Y)
  
      simple_results = SimpleRegressionResults(results)
      assert_array_equal(results.predicted, simple_results.predicted(X))
      assert_array_equal(
          results.residuals, simple_results.residuals(Y, X)
      )
      assert_array_equal(
          results.normalized_residuals,
          simple_results.normalized_residuals(Y, X),
      )
  
file_path: nilearn/nilearn/glm/tests/test_regression.py
imports: import pytest
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_array_equal
  from nilearn.glm import ARModel, OLSModel, SimpleRegressionResults
label_desc: Use image node_id 9 for calling a global function with example usage: test_simple_results(X, Y) without return types