https://github.com/abhranildas/gx2-matlab
Matlab toolbox to compute the statistics, pdf, cdf, inverse cdf and random numbers of the generalized chi-square distribution.
https://github.com/abhranildas/gx2-matlab
matlab-toolbox probability-distribution statistics
Last synced: about 12 hours ago
JSON representation
Matlab toolbox to compute the statistics, pdf, cdf, inverse cdf and random numbers of the generalized chi-square distribution.
- Host: GitHub
- URL: https://github.com/abhranildas/gx2-matlab
- Owner: abhranildas
- License: mit
- Created: 2020-12-30T06:41:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-06-28T03:46:32.000Z (1 day ago)
- Last Synced: 2026-06-28T05:19:59.131Z (1 day ago)
- Topics: matlab-toolbox, probability-distribution, statistics
- Language: MATLAB
- Homepage: https://www.mathworks.com/matlabcentral/fileexchange/85028-generalized-chi-square-distribution
- Size: 7.41 MB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generalized chi-square distribution [](https://www.mathworks.com/matlabcentral/fileexchange/85028-generalized-chi-square-distribution)
Matlab toolbox to compute the statistics, pdf, cdf, inverse cdf and random numbers of the generalized chi-square distribution. There is also a [python package](https://pypi.org/project/gx2/) version of this.
## Author
Abhranil Das, Center for Perceptual Systems, The University of Texas at Austin.
Bugs/comments/questions/suggestions to abhranil.das@utexas.edu.
If you use this code, please cite:
- [Methods to integrate multinormals and compute classification measures](https://arxiv.org/abs/2012.14331)
- New methods to compute the generalized chi-square distribution: [journal](https://www.tandfonline.com/doi/abs/10.1080/00949655.2025.2501401) / [arxiv](https://arxiv.org/abs/2404.05062) (better formatting)
## Installation
Within Matlab's Home tab, select Add-Ons > Get Add-Ons > Search for 'Generalized chi-square distribution' and install.
## Getting Started
After installation, begin with the Getting Started live script with interactive examples, or, at any time, go to Matlab Home tab > Add-Ons > Manage Add-Ons > click the three dots next to this toolbox > View Getting Started Guide
## Documentation
For function help, type:
doc gx2_to_norm_quad_params
doc norm_quad_to_gx2_params
doc gx2stat
doc gx2rnd
doc gx2char
doc gx2cdf
doc gx2pdf
doc gx2inv