1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Whats the equation for uncertainties of a gradient?

  1. May 6, 2008 #1
    i need to know the formula for calculating the uncertainty of a gradient from a graph. the gradient is being used to calculate the moment of inertia but i can't calculate the error in my I cause i don't know how to calculate the error in my M!!!!

    when i did the experiment, i assumed the error to be 5%(ran out of time) and so worked out the I and its uncertainty using that, but now i'm doing a lab report and can't assume, i have to work it out properly.

    All i want is the formula, i can do the rest of it... Can anyone help?

    Thanks in advance :)
  2. jcsd
  3. May 6, 2008 #2

    Chi Meson

    User Avatar
    Science Advisor
    Homework Helper

    There are many ways of determining the uncertainty of a slope. Without proper statistical analysis, all other methods are approximations. One way is to draw error bars for all your data points. Then draw the maximum possible slope and the minimum possible slope tht could be interpreted with your error bars. Your best fit should be in the middle, and your max and mins would be the plus and minus.

    Here's a page with further explanation. See section C at the bottom of the page.
  4. May 6, 2008 #3


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Fitting a line [itex]a+bx[/itex] to [itex]n[/itex] data pairs [itex]x_i,y_i[/itex]:

    [tex]a=\bar y-b\bar x[/tex]

    [tex]b=\frac{\sum_i(x_i-\bar x)(y_i-\bar y)}{\sum_i(x_i-\bar x)^2}[/tex]

    The standard deviation of the slope is

    [tex]s_b=\sqrt{\left(\frac{1}{n-2}\right)\left[\frac{\sum_i(y_i-\bar y)^2}{\sum_i(x_i-\bar x)^2}-\left(\frac{\sum_i(x_i-\bar x)(y_i-\bar y)}{\sum_i(x_i-\bar x)^2}\right)^2\right]}[/tex]

    From Motulsky's Intuitive Biostatistics.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Whats the equation for uncertainties of a gradient?
  1. Uncertainty equations? (Replies: 1)