SPANC -- SPlitpole ANalysis Code User Manual

Similar documents
Negative Binomial Regression

Analytical Chemistry Calibration Curve Handout

Comparison of Regression Lines

Chapter 13: Multiple Regression

x = , so that calculated

November 5, 2002 SE 180: Earthquake Engineering SE 180. Final Project

Statistics MINITAB - Lab 2

PHYS 450 Spring semester Lecture 02: Dealing with Experimental Uncertainties. Ron Reifenberger Birck Nanotechnology Center Purdue University

APPENDIX 2 FITTING A STRAIGHT LINE TO OBSERVATIONS

Polynomial Regression Models

Linear Approximation with Regularization and Moving Least Squares

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

Lecture 3 Stat102, Spring 2007

8.6 The Complex Number System

Multiple Contrasts (Simulation)

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

= = = (a) Use the MATLAB command rref to solve the system. (b) Let A be the coefficient matrix and B be the right-hand side of the system.

Chapter 11: Simple Linear Regression and Correlation

Statistics Chapter 4

UNIFAC. Documentation. DDBSP Dortmund Data Bank Software Package

Case A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k.

THE VIBRATIONS OF MOLECULES II THE CARBON DIOXIDE MOLECULE Student Instructions

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Inductance Calculation for Conductors of Arbitrary Shape

2.3 Nilpotent endomorphisms

Lecture Notes for STATISTICAL METHODS FOR BUSINESS II BMGT 212. Chapters 14, 15 & 16. Professor Ahmadi, Ph.D. Department of Management

NUMERICAL DIFFERENTIATION

Generalized Linear Methods

Uncertainty in measurements of power and energy on power networks

Chapter 14 Simple Linear Regression

x i1 =1 for all i (the constant ).

Lecture 6: Introduction to Linear Regression

Introduction to Regression

U-Pb Geochronology Practical: Background

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations

Review: Fit a line to N data points

Bayesian predictive Configural Frequency Analysis

Problem Set 9 Solutions

Stanford University CS359G: Graph Partitioning and Expanders Handout 4 Luca Trevisan January 13, 2011

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Biostatistics 360 F&t Tests and Intervals in Regression 1

Chapter 15 Student Lecture Notes 15-1

Statistics for Managers Using Microsoft Excel/SPSS Chapter 14 Multiple Regression Models

STAT 511 FINAL EXAM NAME Spring 2001

Y = β 0 + β 1 X 1 + β 2 X β k X k + ε

General Linear Models

Lossy Compression. Compromise accuracy of reconstruction for increased compression.

Composite Hypotheses testing

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands

Appendix B: Resampling Algorithms

The SAS program I used to obtain the analyses for my answers is given below.

Physics 181. Particle Systems

CinChE Problem-Solving Strategy Chapter 4 Development of a Mathematical Model. formulation. procedure

= z 20 z n. (k 20) + 4 z k = 4

AS-Level Maths: Statistics 1 for Edexcel

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 3: Probability Distributions

Lab 2e Thermal System Response and Effective Heat Transfer Coefficient

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

/ n ) are compared. The logic is: if the two

Chapter 9: Statistical Inference and the Relationship between Two Variables

Statistics for Economics & Business

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

Kernel Methods and SVMs Extension

Laboratory 3: Method of Least Squares

The decomposition of inequality and poverty

Linear Regression Analysis: Terminology and Notation

A REVIEW OF ERROR ANALYSIS

9 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations

Chapter 15 - Multiple Regression

Lecture 10 Support Vector Machines II

SUPPLEMENTARY INFORMATION

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

Bayesian Analysis for 4 7 Be + p 5 8 B + γ Based on Effective Field Theory

Credit Card Pricing and Impact of Adverse Selection

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

Report on Image warping

STAT 3008 Applied Regression Analysis

Week 9 Chapter 10 Section 1-5

28. SIMPLE LINEAR REGRESSION III

Measurement Uncertainties Reference

Chapter 3 Describing Data Using Numerical Measures

Durban Watson for Testing the Lack-of-Fit of Polynomial Regression Models without Replications

Complex Numbers Alpha, Round 1 Test #123

e i is a random error

PASS Sample Size Software

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

UNIVERSITY OF TORONTO Faculty of Arts and Science. December 2005 Examinations STA437H1F/STA1005HF. Duration - 3 hours

