Evaluate Goodness of Fit - Ellipsoid

조회 수: 1 (최근 30일)
Alessandraro
Alessandraro 2019년 6월 13일
편집: Andrew McLean 2019년 6월 14일
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
Alessandraro
Alessandraro 2019년 6월 14일
I am sorry, the question was if I can calculate the determination coefficient (R^2) and how.
Matt J
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
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개)

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by