def summary(self, file_name=None):
class_names = ["<STR_LIT>" % i for i in range(self.k)]<EOL>regime_names = ["<STR_LIT>" % i for i in range(self.k)]<EOL>ht = homogeneity(self.T, class_names=class_names,<EOL>regime_names=regime_names)<EOL>title = "<STR_LIT>"<EOL>if self.variable_name:<EOL><INDENT>title = title + "<STR_LIT>" + self.variable_name<EOL><DEDENT>if file_name:<EOL><INDENT>ht.summary(file_name=file_name, title=title)<EOL><DEDENT>else:<EOL><INDENT>ht.summary(title=title)<EOL><DEDENT>
A summary method to call the Markov homogeneity test to test for
temporally lagged spatial dependence.

To learn more about the properties of the tests, refer to
:cite:`Rey2016a` and :cite:`Kang2018`.