Skip to content

Commit

Permalink
Merge pull request #8878 from emorisse/main
Browse files Browse the repository at this point in the history
BUG Fix typo in InfeasibleTestError exception string
  • Loading branch information
bashtage committed Apr 16, 2024
2 parents 29525e2 + bab5913 commit 633b1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsmodels/tsa/stattools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ def grangercausalitytests(x, maxlag, addconst=True, verbose=None):
or res2djoint.params.shape[0] != dtajoint.shape[1]
):
raise InfeasibleTestError(
"The Granger causality test statistic cannot be compute "
"The Granger causality test statistic cannot be computed "
"because the VAR has a perfect fit of the data."
)
fgc1 = (
Expand Down

0 comments on commit 633b1f3

Please sign in to comment.