Getting Chi-Squared Statistic

2 views (last 30 days)
Sebastian Daneli
Sebastian Daneli on 25 May 2022
Answered: Torsten on 25 May 2022
Hi
How can i use Matlab to find for example the following chi-squared statistic?
I can't make sense of the various commands.

Accepted Answer

Torsten
Torsten on 25 May 2022
chi2inv(0.95,1) % gives 3.8415
chi2cdf(3.8415,1) % gives 0.95

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!