diagnose.chow()
Chow’s F test of a break at period: every coefficient may change from period on.
Usage
diagnose.chow(
y,
X,
period,
*,
constant=True,
)F = ((RSS_pooled - RSS_1 - RSS_2) / k) / ((RSS_1 + RSS_2) / (n - 2k)), with k coefficients (the drivers and, with constant, an intercept), on F(k, n - 2k). Each part needs more than k observations; otherwise a DiagnoseError.