Open
Conversation
…g, Gini endpoint) - S17: Replace unreliable det(XWX) != 0 with reciprocal condition number check (1/cond(XWX) > epsilon(1)) for robust near-singularity detection - S19: Add printf notification when plugin fails and falls back to Mata, so users know the fallback happened (4 locations) - S20: Fix Gini Lorenz curve endpoint: prepend 0 instead of qf[1] so the Lorenz curve correctly starts at the origin Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
det(XWX) != 0singularity check with reciprocal condition number (1/cond(XWX) > epsilon(1)) inr3d_locpolyfor robust near-singularity detectionr3d_bandwidth_selectandr3d_estimate_core)r3d_gini_from_quantile-- prepend0instead ofqf[1]so the Lorenz curve correctly starts at the originTest plan
r3d_locpolyhandles near-singular XWX matrices without crashing (previously could passdet != 0check but produce garbage fromlusolve)🤖 Generated with Claude Code