Checking if error in data is normally distributed or not
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
amberly hadden
am 11 Apr. 2016
Kommentiert: Star Strider
am 11 Apr. 2016
I have two datasets (x) and (y). How could I know if the error in both data is normally distributed or not? Thank you, Amb
0 Kommentare
Akzeptierte Antwort
Star Strider
am 11 Apr. 2016
One option is the Anderson-Darling test. See the documentation for the adtest function for details. Tare links to others in and at the end of that page.
4 Kommentare
Star Strider
am 11 Apr. 2016
My pleasure.
You are correct. The fit does not have to be linear (you can do a nonlinear fit to your data if that is appropriate). That aside, you would be checking to see if the residuals — the difference between the regression at every value of your independent variable and your dependent variable at those points — are normally distributed.
Weitere Antworten (1)
Walter Roberson
am 11 Apr. 2016
kstest() each of them individually.
If you want to know whether they come from the same normal distribution, see kstest2()
Siehe auch
Kategorien
Mehr zu Hypothesis Tests finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!