Simulated Power of the Discrete Cramér-von Mises Goodness-of-Fit Tests

Linear Feature Engineering 11

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

Some basic statistics and curve fitting techniques

This column is a continuation of our previous column

Transcription:

Functonal Descrpton of Code SPANC -- SPltpole ANalyss Code User Manual Author: Dale Vsser Date: 14 January 00 Spanc s a code created by Dale Vsser for easer calbratons of poston spectra from magnetc spectrometer experments. In partcular, t was created for use at Yale Unversty for analyzng spectra from our Enge spectrometer. In Spanc, the user enters descrptons of the targets and reactons used n an experment. Then, they enter nformaton about peaks whch are to be used for calbraton of the spectra. Spanc can then ft the calbraton peaks wth polynomals of order 1 thru 4. ρ s ftted as a functon of spectrum channel. The user can then enter addtonal peaks, along wth whch reacton they are assocated wth. Spanc wll return back estmates of ρ and exctaton energy, based on the calbraton curve. Spanc can save nput data, calbraton nfo, and output data to a fle, whch can then be loaded back n later on. Also, Spanc can save a report to a text fle of the nput data, calbraton, and output data. How to Use Spanc A typcal sesson of Spanc goes as follows: 1) Enter nformaton about targets. ) Enter nformaton about reactons. 3) Enter nformaton about calbraton peaks. 4) Select a polynomal ft order. 5) Enter output peaks, and see results. Detaled nstructons on each of these steps follows. Enterng Target Informaton Select the 'Lst Targets...' opton from the Targets menu. Ths dsplays the 'Target Lst' dalog box. To add a new target, clck the button 'Add' n ths dalog box. A 'Defne Target' dalog box appears. By default, ths dalog box shows nformaton for a 0 µg/cm carbon target. If ths s what s desred, all that s necessary s to gve t a name, and clck 'OK'. The target defnton table n the 'Defne Target' dalog has one row for each layer n a target. Layer 0 s the frst layer the beam encounters, and each successve Layer number s the next layer downstream. Layers may be added by clckng 'Add Layer'. Ths adds a layer to the end of the lst, whch s gven a default value of 0 µg/cm of carbon. If you clck on a row, and then clck 'Remove Layer', that layer gets removed from the table. The 'Components' cell for a layer may be edted to specfy what elements are n the layer n what proportons. The format s smple. For each element, type an element symbol (upper/lower case does matter) followed by a space and a number. The numbers should represent the relatve numbers of

atoms of each element n the target. For example, slcon doxde would be entered as "S 1 O ". The 'Thckness' cell for a layer may be edted to gve the thckness n µg/cm for that layer. Clckng 'OK' or 'Apply' creates the target object. It wll now be lsted n the 'Target Lst' dalog box. Selectng one of the targets n the lst, and clckng 'Dsplay' wll dsplay a 'Dsplay Target' dalog. In t, you wll see the target as you defned t. Note that the numbers for each element wll be renormalzed to a total of 1. I recommend that you always dsplay a target after creatng t, n order to double check that t was created properly. Targets may be deleted by selectng them n 'Target Lst', and clckng 'Remove'. Enterng Reacton Informaton A reacton n Spanc s specfed by a beam nuclde, beam energy, spectrometer B-feld, target, nteracton layer, target nuclde, projectle nuclde, projectle charge state, and spectrometer angle. All ths nformaton may be entered for a new reacton by clckng 'Add Reacton' n the 'Calbraton Reactons' secton of the man wndow. Ths dsplays an 'Add Reacton' dalog. The 'Beam' and 'Projectle' felds are for specfyng the nucldes. In them, you must enter the nuclde n the form AAAZZZ, where AA s the mass number of the nucleus, and ZZZ s the element symbol. For example, slcon-9 would be entered as "9S". The beam energy s entered n MeV, and the B-feld s entered n kg. The target s specfed by choosng one of your entered targets from a dropdown lst. The layer that your reacton s assumed to occur n must then be selected from the 'Layer' slder. 'Target Nuclde' s a drop-down lst contanng all known sotopes of elements n your chosen target layer. Select the desred sotope. Q s an nteger representng the charge state of your projectle. Fnally, the angle of the spectrometer must be entered n degrees. For every nuclde partcpatng n the reacton, t s possble to specfy the mass as havng uncertanty. When calbratng an experment nternally,.e. usng well known calbraton peaks from the same reacton as the output peaks, the masses can be treated as exact. However, when dfferent reacton channels are used for calbratng, any dfferent reactants and products should have ther mass uncertantes counted. Clckng 'OK' or 'Apply' creates the reacton, and adds t to the 'Calbraton Reactons' table n the man wndow. Each reacton has a number assocated wth t n the 'Reacton' column, whch you wll use when specfyng calbraton peaks and output peaks. Selectng a row n the reacton table, and clckng 'Remove Reacton' wll delete a reacton from the lst. Enterng Calbraton Peak Informaton Calbraton peaks n Spanc are specfed by a reacton, a projectle exctaton energy, a resdual exctaton energy, and a centrod channel. To add a calbraton peak, clck 'Add Peak' n the 'Calbraton Peaks' secton of the man wndow. Ths dsplays an 'Add Calbraton Peak' dalog. Select whch reacton the peak belongs to usng the 'Reacton' slder. You must do ths at least once, even f t appears that your desred reacton s already selected. Enter an exctaton energy n MeV for the projectle. A default value of 0 s already present. Projectle exctaton energes are assumed to be exact n Spanc at the present tme. Enter the resdual exctaton energy n MeV n the 'Ex Resdual [MeV]' feld, and the uncertanty n kev n the 'Ex Resdual Unc. [kev]' feld. These unts were chosen

