Least square value of x and y values of a fitted model

2 views (last 30 days)
I'm attempting to determine the R-squared value of a fitted model compared to experimental data using the vertical and horizontal error values. I can only find methods for the vertical value, ANY help would be greatly appreciated. The horizontal value is proving especially difficult.
  1 Comment
Scarlett
Scarlett on 29 May 2012
This is very nonlinear model as well, and polyfit was not used to find it.

Sign in to comment.

Accepted Answer

the cyclist
the cyclist on 29 May 2012
These are known as errors-in-variables models, http://en.wikipedia.org/wiki/Errors-in-variables_models. I am not personally familiar with the techniques here. You might find some information in this old thread:
  1 Comment
Scarlett
Scarlett on 29 May 2012
Thanks for the help, doesn't look like those are terribly to me though. The model was found using the fminsearch algorithm if that helps at all. . .

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!