Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to evaluate an uncertainty involving an experimental correlation?

  1. Aug 31, 2012 #1
    Thank you to understand that this is not a homework!

    I have to evaluate the uncertainty of a measurement but the baseline is also with uncertainty (correlation). I would like to have some ideas or suggestions on the best way to evaluate the uncertainty. Here is the problem:

    We have an aqueous solution for which, the density D is temperature T and concentration X dependent:
    D = a + bX + cX² + T (d + eX)
    This expression is an experimental correlation (from the literature) whose accuracy is 2%.
    T: temperature; absolute uncertainty = 0.5°C

    We measure our solution temperature T and density D. We solve the above correlation equation in order to find the concentration X. WHAT IS THE UNCERTAINTY OF THE OBTAINED VALUE X?

    Is it correct to consider that the uncertainty of “variable” D is 2%?

    Thank you.
  2. jcsd
  3. Sep 1, 2012 #2

    Stephen Tashi

    User Avatar
    Science Advisor

    In the context of fitting equations and making measurements, I know of no standard definition for the term "uncertainty". The answer to this problem will depend on what you and the authors of the equation mean by "uncertainty".

    The authors of the equation might mean that all the true values of the D's lie within plus or minus 2% of the the value predicted by the equation. Or they might mean that the errors in prediction are normally distributed with a standard deviation of about 2% of the predicted value. Or maybe the 2% describes two standard deviations, etc.

    If you can find out what "uncertainty" means or state your preferred assumption about what it means, then the problem might become well posed.

    Must we also consider possible errors in you measurement of T ?
  4. Sep 1, 2012 #3
    Thank you for the answer. Actually, I did not "care" about because I usually think "uncertainty" and nothing more. But now, I can find, you are right, the authors stated "standard deviation".

    Temperature sensor: as suggested in my first post, the accuracy of our thermocouple is 0.5°C and has to be taken into account in the uncertainty calculation.
    Thank you.
  5. Sep 1, 2012 #4


    User Avatar
    Science Advisor

    You can fit models like this with standard programs but there are usually assumptions about the residuals of the errors (which are typically assumed to be normal, and all errors are assumed to be independent against all the other errors).

    You can do all of this kind of thing in most common statistical packages including a very nice free one called R. After you check the assumptions and take into account the nature and context of your data (and see if all of this seems OK for the following analysis) then you can generate estimators for the parameters including the point estimates at the standard error which can be used to generate intervals and also to help describe the "uncertainty" of the model.
  6. Sep 1, 2012 #5

    Stephen Tashi

    User Avatar
    Science Advisor

    I'll guess about the hocus-pocus that a software package would do::

    Let [itex] D = f(X,T) = a + bX + X^2 + T(d + eX) [/itex]

    Use the linear approximation
    [itex] D + \triangle D = D + \triangle X \frac{\partial f}{\partial X} + \triangle T \frac{\partial f}{\partial T} [/itex]

    [itex] \triangle D = \triangle X \frac{\partial f}{\partial X} + \triangle T \frac{\partial f}{\partial T} [/itex]

    [itex]\triangle D = \triangle X (b + Te + 2X) + \triangle T (d + eX) [/itex]

    So [itex] \triangle X = \frac{1}{b + Te + 2X} ( \triangle D - (d + eX)\triangle T )[/itex]

    Let [itex] A(X,T) =\frac{1}{b + Te + 2X} [/itex] and [itex] B(X) = d + eX [/itex]

    [itex] \triangle X = A(X,T) \triangle D - B(X) \triangle T [/itex]

    Consider [itex] \triangle D [/itex] and [itex] \triangle T [/itex] to be independent random variables representing measurement errors and let [itex] D,T,X [/itex] be the unknown true values of the variables

    [itex] \sigma^2 _{\triangle X} = A^2(X,T) \sigma^2_{\triangle D} + B^2(X) \sigma^2_{\triangle T} [/itex]

    The "accuracy" of thermocouple is another ambiguous term. Taking "accuracy" to mean "standard deviation", [itex] \sigma_{\triangle T} = 0.5 [/itex].

    [itex] \sigma^2_{\triangle X} = A^2(X,T) (.02 D)^2 + B^2(.05 )^2 [/itex]

    This would be helpful if we knew [itex] X,D,T [/itex]. However, we only know the measured values [itex] X + \triangle X, D + \triangle D, T + \triangle T [/itex]. I speculate that a software package might substitute the values measured values for [itex] X,T,D [/itex] in the above equation. To justify that, we'd have to examine whether the right hand side of the equation is sensitive to small changes in [itex] X,T,D [/itex]. (You can do some numerical tests to find out.)


    How you approach this problem depends on how serious the analysis must be. Are you simply looking for a number to put in a report that nobody is likely to scrutinize? Or is some critical theoretical or financial decision going to be made that depends on your estimate of [itex] \sigma_{\triangle X} [/itex] ?
  7. Sep 1, 2012 #6
    Thank you both for your responses. Yes, I will try to well understand the calculations of Stephen Tashi. There is no critical decision that is going to be taken but I as a scientist, we usually need to evaluate the uncertainties of our measurements in order to evaluate the significance of our results. For example if the two "different" concentrations values are obtaines, let say for example 55.2 wt% and 56 wt% and the precision of the measurement is 1.5 wt%, we could hardly say that there is a difference between the values.
    chiro: I do not know actully if R could help me because the aim is not to fit a model. We measure only T and D and we calculate X using the correlation. We then need to evaluate the uncertainty. I am sorry that my vocabulary is not so correct: "uncertainty", "precision", "accuracy". We are so used to used them interchangeably.
    thank you.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook