MultipleBreakTest.max_breaks#

property MultipleBreakTest.max_breaks: int[source]#

Largest number of breaks considered.

Recovered from the length of ssr rather than stored, so the arrays and the count cannot disagree.

Returns:

len(ssr) - 1.

Example

>>> import numpy as np
>>> bai_perron(np.random.default_rng(0).standard_normal(200), max_breaks=2).max_breaks
2