- #1

- 3

- 0

- Thread starter h_userd23
- Start date

- #1

- 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

- 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

The wiki entry is not very clear.Thanks for the response, but how do you calculate the slope error from that?

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,657

- 3,728

- #6

- 412

- 164

- #7

- 3

- 0

Thanks everyone this has been a great help!

- Last Post

- Replies
- 3

- Views
- 578

- Last Post

- Replies
- 1

- Views
- 2K

- Replies
- 10

- Views
- 5K

- Replies
- 7

- Views
- 18K

- Last Post

- Replies
- 2

- Views
- 749

- Replies
- 4

- Views
- 3K

- Replies
- 8

- Views
- 4K

- Last Post

- Replies
- 3

- Views
- 3K

- Last Post

- Replies
- 4

- Views
- 691

- Replies
- 1

- Views
- 1K