How to find the uncertainty of a slope (using software)?

Click For Summary
To find the uncertainty of a slope in a graph derived from experimental data, it's important to consider the uncertainties associated with each data point, not just the standard error of the slope calculated by software like Origin. The standard error only accounts for the deviation of data points from the best fit line, which may underestimate the true uncertainty if individual data points have their own uncertainties. Using weighted least squares regression can help incorporate these uncertainties into the slope calculation. Software such as MATLAB offers this capability, allowing for a more accurate estimation of slope uncertainty. Exploring these methods will enhance the reliability of the results presented in the lab report.
dilloncyh
Messages
39
Reaction score
0
I've just done an experiment and need to calculate the slope of the best fit straight line, but I'm having some trouble with it.

First, let me briefly describe the experiment. I need to vary the distance two metal plates and find the capacitance of it. I tried to record the value a few points on the curve (time and voltage) shown on the oscilloscope, and then plot the graph of ln(V/V0) against t, and the slope equals -1/RC. Then, after I got the values of C for a few different distances, I plotted another graph C against 1/d, and the slope equals permittivity times area of the plate.

Here comes the problem. When I used the software origin to plot the graph, it calculates the slope and the standard error. However, standard error only depends on the deviation of the data point from the best fit line (correct me if I'm wrong), but each data point (voltage, time, and so the calculated C) has uncertainty, and the size of the error bar will not affect the standard error, leading to a smaller slope uncertainty that I believe. I can get a value of something like -3 +/- 0.5 for ln(V/V0), and if I draw the max and min slope that fit within the error bar, the uncertainty is definitely larger than the standard error that origin calculates. So, my question is, are there other methods to estimate the uncertainty of the slope other than using standard error, like drawing two more slopes with the maximum and minimum values? I'm expecting some ways of doing it using the computer(like using origin or other software), as I will need to attach the graph to the soft copy of my lab report.

thanks
 
Physics news on Phys.org
I do not have a good working knowledge of physics yet. I tried to piece this together but after researching this, I couldn’t figure out the correct laws of physics to combine to develop a formula to answer this question. Ex. 1 - A moving object impacts a static object at a constant velocity. Ex. 2 - A moving object impacts a static object at the same velocity but is accelerating at the moment of impact. Assuming the mass of the objects is the same and the velocity at the moment of impact...

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
Replies
10
Views
7K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
25K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K