Derive error formula for Lambda (25 C)

Click For Summary
The discussion revolves around estimating the error of the equivalence conductivity of NaCl at 25°C using a derived formula that involves a covariance matrix. The user has fitted a line to their data using Excel but is struggling with the mathematical derivation and the calculation of the covariance elements, particularly the off-diagonal elements which indicate the correlation between the errors in the slope and intercept. It is emphasized that partial derivatives are essential for error propagation in functions of multiple variables. The user seeks clarification on how to obtain the complete covariance matrix, specifically the unknown elements C12 and C21. Overall, the thread highlights the complexities of error estimation in data fitting and the need for a deeper understanding of statistical methods.
lep11
Messages
380
Reaction score
7
In physics lab course I measured equivalence conductivity of NaCl in infinite dilution Λ0 as a function of temperature T.

So I have observations (T, Λ0) and fitted a line using the least squares method in Ms excel (lol :oldbiggrin:).
The formula of the line is Λ0(T)=c0+c1T, where c0 and c1 are constants.

I am asked to estimate the error of Λ0(25 C) using the following formula

σΛ0(T)=(C11+T(C12+C21)+T2C22),

where Cij are elements of covariance matrix and T is temperature in centigrades. I have matlab, but don't know the commands and how to calculate.

I am also asked to derive the formula above on paper and honestly I have no idea where to begin.
However, I am given this clue;

2zfsqia.png

Those partial derivatives confuse me

I will appreciate any help!
 
Last edited:
Physics news on Phys.org
No responses so far, must be a complicated subject ...

You used excel linest ? Did it give you the whole matrix ?

Reason you need the off-diagonal elements is that the errors in ##c_0## and ##c_1## are correlated: the fitted line goes through the center of gravity of the measurements, which generally is not on the y-axis. 'Wiggling' the line shows that the error in the intercept is partially due to the error in the slope.

Does this thread help you ? Or the references mentioned ?
 
BvU said:
You used excel linest ? Did it give you the whole matrix ?
Yes and yes.
BvU said:
Does this thread help you ? Or the references mentioned ?
Not really, unfortunately.
 
Well, then we have to go through step by step. Partial derivatives pop up when functions are functions of more than one variable. Generally error propagation works with partial derivatives. Errors are supposed to be small and the derivatives give a linear approximation for the propagation.

Show what you have so far and we'll pick it up at σΛ0(T)=(C11+T(C12+C21)+T2C22), which I find strange: T shouldn't appear there.
 
Okay, now I think I've figured it out. I have to submit my work due to Monday.

Does this make any sense?
The error of line fitting is function of c1 and c2.
2rmkqia.png

Sorry, the picture is a bit blurry and unclear.

The only problem is, how do I get the covariance-variance matrix between c1 and c2?

(I know C11 and C22 because excel gave variances, but C12 and C21 are still unknown.)
 
Last edited:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
518
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 123 ·
5
Replies
123
Views
8K
  • · Replies 21 ·
Replies
21
Views
4K