Evaluate Goodness of Fit - Ellipsoid
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a set of 3D data points (x,y,z) and the quadratic form of an ellipsoid of equation
a*x^2 + b*y^2 + c*z^2 + d*xy + i*z - 1 = 0
with a,b,c,d,i known parameters.
How can I evaluate how well the equation fits the data?
댓글 수: 3
Matt J
2019년 6월 14일
I don't think so. R^2 is only defined for fitting problems where you have independent and dependent variables.
채택된 답변
Andrew McLean
2019년 6월 14일
편집: Andrew McLean
2019년 6월 14일
One approach would be to calculate the distance of each point to the ellipsoid. Then your measure of goodness-of-fit could be the RMS distance of the points to the eliipsoid or the mean distance.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!