Need help writing a manual equation for a Chi-Square test for an assignment
2 views (last 30 days)
Show older comments
So I am struggling a tad with a portion of my assignment to manually solve this version of the chi-squared equation. The section I am referring to is Part D in my code and the equation in the left picture. I cant think of how to incoorporate N into my equation, i know that right before i will set N=length(x) which is one of the columns in the given data. In my code the y is the yi in the problem's eq, F is mi and err_y is sigmi,i. Any help would be appreciated I have been stuck on this part for a couple hours and the result i got from running this is 15,837 which is a far cry from 0.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/384998/image.png)
0 Comments
Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!