1 vote
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 ...
• 439
1 vote
296 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 ...
• 11
63 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? ...
• 249
61 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. ...
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?
604 views

Does anyone have Mathematica code for Deming regression?

Deming regression finds a regression line that relates x and y variables for how they covary, i.e., it finds the relationship between x and y, whereas, for example, ordinary least squares would find ...
• 717
1 vote
2k 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$$ ...
• 731
3k 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 ...
• 51
562 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 ...
• 393
2k 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 ...
• 41