code: def test_posterior_mean(self):
      # Test the values from the Cython results
      actual = np.array(self._sim_cfa.posterior_mean, copy=True)
      assert_allclose(
          actual, self.res.smoothed_state, atol=self.mean_atol
      )
  
      # Test the values from the CFASimulationSmoother wrapper results
      assert_allclose(
          self.sim_cfa.posterior_mean,
          self.res.smoothed_state,
          atol=self.mean_atol,
      )
  
imports: import os
  import numpy
  from numpy.testing import assert_allclose
  import pandas
  from scipy.linalg import cho_solve_banded
  from statsmodels import datasets
  from statsmodels.tsa.statespace import sarimax, structural, dynamic_factor, varmax
label_desc: Use image node_id 2 for calling the CheckPosteriorMoments obj's underlying member method code with example usage: obj.test_posterior_mean() without return types