Need help writing a manual equation for a Chi-Square test for an assignment

2 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by