Repository navigation
BUG/ENH: modify stationary cov_struct for GEE - #5390
Merged
Merged
Conversation
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #5390 +/- ##
==========================================
+ Coverage 81.73% 81.73% +<.01%
==========================================
Files 569 569
Lines 89824 89836 +12
Branches 10027 10027
==========================================
+ Hits 73416 73427 +11
- Misses 14132 14133 +1
Partials 2276 2276
Continue to review full report at Codecov.
|
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.
This PR modifies the calculations for the Stationary covariance structure in GEE. It produces more sensible results when there are multiple observations in one cluster with the same "time" values. It does not change behavior in the case where the time values are distinct.
Previously, if there were multiple observations in a cluster with the same time value, the correlation between them would have been given as zero. In this new calculation, the values with tied time have a correlation that is estimated from the data.