Commit Graph

9 Commits

Author SHA1 Message Date
e780bb956e feat(distributions): add lograyleigh and logrice distributions
Add Log-Rayleigh and Log-Rice continuous distributions as
scipy rv_continuous subclasses with PDF, CDF, SF, PPF, ISF,
moments, entropy, and RVS methods.

Log-Rice reduces to Log-Rayleigh when nu=0. Both are derived
via the change-of-variable Y = ln X on their respective parent
distributions. Includes unit tests verifying numerical
correctness and the change-of-variable identity.
2026-04-27 11:11:32 -03:00
9a3f5959cd feat(distributions): add lognakagami, loggamma, and kl_statistic
Implement two new scipy-compatible distributions : Log-Nakagami
(lognakagami) and Log-Gamma (loggamma_dist), with complete
logpdf/cdf/ppf/stats/entropy/rvs methods derived from the
change-of-variable Y = ln(X).

Add kl_statistic, a KDE-based KL-divergence goodness-of-fit callable
compatible with the Fitter class. Extend k_gen with _stats (improving speed), _cdf, and
a fit guard, and switch kv → kve to improve numerical stability at large arguments.

Add unit tests for all three additions covering normalization,
monotonicity, ppf inversion, moment formulas, and Fitter integration.
2026-04-26 23:17:22 -03:00
d07590e73d ADD:
ruff for code formatting

BIC statistic AND BIC test implemented

test_distributions.py for test new created dists with pytest

REFACTOR:
k_gen pdf changed from 2 params to generalized
2026-04-16 11:52:44 -03:00
9aa97fc3d4 ADD:
`generate_data.py` for processing and fitting statistical distributions to data.

'distributions.py' to create new dists to fit

'analysis_data.ipynb" notebook for data analysis
2026-04-10 15:01:07 -03:00
aacfe3f977 ADD:
AIC statistic added
2026-04-08 22:53:33 -03:00
d053ebf02c REFACTOR:
Fitter class refactored. Include getter and setter
ADD:
test/ dir with code tests
2026-04-08 21:48:19 -03:00
bcd8f25a62 [MAIN] Change workdir files, add docstring in functions 2026-03-25 16:37:56 -03:00
be50b41b78 [MAIN] init git repo , implement fitter class, organize workdir of repo 2026-03-25 16:02:28 -03:00
ecee8308fb Initial commit 2026-03-24 12:19:13 -03:00