because they are the standard unts used n the Table of Isotopes. In the next two felds, enter the centrod channel for your peak, and ts uncertanty. Clckng 'OK' or 'Apply' creates the peak, and adds t to the 'Calbraton Peaks' table n the man wndow. ρ s calculated automatcally for the peak, along wth an uncertanty based on entered resdual exctaton energy. If any reacton partcpant nucldes have been specfed as havng mass uncertanty (see the secton on enterng reacton nformaton), ther mass uncertantes are also ncluded n ρ s uncertanty. Spanc, lke all of my nuclear physcs codes, gets ts nuclear masses from the 1995 evaluaton by Aud and Wapstra 1 (as provded by the fle mass_rmd.mas95 avalable at http://csnwww.np3.fr/amdc/web/amdcw_en.html). Spanc assumes that the nuclear nteracton pont n the target s exactly halfway through the specfed nteracton layer. Beam energy loss s calculated up to ths pont (for normal ncdence), and used as the beam energy n the -body knematcs calculaton. The projectle has ts energy loss through the remander of the target. The projectle energy loss uses the ext angle out of the target nto the spectrometer. The fnal projectle energy after extng the target s reflected n the reported ρ value. Energy losses are calculated usng the formulas gven n Zegler. Performng a Ft Spanc performs lnear regressons to ft ρ as a functon of channel usng polynomal. The polynomals may be 1st order thru 4th order. The dependence ft s as follows: ρ = a0 + a1 * (Channel - Channel[0]) + a * (Channel - Channel[0])^ +... Channel[0] s smply the unweghted mean of all the calbraton peak channels. It s exact, and not really a parameter of the ft. Rather, t s a constant shft of the data made n order to reduce the covarance between the a0 and a1 terms. (In an unweghted 1st-order lnear regresson, ths transformaton actually elmnates the covarance.) The value of Channel[0] s dsplayed all the way to the rght n the 'Ft' secton.. To perform a ft, smply slde the 'Ft Order' slder to the desred order of polynomal you would lke to use. Spanc dsplays the degrees of freedom n the 'd.o.f.' box, and requres that there be at least one degree of freedom before t wll perform a ft. When performng a ft, Spanc frst assumes the channels (x-axs) to be exact, and performs a weghted ft usng the ρ error bars (y-axs). Ths s a standard lnear regresson wth error bars n the y-axs. It then uses ths ft as an approxmaton to determne an effectve contrbuton of the channel error bars n the y-axs (ft slope at channel * channel error bar). Ths gets added n quadrature wth the gven y-error bar to gve an effectve y-error bar. A second ft s performed wth these effectve y-error bars. 'ChSq/d.o.f.' contans the calculated value of the χ statstc for the ft, dvded by degrees of freedom. The expectaton value for the χ dstrbuton s the number of degrees of freedom. Therefore, for good fts, you expect to see a value for 'ChSq/d.o.f.' near 1. The 'p-value' feld contans the tal probablty of the χ dstrbuton for ths ft. It s the probablty that 'ChSq/d.o.f.' would be equal to or greater than the present calculated value f the ft does, n fact, represent the true calbraton curve. Ideally, t should be greater than 0.90 or 0.95, but anythng above 0.5 should be OK, n my opnon. The true check of the goodness-of-ft s to take a look at the resduals, whch are lsted n the second table n the 'Ft' secton. The 'Resd./Sgma' column uses the effectve y-error bars calculated for the ft. If the ft s

good, about /3 of the values n ths column should be less than 1. One wouldn't expect more than about one n twenty values to be greater than. The ftted parameters, along wth ther assocated error bars are lsted n the frst table n the 'Ft' secton. The error bars are smply the square of the approprate dagonal element n the covarance matrx. The covarance matrx s dsplayed to the rght n the same table. Enterng Output Peaks Output peaks n Spanc are specfed by a reacton, a projectle exctaton energy, and a channel. Output peaks are dsplayed n the bottom secton of the man wndow, and are entered n a very smlar fashon to the calbraton peaks. Clckng 'Add Peak' n the 'Output Peaks' secton dsplays an 'Add Output Peak' dalog. Agan, you must slde the 'Reacton' slder to the desred reacton number, even f t appears to already be selected. The projectle exctaton energy s agan presumed to be exact and gven a default value of zero, whch you may change. Channel number and uncertanty are entered just as wth the calbraton peaks. Clckng 'OK' or 'Apply' creates the output peak. If a calbraton ft has already been performed, the peak s added to the table n the 'Output Peaks' secton. In ths table, a ftted value for ρ s dsplayed. The exctaton energy for the resdual nucleus s calculated for ths ρ by addng back the energy loss to the nteracton pont n the target, then workng the two-body knematcs n reverse. The exctaton energy error bar s determned from the ρ, whch has ts error bar calculated as descrbed below. Two sources of error are added n quadrature: the channel uncertanty n the output peak, and the predcton nterval one gets assumng the output peak channel were known exactly. The former smply comes from multplyng the channel error bar by the slope of the ft functon evaluated at the channel. The second s the Predcton Interval, calculated by the followng formula: Channelout Channel[0] P. I. = ± t α ; dof MSE InputChannel Channel[0] where SSE MSE = and d. o. f. effectve ( resdual σ ) effectve ( 1 σ ) MSE = For a t-dstrbuton wth r degrees of freedom, the probablty for values greater than t(α;r) s equal to α. Ths t-dstrbuton s the approprate samplng dstrbuton for the calculated ft values. α n the above expresson for the predcton nterval s chosen to be 1-0.683, where 0.683 s the probablty nsde ±1σ for the standard normal dstrbuton. Notce that the Predcton Interval has a parabolc form where the predcton uncertanty s lowest at the center of the calbraton data.

Adjusted Error Bars There s a checkbox n the output peaks secton for adjustng error bars. If ths box s checked and χ /d.o.f. s greater than 1, the predcton nterval error bars get multpled by the square root of χ /d.o.f. Ths s to attempt to compensate for a poor qualty calbraton by amplfyng the uncertanty. It s equvalent to assumng that your calbraton peak error bars were under-estmated by a factor whch would gve the expected value of χ /d.o.f.=1. Ths s not a statstcally justfable procedure, but t can come n handy when one s tryng to get a rough calbraton of a data set. Savng Data and Creatng Reports In the 'Fle' menu, you may select 'Save Data...' to save your entered targets, calbraton reactons, calbraton peaks, and output peaks to a fle. 'Load Data' may then be used to load ths nformaton back nto Spanc. You may also select the 'Text Export...' menu tem to create a text fle showng all your entered nformaton and calbraton results n a human-readable format. The text fle gves Adjusted error bars for output peaks, whch are equal to the predcton nterval for good fts (χ /d.o.f. 1). For χ /d.o.f.>1, t s modfed as dscussed n the above secton. References 1 G. Aud and A. H. Wapstra, Nuclear Physcs A 595 (4), 409 (1995). J.F. Zegler H.H. Andersen, The Stoppng and Ranges of Ions n Matter 3 (1977); J.F. Zegler H.H. Andersen, The Stoppng and Ranges of Ions n Matter 5 (1977).