- #1

h_userd23

- 3

- 0

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter h_userd23
- Start date

- #1

h_userd23

- 3

- 0

- #2

Quantum Defect

Homework Helper

Gold Member

- 495

- 116

See: http://en.wikipedia.org/wiki/Weighted_least_squares#Weighted_least_squares

Weights are 1/(error)^2, where "error" is the uncertainty in the y-value

- #3

h_userd23

- 3

- 0

Thanks for the response, but how do you calculate the slope error from that?

- #4

Quantum Defect

Homework Helper

Gold Member

- 495

- 116

Thanks for the response, but how do you calculate the slope error from that?

The wiki entry is not very clear.

If you can pick up a copy of Bevington, "Data Reduction and Error Analysis in the Physical Sciences" there is a very nice discussion of calculating the errors on the fitting parameters for least-squares with weights. Another source is Press, Teukolsy, Vetterling and Flannery, "Numerical Recipes in C".

Look at http://mathworld.wolfram.com/LeastSquaresFitting.html for another discussion of this. (Eqs. 34, 35) give equations for the standard errors in the slope and intercept.

- #5

jtbell

Mentor

- 15,940

- 4,607

- #6

brainpushups

- 437

- 186

- #7

h_userd23

- 3

- 0

Thanks everyone this has been a great help!

Share:

- Last Post

- Replies
- 6

- Views
- 705

- Last Post

- Replies
- 3

- Views
- 839

- Last Post

- Replies
- 1

- Views
- 2K

- Replies
- 12

- Views
- 917

- Last Post

- Replies
- 6

- Views
- 2K

- Replies
- 35

- Views
- 736

- Replies
- 1

- Views
- 448

- Last Post

- Replies
- 1

- Views
- 3K

- Replies
- 4

- Views
- 441

- Replies
- 3

- Views
- 424