Finding uncertainty for varying error bars

Click For Summary
SUMMARY

The discussion focuses on determining the gradient and y-intercept of a linear graph representing Compton scattering, specifically the relationship between 1/E' and (1-cos θ). The user seeks to incorporate physically obtained uncertainties rather than relying solely on Excel's LINEST function. They express a need for a method to find maximum and minimum gradient lines despite varying error bars, and mention the potential use of Mathematica for weighted regression fitting. The user ultimately resorts to a brute force approach for immediate results while remaining open to more efficient solutions.

PREREQUISITES
  • Understanding of Compton scattering principles
  • Familiarity with linear regression analysis
  • Proficiency in using Excel for data analysis
  • Knowledge of Mathematica for advanced statistical functions
NEXT STEPS
  • Research "weighted regression in Excel" to apply varying error bars effectively
  • Explore "Mathematica weighted regression functions" for advanced fitting techniques
  • Learn about "error propagation in physics experiments" to better understand uncertainty calculations
  • Investigate "data visualization techniques in Excel" to enhance graph representation
USEFUL FOR

Physics students, researchers in experimental physics, data analysts working with uncertainty in measurements, and anyone involved in statistical data fitting.

joelwong
Messages
2
Reaction score
0

Homework Statement


I am currently doing an experiment on Compton scattering and have plotted a linear graph of 1/E' on (1-cos θ), where E' is the scattered gamma ray energy. My goal is to find the value of the gradient and y-intercept with their corresponding uncertainties. Instead of using the statistical uncertainty as given by excel's LINEST function, I want to use the physically obtained ones. i.e. Due to the limitations of the apparatus. This has resulted in varying error bars for each point, which makes it very difficult to find the lines with max/min gradient. Is there any function in excel to find the max/min gradient lines?

I use Mathematica too if it helps.

Homework Equations


The equation is:

1/E' = 1/E + 1/mc2(1-cos θ)

The gradient is 1/E and the y-intercept is 1/mc2

The Attempt at a Solution


I know I can probably do it the brute force way- adjusting the lines until it fits within the error bars. But I' ve encountered this a few times already and I'm wondering if there is a function to do it quickly.
 
Physics news on Phys.org
A crude way is to repeat data points according to the degree of certainty. Can you figure out the relationship?
But what you really want is a weighted regression fit. I don't know if Mathematica offers that. If not, you could write some spreadsheet formulas to do it.

And welcome to PF.
 
Thanks haruspex for the reply.

I'm not too sure what you mean by repeat data points according to the degree of uncertainty.

The uncertainty for (1-cosθ) is simple, d(1-cosθ) = sinθ dθ, so the uncertainty increases with θ. I have taken results for 15°, 30°, 45°,...

The uncertainty relationship for E' is not as simple- it is based on the FWHM of each photopeak of the spectrum, so there is no clear relationship.

The spectrum is taken by using a NaI(Tl) detector over a period of time. Thus, multiple readings will not make any difference, since every time period is independent of the other. Thus, the data points I have obtained over 180s are total counts over that period of time. Taking multiples readings and adding them up will get me the same result.

Note: I decided to do it the brute force way for now, since I have to submit the report. But I still welcome any responses, since it's something good to learn. I'll see if I can craft some excel function to do the trick when I have the time.
 

Similar threads

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