Repository navigation
BUG: Fix definition of GLS r2 - #4967
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4967 +/- ##
==========================================
+ Coverage 81.31% 81.32% +0.01%
==========================================
Files 582 582
Lines 89939 89945 +6
Branches 10084 10085 +1
==========================================
+ Hits 73136 73151 +15
+ Misses 14509 14503 -6
+ Partials 2294 2291 -3
Continue to review full report at Codecov.
|
| model.endog - np.average(model.endog, weights=weights))**2) | ||
| else: # this is probably broken for GLS | ||
| mean = np.average(model.endog, weights=weights) | ||
| print(mean) |
Member
Author
|
Nope. |
Fix definitin of GLS r2 for equivalence with WLS closes statsmodels#1252 closes statsmodels#1171
bashtage
force-pushed
the
gls-centered-r2
branch
from
August 23, 2018 17:31
b29ddaa to
d4b0801
Compare
Member
|
LGTM, merging @bashtage thank you |
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.
Fix definitin of GLS r2 for equivalence with WLS
closes #1252
closes #1171