Message Boards Message Boards

NonlinearModelFit to data with error bars in two dimenions...

Posted 8 years ago

I'm looking at examples for using NonlinearModelFit but I can't see any examples for doing fits when the data has measurement error bars in two dimensions, they only seem to show how to do this with error bars along a single dimension (usually along the y-axis). For example: http://mathematica.stackexchange.com/questions/25646/using-nonlinearmodelfit-to-fit-data-with-errors, and https://reference.wolfram.com/language/howto/FitModelsWithMeasurementErrors.html are two examples I've found online and in the documentation, but how do I extend this for two dimensional error bars?

Thanks!

POSTED BY: Doug Buettner
Posted 7 years ago

I'm going to answer my own question on this one. After some trial and error what is needed is to create an RMS error from the error bars in each dimension and then use that as an error weight.

POSTED BY: Doug Buettner
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract