def test_results(self):
        # Smoke test for creating the summary
        self.results.summary()

        # Test cofficient matrix creation (via a different, more direct, method)
        if self.model.factor_order > 0:
            coefficients = np.array(self.results.params[self.model._params_factor_transition]).reshape(self.model.k_factors, self.model.k_factors * self.model.factor_order)
            coefficient_matrices = np.array([
                coefficients[:self.model.k_factors, i*self.model.k_factors:(i+1)*self.model.k_factors]
                for i in range(self.model.factor_order)
            ])
            assert_equal(self.results.coefficient_matrices_var, coefficient_matrices)
        else:
            assert_equal(self.results.coefficient_matrices_var, None)

        # Smoke test for plot_coefficients_of_determination
        if have_matplotlib:
            fig = self.results.plot_coefficients_of_determination();
            plt.close(fig)
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/statespace/tests/test_dynamic_factor.py/CheckDynamicFactor.test_results/original