Message Boards Message Boards

How can I make a fit with errors in x and y directions?

Posted 10 years ago

Hi, I would like to do a model fit with consideration to the x- and y-errors.

For the sake of simplification let's consider the following dataset:

data = {
  {"x values", "y values", "x errors", "y errors"},
  {1, 0.2, 0.1, 0.04},
  {2, 1.2, 0.2, 0.24},
  {3, 2.8, 0.3, 0.56},
  {4, 4.7, 0.4, 0.94},
  {5, 5.8, 0.5, 1.16},
  {6, 6.1, 0.6, 1.22},
  {7, 8.1, 0.7, 1.62},
  {8, 8.7, 0.8, 1.74},
  {9, 9.3, 0.9, 1.86},
  {10, 11.2, 1, 2.24}
  }

Which look's like:

enter image description here

I tried to do it with LinaerModelFit and NonLinearModelFit, but I don't get it yet how I could could take both errors in account.

Thank you very much!

POSTED BY: Philipp Krönert
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