4.7K Downloads
Updated
15 Nov 2001
No License
Returns reduced chi^2 given a data set, a fit of the data, and the number of fitting parameters in the model.
Also handles error bars if known.
Cite As
Mike Scarpulla (2026). chi_squared.m (https://www.mathworks.com/matlabcentral/fileexchange/1049-chi_squared-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Hypothesis Tests >
Find more on Hypothesis Tests in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
