Repository navigation
BUG: Dickey Fuller constant values (issue #8471 ) - #8537
Merged
josef-pkt merged 1 commit intoDec 7, 2022
Merged
Conversation
josef-pkt
reviewed
Nov 29, 2022
| regresults = bool_like(regresults, "regresults") | ||
|
|
||
| if x.max() == x.min(): | ||
| raise ValueError("Invalid input, residual variance is zero") |
Member
There was a problem hiding this comment.
I think this should have a more specific message, e.g.
ValueError("Invalid data, x is constant")
Contributor
Author
There was a problem hiding this comment.
Hi, just updated that message to report "x is constant"
Member
|
can you rebase and squash this, then I will merge it. otherwise, I can do the squashing |
athompson1991
force-pushed
the
issue-8471-dickey-fuller-fix
branch
from
December 7, 2022 02:00
f00281d to
0ec9e31
Compare
Contributor
Author
|
I think I squashed this successfully, let me know if the pull request is looking right to you. First time trying to do this so my local git operations were a bit tricky and I'm not sure it's all as expected. |
Member
|
squashed correctly but not rebased on current main, but that's not a problem in this case merging Thanks for the PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Notes:
needed for doc changes.
then show that it is fixed with the new code.
verify you changes are well formatted by running
flake8is installed. This command is also available on Windowsusing the Windows System for Linux once
flake8is installed in thelocal Linux environment. While passing this test is not required, it is good practice and it help
improve code quality in
statsmodels.