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 Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by