Linked Questions

1
vote
0answers
1k views

x and y axis nonlinear error fit possible? [duplicate]

I have a set of datapoints with x (position) errors as well as y (measurement) errors. Is there a way in Mathematica to fit a nonlinear function through this points, with weighting both, the x and y ...
1
vote
0answers
171 views

Fitting Data when both Variables Have Uncertainties [duplicate]

Does there exist a method in Mathematica for fitting some function f(x; a, b)=y (with parameters a, b) to data of the form {x, y} when both x and y have different uncertainties? It seems like it would ...
0
votes
0answers
55 views

Plotting error bars in both dimensions for straight line model [duplicate]

I want to fit a straight line model of the form $y_i = a+ b\ x_i$ to the list of $(x, y)$ pairs given below. How can I plot the data with error bars in both coordinates? ...
2
votes
0answers
53 views

How can I account for assumed X and Y errors when using findfit? [duplicate]

I'm using very noisy biological data, and I need to assume, when doing linear regression, that there are errors in both X and Y. ...
17
votes
1answer
1k views

Using perpendicular offsets in FindFit

I want to use perpendicular offsets in the built-in FindFit function. Are there any possible ways or do I have to code everything by myself?
0
votes
2answers
861 views

Find min-max for slope in linear fit

I have a following data which follows a linear model with intercept zero, i.e. $$y = mx $$ ...
5
votes
1answer
2k views

Linear regression with x and y errors

I have a question about finding a linear regression weighted with x and y errors. I found the answer provided by 0x4A4D in Estimate error on slope of linear regression given data with associated ...
0
votes
1answer
413 views

Efficiency problem with least square algorithm (Error in both variables)

I was informing myself about the least square algorithms with errors in x and y. I found this post and the top answer wasn't ...
2
votes
0answers
1k views

Fit linear data with weights for y and x in LinearModelFit

I am quite new using Mathematica, I hope someone could give me some help. I have a set of {x, y} data and I have a list of {deltaX, deltaY} standard deviation. I would like to fit my data taking into ...
0
votes
0answers
543 views

How to fit a plot with error bar as weight?

I try to fit a line which can fit through the points considering the error weight of each coordinate. Is it possible to do in Mathematica? I can only find Fit function which did not do what I really ...
3
votes
1answer
217 views

Weighted orthogonal least squares without constant term

This post Estimate error on slope of linear regression given data with associated uncertainty gives the function for the linear regression in the case where both x- and y- data are affected by errors. ...