Skip to content

Audit/v200#10

Open
tfm000 wants to merge 67 commits intomainfrom
audit/v200
Open

Audit/v200#10
tfm000 wants to merge 67 commits intomainfrom
audit/v200

Conversation

@tfm000
Copy link
Copy Markdown
Owner

@tfm000 tfm000 commented Mar 25, 2026

  • Implement rigorous tests for Bessel K_v, inverse incomplete gamma functions, and Student's t CDF in test_special.py.
  • Validate against scipy.special and scipy.stats with tight tolerances to catch known errors.
  • Introduce tests for sample skewness and kurtosis in test_stats.py, ensuring consistency with scipy.stats.
  • Create extensive tests for all 11 univariate distributions in test_univariate.py, covering logpdf, CDF, stats, fitting, and edge cases.
  • Include checks for PDF integration, inverse consistency, parameter recovery, and gradient correctness.
  • Address specific findings related to Student-T and IG distributions to ensure accuracy and reliability.

tfm000 added 30 commits March 24, 2026 22:47
- Implement rigorous tests for Bessel K_v, inverse incomplete gamma functions, and Student's t CDF in `test_special.py`.
- Validate against scipy.special and scipy.stats with tight tolerances to catch known errors.
- Introduce tests for sample skewness and kurtosis in `test_stats.py`, ensuring consistency with scipy.stats.
- Create extensive tests for all 11 univariate distributions in `test_univariate.py`, covering logpdf, CDF, stats, fitting, and edge cases.
- Include checks for PDF integration, inverse consistency, parameter recovery, and gradient correctness.
- Address specific findings related to Student-T and IG distributions to ensure accuracy and reliability.
… precision and stability; enhance initial approximation and Newton-Halley refinement process.
…ts for extreme values and refine tolerance levels for better precision.
… handling; add explicit normalization for total PDF integral to ensure accurate results.
…initial estimates; replace kv with log_kv for stability and add sample moments computation.
…g_kv for stability, add expected value computations, and implement negative log-likelihood gradient calculation.
…likelihood computation and update fit method to support EM approach.
…ctor _fit_mle and _fit_ldmle to use sample moments for better convergence.
… _sample_moments method and update _fit_mle to use these estimates for improved fitting.
…re functions for improved parameter estimation.
… enhance fit method to support MOM and MLE options.
tfm000 and others added 30 commits March 28, 2026 20:20
…igns and enforce CDF monotonicity for improved accuracy
…documentation for small-lambda thresholds in Kolmogorov-Smirnov and Cramér-von Mises tests
…ase handling and improving parameterization for distributions.
…; optimize matrix calculations and enhance method validation.
…g for valid correlation output; update laloux method to use correlation from covariance.
…e descriptions of methods and parameters for clarity.
…ce functions; add autofunction directives for better clarity and accessibility.
…d MvtStudentT classes to include optional x parameter for improved flexibility in LD-MLE optimization.
…t ECME fitting algorithm for improved parameter estimation
…a=0 consistency with MVT Student-T, and ECME fitting validation
- Removed unused methods for reconstructing copula parameters in MvtGH, MvtNormal, MvtSkewedT, and MvtStudentT classes.
- Improved PPF computation in _ppf.py by implementing a unified dispatcher for cubic interpolation and Brent root-finding with custom VJP rules.
- Added shared IFT backward pass for PPF to ensure efficient gradients.
- Enhanced cubic PPF function creation with captured parameters for better flexibility.
- consolidate duplicate fitting code
- implement persistent adam state + standardise grad clipping
- add early stopping
- convert inner python for loop to lax.scan
…integrate them into Student-T, Skewed-T and GH copula parameter estimation
…ialization and update prev_ll to -1e20 for stability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant