P445/515 Data Analysis using PAW

Size: px
Start display at page:

Download "P445/515 Data Analysis using PAW"

Transcription

1 P445/515 Data Analysis using PAW C. McGrew February 10, 2003 Abstract PAW (Physics Analysis Workstation) is a complete physics analysis package developed at CERN to handle high energy physics data. It is well suited to handle most types of physics data (with the exception of image and spectral analysis). A solution to a typical fitting problem is presented. 1 Introduction PAW is a very powerful data analysis package that was developed by CERN as part of they high energy program. It provides an interactive interface to the extensive CERNLIB library of routines that has been developed since the early 1970 s. While CERNLIB is almost entirely Fortran, a language that is falling out of favor, the routines within the library are extensively debugged and are quite reliable. Most of the core functionality has existed in CERNLIB for more than 20 years and the routines that are used in PAW have been tested by large active physics collaborations. Although, PAW is no longer being actively developed, CERN is committed to maintaining it. Further, since it is built on a well debug library, it is quite solid. PAW has the further advantage that it has been developed by physicists to do physics analysis and has many capabilities that are aimed at allowing us to complete a finished, high-quality, analysis. PAW includes a capabilities to Create histograms from very large datasets, small datasets are also easily handled. This is the core functionality. Do interactive data exploration. Do correct error analysis on the bins of histograms. Do complex non-linear fits to data within histograms using MINUIT. There are extensive facilities to all the correct estimation of parameter confidence intervals including the correct treatment of correlated errors. Create publication quality figures. Much more. 1

2 When you read a paper from high energy physics, the plots were probably generated using paw. There is also extensive documentation available describing the algorithms used. One final interesting PAW feature is the inclusion of an Fortran interpreter as well as the ability to dynamically compile and load user functions. 2 Availability PAW is available from CERN at and follow the download link. You will find versions for Windows and Redhat. The Redhat versions are simply tar files of executables and libraries compiled for the specific architecture and since static linking is used, the objects will work an virtually any GNU system that is roughly contemporaneous with a particular Redhat version. I have not personally installed the windows The daring can also attempt to compile the distribution from source. CERN maintains a large library of CERNLIB documentation on the web, most of it can be viewed using a browser, and also be downloaded as postscript. It was not for nothing that the web was invented at CERN. You can reach the documentation via the web addresses given above. 3 Data Analysis with PAW There are several good books which discuss data analysis in detail[1, 2], and this section is not intended as a data analysis tutorial to replace those detailed treatments. The main goal is to demonstrate the capabilities of PAW so that you can take data analysis techniques which you have learned elsewhere and apply them. PAW has extensive built in help and an excellent manual can be downloaded from the web so I will only sketch the command details here. One thing to keep in mind is that there are at least 5 ways to do anything with PAW. I will be presenting one possible solution. The kumac (or macro) file used to generate the plots and fit can be found in Appendix A. To start paw on Unix, the command is paw. This will present you with a command line interface much like shell. You can type any paw command, but the most useful command is one to execute a macro. For instance, to execute the macro given in Appendix A, the command would be exec solution paw.kumac. 3.1 Read the data into PAW PAW has two important ways to read data and manipulate it. The simplest method to read data is using the vector/read command. This command reads the entire table into memory and is convenient for small, one or two column tables, with fewer than entries. Larger tables may exhaust the memory. Line 19 in the example presented in Appendix A shows how to read a file with a single column of data into a vector. The more complicated and versatile way to read data is to construct an ntuple. Ntuples have been the most common way for HEP experiments to process data and are basically a 2

3 multi-column, sequential data base. Immense amounts of data can be handled with an ntuple and PAW includes many facilities to manipulate them. Check the PAW manual for usage details, particularly see the examples. 3.2 Creating a histogram Histograms are the basis for much of the functionality found in PAW. Using a histogram is a three step process: 1. Create or book a histogram. Both one and two dimensional histograms can be created. 2. Fill the histogram with data. 3. Plot the histogram for inspection or publication. When you make plots, you will find that the default style is inexplicably ugly. In particular, the plot title and labels are too small, the lines are too narrow, and the points are too light for publication. The figures (1 and 2) were generated using settings that most journals will accept and which display well during presentations. The example in Appendix A shows how histograms are created and filled. Line 15 shows how to create a new histogram. In PAW, histograms are referred to by number (1000 in this case). The histogram is created with 100 bins with the bottom edge of the lowest bin at 0 GeV, and the high edge of the highest bin at 2.0 GeV. Line 20 shows how to fill a histogram from a vector. The entries in the vector are processed and each is assigned to an appropriate bin in the histogram. Lines show how to plot the histogram. Notice lines 27, 28 and 32 which create an output file, tell paw to fill it with an encapsulated postscript figure, and then close the file after the histogram has been plotted. By default, paw assigns Poissonian errors (σ N = N) to each bin of a histogram which are appropriate for almost all cases. However, it has the capability to accept user calculated errors if required. Further, by setting the appropriate paw command options, it correct will handle error propagation when operations are performed on the histogram data. 3.3 Fitting the data Inspection of Figure 1 shows that the data contains a peak which can be assumed to be Gaussian on top of a non-constant background. I will fit the data using a model with a Gaussian on top of an exponential background. (E p 4 ) 2 N(E) = p1 e p2e + p 3 e 2p 2 5 (1) Where I have chosen a functional form that is very easy to use in PAW. In fact, PAW can be used to fit any arbitrary function. To demonstrate how arbitrary functions can be used, I encode Equation 1 on lines By default, PAW will perform a χ 2 fit of the model to the data using the MINUIT function minimization package. Details of the fitting procedure are can be found in the PAW and 3

4 Figure 1: A histogram of the data in example.data. 4

5 Figure 2: This data contained in the example.data with the fit applied. 5

6 Table 1: Fit results Parameter Name Fitted value True Value p 1 Background Normalization Factor ± p 2 Background Slope ± p 3 Signal Height 569 ± p 4 Signal Mean ± p 5 Signal Width ± χ 2 At Minimum MINUIT manual, and in some books[1]. PAW has many options that can control the way in which data in a histogram is fit, but the defaults are usually satisfactory. The histogram is fit on line 47 and 48 of the example. Part of doing a fit and getting the right answer is to choose the correct starting values for the parameters. The precise values are not important, but they should be close enough to the true minimum that the fit converges. Line 47 specifies first guesses at function parameters (The parameter definitions are the same as in Equation 1. Typically, any non-zero values with the right order of magnitude are close enough to allow the minimization to converge. Line 48 does the actual fit. There is a complex mathematical theory associated with finding the correct minimum, and a mathematician will tell you that it is not possible to tell if you have found the global minimum. However, in physics we have a very practical solution; we plot the function against the data and check that the fit makes sense. Figure 2 shows the overlay of the data and the fit. It is created on lines of the example. Notice that the values of the best fit parameters are plotted on the figure. This is controlled by the option commands on lines 50 and Results Table 1 gives the results of the fit as well as the true values used to generate the distribution. The χ 2 at the minimum is for 95 degrees of freedom. This implies that 60% of distributions drawn from Equation 1 will have a χ 2 further from 95 than this one does so it is a good fit. A The solution Solution to a problem similar to one assigned in P445/515. This can be found in the file solution paw.kumac that can be found on the course web page. 1 ***************************************************************** 2 * This creates two files: 3 * paw_hist.eps -- The histogram of the data without a fit. 6

7 4 * paw_fit.eps -- The histogram of the data with a fit. 5 * Delete all of the existing histograms. 6 histogram/delete * 7 * Same for vectors. 8 vector/delete * 9 ***************************************************************** 10 * Create a histogram to be filled. 11 ***************************************************************** 12 * This create histogram 1000 and a title "eta zero mass 13 * distribution. The histogram has 100 bins between (low edge of 14 * low bin is 0, high edge of high bin is 2.0). 15 histogram/create/1d 1000 [c]^0! mass distribution ***************************************************************** 17 * Read the data and add it to the histogram. 18 ***************************************************************** 19 vector/read data_vector example.data 20 vector/hfill data_vector ***************************************************************** 22 * Make a histogram plot of the data. 23 * 24 * The magic commands fortran/file and graphics/metafile open an 25 * encapsulated postscript file. 26 ***************************************************************** 27 fortran/file 66 paw_hist.eps 28 graphics/metafile histogram/plot 1000 e 30 * Put a title on the axis. 31 atitle Energy (GeV) N (Events / 0.02 GeV) 32 close ***************************************************************** 34 * Fit the histogram 35 ***************************************************************** 36 * Define a fitting function. I could use internal paw functions, 37 * but this shows how to define an arbitrary function. 38 application comis 39 real function func(x) 40 common /pawpar/ par(5) 41 func = par(1)*exp(par(2)*x) 42 func = func + par(3)*exp(-(x-par(4))**2/(2.0*par(5)**2)); 43 return 44 end 45 exit 7

8 46 * Create a vector with initial parameter guesses and then fit. 47 vector/create par(5) R histogram/fit 1000 func q 5 par 49 * Make a histogram plot of the data and fit. 50 option fit 51 set fit fortran/file 66 paw_fit.eps 53 graphics/metafile histogram/plot 1000 e 55 atitle Energy (GeV) N (Events / 0.02 GeV) 56 close 66 References [1] Byron P. Roe. Probability and Statistics in Experimental Physics. Springer, 2 edition, [2] William H. Press et al. Numerical Recipes The Art of Scientific Computing. Cambridge University Press, Cambridge, 1 edition,

PAW: Physicist Analysis Workstation

PAW: Physicist Analysis Workstation PAW: Physicist Analysis Workstation What is PAW? A tool to display and manipulate data. Learning PAW See ref. in your induction week notes. Running PAW: 2 Versions:- PAW: 2 windows: A terminal window for

More information

Physics Analysis Workstation

Physics Analysis Workstation CERN Program Library Long Writeup Q121 Physics Analysis Workstation User s guide Information Technology Division CERN, Geneva, Switzerland Copyright Notice PAW Physics Analysis Workstation CERN Program

More information

INTRODUCTION TO THE ANAPHE/LHC++ SOFTWARE SUITE

INTRODUCTION TO THE ANAPHE/LHC++ SOFTWARE SUITE INTRODUCTION TO THE ANAPHE/LHC++ SOFTWARE SUITE Andreas Pfeiffer CERN, Geneva, Switzerland Abstract The Anaphe/LHC++ project is an ongoing effort to provide an Object-Oriented software environment for

More information

Programming. Dr Ben Dudson University of York

Programming. Dr Ben Dudson University of York Programming Dr Ben Dudson University of York Outline Last lecture covered the basics of programming and IDL This lecture will cover More advanced IDL and plotting Fortran and C++ Programming techniques

More information

ROOT: An object-orientated analysis framework

ROOT: An object-orientated analysis framework C++ programming for physicists ROOT: An object-orientated analysis framework PD Dr H Kroha, Dr J Dubbert, Dr M Flowerdew 1 Kroha, Dubbert, Flowerdew 14/04/11 What is ROOT? An object-orientated framework

More information

JitKit. Operator's Manual

JitKit. Operator's Manual JitKit Operator's Manual March, 2011 LeCroy Corporation 700 Chestnut Ridge Road Chestnut Ridge, NY, 10977-6499 Tel: (845) 578-6020, Fax: (845) 578 5985 Internet: www.lecroy.com 2011 by LeCroy Corporation.

More information

Graphical Presentation for Statistical Data (Relevant to AAT Examination Paper 4: Business Economics and Financial Mathematics) Introduction

Graphical Presentation for Statistical Data (Relevant to AAT Examination Paper 4: Business Economics and Financial Mathematics) Introduction Graphical Presentation for Statistical Data (Relevant to AAT Examination Paper 4: Business Economics and Financial Mathematics) Y O Lam, SCOPE, City University of Hong Kong Introduction The most convenient

More information

Experimental Physics I & II "Junior Lab"

Experimental Physics I & II Junior Lab MIT OpenCourseWare http://ocw.mit.edu 8.13-14 Experimental Physics I & II "Junior Lab" Fall 2007 - Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Ch. 1.4 Histograms & Stem-&-Leaf Plots

Ch. 1.4 Histograms & Stem-&-Leaf Plots Ch. 1.4 Histograms & Stem-&-Leaf Plots Learning Intentions: Create a histogram & stem-&-leaf plot of a data set. Given a list of data, use a calculator to graph a histogram. Interpret histograms & stem-&-leaf

More information

W7 DATA ANALYSIS 2. Your graph should look something like that in Figure W7-2. It shows the expected bell shape of the Gaussian distribution.

W7 DATA ANALYSIS 2. Your graph should look something like that in Figure W7-2. It shows the expected bell shape of the Gaussian distribution. Drawing Simple Graphs W7 DATA ANALYSIS 2 In some experiments, large amounts of data may be recorded and manipulation is performed using computer software. Although sophisticated, specialist software exists

More information

PAW++ CERN Program Library Long Writeup Q121. Physics Analysis Workstation. User s Guide. Application Software Group. Computing and Networks Division

PAW++ CERN Program Library Long Writeup Q121. Physics Analysis Workstation. User s Guide. Application Software Group. Computing and Networks Division CERN Program Library Long Writeup Q121 PAW++ Physics Analysis Workstation User s Guide Application Software Group Computing and Networks Division CERN Geneva, Switzerland Copyright Notice PAW Physics Analysis

More information

Regression III: Advanced Methods

Regression III: Advanced Methods Lecture 3: Distributions Regression III: Advanced Methods William G. Jacoby Michigan State University Goals of the lecture Examine data in graphical form Graphs for looking at univariate distributions

More information

Software Tutorial Session Universal Kriging

Software Tutorial Session Universal Kriging Software Tutorial Session Universal Kriging The example session with PG2000 which is described in this and Part 1 is intended as an example run to familiarise the user with the package. This documented

More information

Introduction to Spreadsheets

Introduction to Spreadsheets Introduction to Spreadsheets Spreadsheets are computer programs that were designed for use in business. However, scientists quickly saw how useful they could be for analyzing data. As the programs have

More information

Part I, Chapters 4 & 5. Data Tables and Data Analysis Statistics and Figures

Part I, Chapters 4 & 5. Data Tables and Data Analysis Statistics and Figures Part I, Chapters 4 & 5 Data Tables and Data Analysis Statistics and Figures Descriptive Statistics 1 Are data points clumped? (order variable / exp. variable) Concentrated around one value? Concentrated

More information

Making Science Graphs and Interpreting Data

Making Science Graphs and Interpreting Data Making Science Graphs and Interpreting Data Eye Opener: 5 mins What do you see? What do you think? Look up terms you don t know What do Graphs Tell You? A graph is a way of expressing a relationship between

More information

General Program Description

General Program Description General Program Description This program is designed to interpret the results of a sampling inspection, for the purpose of judging compliance with chosen limits. It may also be used to identify outlying

More information

To Plot a Graph in Origin. Example: Number of Counts from a Geiger- Müller Tube as a Function of Supply Voltage

To Plot a Graph in Origin. Example: Number of Counts from a Geiger- Müller Tube as a Function of Supply Voltage To Plot a Graph in Origin Example: Number of Counts from a Geiger- Müller Tube as a Function of Supply Voltage 1 Digression on Error Bars What entity do you use for the magnitude of the error bars? Standard

More information

CERN SUMMER STUDENT PROJECT

CERN SUMMER STUDENT PROJECT CERN SUMMER STUDENT PROJECT GENERAL PHYSICS: ANALYSE DATA IN THE FORM OF HISTOGRAM WITH COMPARISON BETWEEN KOLMOGOROV-SMIRNOV TEST AND CHI SQUARE TEST NAME: Ak Muhamad Amirul Irfan Pg Haji Mohd Ariffin

More information

Physics 736. Experimental Methods in Nuclear-, Particle-, and Astrophysics. - Statistical Methods -

Physics 736. Experimental Methods in Nuclear-, Particle-, and Astrophysics. - Statistical Methods - Physics 736 Experimental Methods in Nuclear-, Particle-, and Astrophysics - Statistical Methods - Karsten Heeger heeger@wisc.edu Course Schedule and Reading course website http://neutrino.physics.wisc.edu/teaching/phys736/

More information

An introduction to plotting data

An introduction to plotting data An introduction to plotting data Eric D. Black California Institute of Technology February 25, 2014 1 Introduction Plotting data is one of the essential skills every scientist must have. We use it on a

More information

Introduction to the workbook and spreadsheet

Introduction to the workbook and spreadsheet Excel Tutorial To make the most of this tutorial I suggest you follow through it while sitting in front of a computer with Microsoft Excel running. This will allow you to try things out as you follow along.

More information

Tutorial: Using Tina Vision s Quantitative Pattern Recognition Tool.

Tutorial: Using Tina Vision s Quantitative Pattern Recognition Tool. Tina Memo No. 2014-004 Internal Report Tutorial: Using Tina Vision s Quantitative Pattern Recognition Tool. P.D.Tar. Last updated 07 / 06 / 2014 ISBE, Medical School, University of Manchester, Stopford

More information

ACTIVITY 8. The Bouncing Ball. You ll Need. Name. Date. 1 CBR unit 1 TI-83 or TI-82 Graphing Calculator Ball (a racquet ball works well)

ACTIVITY 8. The Bouncing Ball. You ll Need. Name. Date. 1 CBR unit 1 TI-83 or TI-82 Graphing Calculator Ball (a racquet ball works well) . Name Date ACTIVITY 8 The Bouncing Ball If a ball is dropped from a given height, what does a Height- Time graph look like? How does the velocity change as the ball rises and falls? What affects the shape

More information

Introduction to Motion

Introduction to Motion Date Partners Objectives: Introduction to Motion To investigate how motion appears on a position versus time graph To investigate how motion appears on a velocity versus time graph and the relationship

More information

HEP data analysis using ROOT

HEP data analysis using ROOT HEP data analysis using ROOT week I ROOT, CLING and the command line Histograms, Graphs and Trees Mark Hodgkinson Course contents ROOT, CLING and the command line Histograms, Graphs and Trees File I/O,

More information

Getting Started with GEM

Getting Started with GEM Getting Started with GEM Shuei YAMADA ICEPP, University of Tokyo What is GEM? Before you start Downloading Compilation Running the simulation Output & Analysis 1 What is GEM? Detector simulation for the

More information

Physics 736. Experimental Methods in Nuclear-, Particle-, and Astrophysics. - Statistics and Error Analysis -

Physics 736. Experimental Methods in Nuclear-, Particle-, and Astrophysics. - Statistics and Error Analysis - Physics 736 Experimental Methods in Nuclear-, Particle-, and Astrophysics - Statistics and Error Analysis - Karsten Heeger heeger@wisc.edu Feldman&Cousin what are the issues they deal with? what processes

More information

Research Report AI A Numerical Equation Solver in Prolog Michael A. Covington Artificial Intelligence Programs The University of Georgia

Research Report AI A Numerical Equation Solver in Prolog Michael A. Covington Artificial Intelligence Programs The University of Georgia Research Report AI 1989 02 A Numerical Equation Solver in Prolog Michael A. Covington Artificial Intelligence Programs The University of Georgia Athens, Georgia 30602 U.S.A. A Numerical Equation Solver

More information

Chapter 2: Understanding Data Distributions with Tables and Graphs

Chapter 2: Understanding Data Distributions with Tables and Graphs Test Bank Chapter 2: Understanding Data with Tables and Graphs Multiple Choice 1. Which of the following would best depict nominal level data? a. pie chart b. line graph c. histogram d. polygon Ans: A

More information

Math 227 EXCEL / MEGASTAT Guide

Math 227 EXCEL / MEGASTAT Guide Math 227 EXCEL / MEGASTAT Guide Introduction Introduction: Ch2: Frequency Distributions and Graphs Construct Frequency Distributions and various types of graphs: Histograms, Polygons, Pie Charts, Stem-and-Leaf

More information

PAW++ Physics Analysis Workstation. User s Guide. Version 2.02 (September 1993) Application Software Group. Computing and Networks Division

PAW++ Physics Analysis Workstation. User s Guide. Version 2.02 (September 1993) Application Software Group. Computing and Networks Division CERN Program Library Long Writeup Q121 PAW++ Physics Analysis Workstation User s Guide Version 2.02 (September 1993) Application Software Group Computing and Networks Division CERN Geneva, Switzerland

More information

Root programming and data analysis

Root programming and data analysis Special Praktikum: Root programming and data analysis Ascii data: Co60.dat Ge detector t Preamplifier Shaping amp. MCA γ 60Co γ-source 1173 and 1333 kev Ascii data Ascii data: Each line: corresponds to

More information

Points and lines. x x 1 + y 1. y = mx + b

Points and lines. x x 1 + y 1. y = mx + b Points and lines Point is the fundamental element of the picture representation. It is nothing but the position in a plan defined as either pairs or triplets of number depending on whether the data are

More information

Figure 2: download MuRun2010B.csv (This is data from the first LHC run, taken in 2010)

Figure 2: download MuRun2010B.csv (This is data from the first LHC run, taken in 2010) These are instructions for creating an invariant mass histogram using SCILAB and CERN s open data. This is meant to complement the instructions and tutorial for using Excel/OpenOffice to create the same

More information

Physics Analysis Workstation. User s Guide. Version 2.02 (September 1993) Application Software Group. Computing and Networks Division

Physics Analysis Workstation. User s Guide. Version 2.02 (September 1993) Application Software Group. Computing and Networks Division CERN Program Library Long Writeup Q121 Physics Analysis Workstation User s Guide Version 2.02 (September 1993) Application Software Group Computing and Networks Division CERN Geneva, Switzerland Copyright

More information

Experimental Design and Graphical Analysis of Data

Experimental Design and Graphical Analysis of Data Experimental Design and Graphical Analysis of Data A. Designing a controlled experiment When scientists set up experiments they often attempt to determine how a given variable affects another variable.

More information

EXP FOR WINDOWS, VERSION 5.1

EXP FOR WINDOWS, VERSION 5.1 Applied Mathematics and Stochastic Analysis, 16:4 (2003), 397-400. Printed in the USA c 2003 by North Atlantic Science Publishing Company EXP FOR WINDOWS, VERSION 5.1 A SOFTWARE REVIEW DONN E. MILLER-KERMANI

More information

Data organization. So what kind of data did we collect?

Data organization. So what kind of data did we collect? Data organization Suppose we go out and collect some data. What do we do with it? First we need to figure out what kind of data we have. To illustrate, let s do a simple experiment and collect the height

More information

Techniques and software for data analysis PHY 312

Techniques and software for data analysis PHY 312 Techniques and software for data analysis PHY 31 There are many programs available for analysis and presentation of data. I recommend using Gen, which can be downloaded for free from www.gen.com. It can

More information

Excel Tips and FAQs - MS 2010

Excel Tips and FAQs - MS 2010 BIOL 211D Excel Tips and FAQs - MS 2010 Remember to save frequently! Part I. Managing and Summarizing Data NOTE IN EXCEL 2010, THERE ARE A NUMBER OF WAYS TO DO THE CORRECT THING! FAQ1: How do I sort my

More information

We have seen that as n increases, the length of our confidence interval decreases, the confidence interval will be more narrow.

We have seen that as n increases, the length of our confidence interval decreases, the confidence interval will be more narrow. {Confidence Intervals for Population Means} Now we will discuss a few loose ends. Before moving into our final discussion of confidence intervals for one population mean, let s review a few important results

More information

INTRODUCTION TUTORIAL

INTRODUCTION TUTORIAL INTRODUCTION TUTORIAL Introduction to ROOT Adrian Bevan YETI January 2007 Uses ROOT 5.12.00 OVERVIEW 3 tutorials over the next two days: Introduction: Introduction to ROOT. Multi Variate Analysis: Training

More information

Introduction to version Instruction date

Introduction to version Instruction date Introduction to version 1.1.0 Instruction date 16.5.2008 Windows and Files Start by creating the window Open FCS data file By right-clicking the axis the list of available parameters appear. Right-click

More information

Teaching Engineering Analysis Using VBA for Excel. Abstract. Introduction

Teaching Engineering Analysis Using VBA for Excel. Abstract. Introduction Teaching Engineering Analysis Using VBA for Excel Terrence L. Chambers Department of Mechanical Engineering University of Louisiana at Lafayette PO Box 44170 Lafayette, LA 70504-4170 (337) 482-6731 (337)

More information

3.7. Vertex and tangent

3.7. Vertex and tangent 3.7. Vertex and tangent Example 1. At the right we have drawn the graph of the cubic polynomial f(x) = x 2 (3 x). Notice how the structure of the graph matches the form of the algebraic expression. The

More information

An Introduction to Minitab Statistics 529

An Introduction to Minitab Statistics 529 An Introduction to Minitab Statistics 529 1 Introduction MINITAB is a computing package for performing simple statistical analyses. The current version on the PC is 15. MINITAB is no longer made for the

More information

computational Fluid Dynamics - Prof. V. Esfahanian

computational Fluid Dynamics - Prof. V. Esfahanian Three boards categories: Experimental Theoretical Computational Crucial to know all three: Each has their advantages and disadvantages. Require validation and verification. School of Mechanical Engineering

More information

ORGANIZING THE DATA IN A FREQUENCY TABLE

ORGANIZING THE DATA IN A FREQUENCY TABLE ORGANIZING THE DATA IN A FREQUENCY TABLE Suppose the scores obtained by 5 students on a standardized test are as follows: 68, 55, 61, 55, 43, 59, 55, 58, 77, 6, 56, 53, 58, 7, 57, 62, 5, 69, 44, 63, 48,79,

More information

Data and Function Plotting with MATLAB (Linux-10)

Data and Function Plotting with MATLAB (Linux-10) Data and Function Plotting with MATLAB (Linux-10) This tutorial describes the use of MATLAB for general plotting of experimental data and equations and for special plots like histograms. (Astronomers -

More information

Chapter 2: The Normal Distribution

Chapter 2: The Normal Distribution Chapter 2: The Normal Distribution 2.1 Density Curves and the Normal Distributions 2.2 Standard Normal Calculations 1 2 Histogram for Strength of Yarn Bobbins 15.60 16.10 16.60 17.10 17.60 18.10 18.60

More information

Vocabulary Unit 2-3: Linear Functions & Healthy Lifestyles. Scale model a three dimensional model that is similar to a three dimensional object.

Vocabulary Unit 2-3: Linear Functions & Healthy Lifestyles. Scale model a three dimensional model that is similar to a three dimensional object. Scale a scale is the ratio of any length in a scale drawing to the corresponding actual length. The lengths may be in different units. Scale drawing a drawing that is similar to an actual object or place.

More information

Maths Class 9 Notes for Statistics

Maths Class 9 Notes for Statistics 1 P a g e Maths Class 9 Notes for Statistics BASIC TERMS Primary data : Data which collected for the first time by the statistical investigator or with the help of his workers is called primary data. Secondary

More information

Instance-based Learning CE-717: Machine Learning Sharif University of Technology. M. Soleymani Fall 2015

Instance-based Learning CE-717: Machine Learning Sharif University of Technology. M. Soleymani Fall 2015 Instance-based Learning CE-717: Machine Learning Sharif University of Technology M. Soleymani Fall 2015 Outline Non-parametric approach Unsupervised: Non-parametric density estimation Parzen Windows K-Nearest

More information

Computational Methods of Scientific Programming. Lecturers Thomas A Herring Chris Hill

Computational Methods of Scientific Programming. Lecturers Thomas A Herring Chris Hill 12.010 Computational Methods of Scientific Programming Lecturers Thomas A Herring Chris Hill Review of Lecture 2 Examined computer hardware Computer basics and the main features of programs Program design:

More information

Describing Data: Frequency Tables, Frequency Distributions, and Graphic Presentation

Describing Data: Frequency Tables, Frequency Distributions, and Graphic Presentation Describing Data: Frequency Tables, Frequency Distributions, and Graphic Presentation Chapter 2 McGraw-Hill/Irwin Copyright 2010 by The McGraw-Hill Companies, Inc. All rights reserved. GOALS 1. Organize

More information

Professional outputs with ODS LATEX

Professional outputs with ODS LATEX Paper TU04 Professional outputs with ODS LATEX Arnaud DAUCHY, Sanofi Aventis, Paris, France Solenn LE GUENNEC, Sanofi Aventis, Paris, France ABSTRACT ODS tagset and ODS markup have been embedded from SAS

More information

Planting the Seeds Exploring Cubic Functions

Planting the Seeds Exploring Cubic Functions 295 Planting the Seeds Exploring Cubic Functions 4.1 LEARNING GOALS In this lesson, you will: Represent cubic functions using words, tables, equations, and graphs. Interpret the key characteristics of

More information

Histograms And N-tuples

Histograms And N-tuples 5 Histograms And N-tuples Gaudi Framework Tutorial, April 2006 Schedule: Timing Topic 15 minutes Lecture 20 minutes Practice 35 minutes Total Objectives After completing this lesson, you should be able

More information

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s.

An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Using Monte Carlo to Estimate π using Buffon s Needle Problem An interesting related problem is Buffon s Needle which was first proposed in the mid-1700 s. Here s the problem (in a simplified form). Suppose

More information

MATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by

MATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by 1 MATLAB is a multi-paradigm numerical computing environment fourth-generation programming language. A proprietary programming language developed by MathWorks In 2004, MATLAB had around one million users

More information

Use of Extreme Value Statistics in Modeling Biometric Systems

Use of Extreme Value Statistics in Modeling Biometric Systems Use of Extreme Value Statistics in Modeling Biometric Systems Similarity Scores Two types of matching: Genuine sample Imposter sample Matching scores Enrolled sample 0.95 0.32 Probability Density Decision

More information

Network Traffic Measurements and Analysis

Network Traffic Measurements and Analysis DEIB - Politecnico di Milano Fall, 2017 Introduction Often, we have only a set of features x = x 1, x 2,, x n, but no associated response y. Therefore we are not interested in prediction nor classification,

More information

Data Analysis R&D. Jim Pivarski. February 5, Princeton University DIANA-HEP

Data Analysis R&D. Jim Pivarski. February 5, Princeton University DIANA-HEP Data Analysis R&D Jim Pivarski Princeton University DIANA-HEP February 5, 2018 1 / 20 Tools for data analysis Eventual goal Query-based analysis: let physicists do their analysis by querying a central

More information

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS

Experiment 1 CH Fall 2004 INTRODUCTION TO SPREADSHEETS Experiment 1 CH 222 - Fall 2004 INTRODUCTION TO SPREADSHEETS Introduction Spreadsheets are valuable tools utilized in a variety of fields. They can be used for tasks as simple as adding or subtracting

More information

Lecture 6: Scatter Plots and R Skills

Lecture 6: Scatter Plots and R Skills Lecture 6: Scatter Plots and R Skills March 5, 2018 Overview Course Administration Good, Bad and Ugly Few, Chapter 13 Line Charts in R Course Administration 1. Rosa has graded problem sets thank you block

More information

Advanced Programming Features

Advanced Programming Features Advanced Programming Features Compute Tools 4 and 5 Program Area Level 5 The two advance programming templates for manipulating data are Compute Tools 4 and Compute Tools 5. Each of these templates provide

More information

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution Name: Date: Period: Chapter 2 Section 1: Describing Location in a Distribution Suppose you earned an 86 on a statistics quiz. The question is: should you be satisfied with this score? What if it is the

More information

D-Optimal Designs. Chapter 888. Introduction. D-Optimal Design Overview

D-Optimal Designs. Chapter 888. Introduction. D-Optimal Design Overview Chapter 888 Introduction This procedure generates D-optimal designs for multi-factor experiments with both quantitative and qualitative factors. The factors can have a mixed number of levels. For example,

More information

Statistical Good Practice Guidelines. 1. Introduction. Contents. SSC home Using Excel for Statistics - Tips and Warnings

Statistical Good Practice Guidelines. 1. Introduction. Contents. SSC home Using Excel for Statistics - Tips and Warnings Statistical Good Practice Guidelines SSC home Using Excel for Statistics - Tips and Warnings On-line version 2 - March 2001 This is one in a series of guides for research and support staff involved in

More information

Numerical Methods in Scientific Computation

Numerical Methods in Scientific Computation Numerical Methods in Scientific Computation Programming and Software Introduction to error analysis 1 Packages vs. Programming Packages MATLAB Excel Mathematica Maple Packages do the work for you Most

More information

Introduction to Computational Mathematics

Introduction to Computational Mathematics Introduction to Computational Mathematics Introduction Computational Mathematics: Concerned with the design, analysis, and implementation of algorithms for the numerical solution of problems that have

More information

Testing Random- Number Generators

Testing Random- Number Generators Testing Random- Number Generators Raj Jain Washington University Saint Louis, MO 63131 Jain@cse.wustl.edu These slides are available on-line at: http://www.cse.wustl.edu/~jain/cse574-06/ 27-1 Overview

More information

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows)

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows) The Bisection Method versus (Classic Version for Windows) Author: Barbara Forrest Contact: baforres@uwaterloo.ca Copyrighted/NOT FOR RESALE version 1.1 Contents 1 Objectives for this Lab i 2 Approximate

More information

Sep 12, 2006 Lecture 2: System Programming

Sep 12, 2006 Lecture 2: System Programming Sep 12, 2006 Lecture 2: System Programming September 19, 2007 1 Introduction In this lecture, we will introduce the basics of systems programming using the language of choice C language. We also introduce

More information

ENV3104 Hydraulics II 2017 Assignment 1. Gradually Varied Flow Profiles and Numerical Solution of the Kinematic Equations:

ENV3104 Hydraulics II 2017 Assignment 1. Gradually Varied Flow Profiles and Numerical Solution of the Kinematic Equations: ENV3104 Hydraulics II 2017 Assignment 1 Assignment 1 Gradually Varied Flow Profiles and Numerical Solution of the Kinematic Equations: Examiner: Jahangir Alam Due Date: 27 Apr 2017 Weighting: 1% Objectives

More information

demonstrate an understanding of the exponent rules of multiplication and division, and apply them to simplify expressions Number Sense and Algebra

demonstrate an understanding of the exponent rules of multiplication and division, and apply them to simplify expressions Number Sense and Algebra MPM 1D - Grade Nine Academic Mathematics This guide has been organized in alignment with the 2005 Ontario Mathematics Curriculum. Each of the specific curriculum expectations are cross-referenced to the

More information

Python Scripting for Computational Science

Python Scripting for Computational Science Hans Petter Langtangen Python Scripting for Computational Science Third Edition With 62 Figures 43 Springer Table of Contents 1 Introduction... 1 1.1 Scripting versus Traditional Programming... 1 1.1.1

More information

B Y P A S S R D E G R Version 1.0.2

B Y P A S S R D E G R Version 1.0.2 B Y P A S S R D E G R Version 1.0.2 March, 2008 Contents Overview.................................. 2 Installation notes.............................. 2 Quick Start................................. 3 Examples

More information

To sketch the graph we need to evaluate the parameter t within the given interval to create our x and y values.

To sketch the graph we need to evaluate the parameter t within the given interval to create our x and y values. Module 10 lesson 6 Parametric Equations. When modeling the path of an object, it is useful to use equations called Parametric equations. Instead of using one equation with two variables, we will use two

More information

Supersedes: S-S-01. (a) acceptance sampling of discrete units presented for inspection in lots;

Supersedes: S-S-01. (a) acceptance sampling of discrete units presented for inspection in lots; Specifications Category: STATISTICAL METHOD Specification: S-S-01 (rev.1) Page: 1 of 13 Specifications for Random Sampling and Randomization 1.0 Scope 1.1 These specifications define algorithms for random

More information

EXCEL SPREADSHEET TUTORIAL

EXCEL SPREADSHEET TUTORIAL EXCEL SPREADSHEET TUTORIAL Note to all 200 level physics students: You will be expected to properly format data tables and graphs in all lab reports, as described in this tutorial. Therefore, you are responsible

More information

1 Introduction. 1.1 What is Statistics?

1 Introduction. 1.1 What is Statistics? 1 Introduction 1.1 What is Statistics? MATH1015 Biostatistics Week 1 Statistics is a scientific study of numerical data based on natural phenomena. It is also the science of collecting, organising, interpreting

More information

Interpolation. Computer User Training Course Paul Dando. User Support. ECMWF 25 February 2016

Interpolation. Computer User Training Course Paul Dando. User Support. ECMWF 25 February 2016 Interpolation Computer User Training Course 2016 Paul Dando User Support advisory@ecmwf.int ECMWF 25 February 2016 1 Contents Introduction Overview of Interpolation Spectral Transformations Grid point

More information

A recursive point process model for infectious diseases.

A recursive point process model for infectious diseases. A recursive point process model for infectious diseases. Frederic Paik Schoenberg, UCLA Statistics Collaborators: Marc Hoffmann, Ryan Harrigan. Also thanks to: Project Tycho, CDC, and WHO datasets. 1 1.

More information

ROOT Course. Vincenzo Vitale, Dip. Fisica and INFN Roma 2

ROOT Course. Vincenzo Vitale, Dip. Fisica and INFN Roma 2 ROOT Course Vincenzo Vitale, Dip. Fisica and INFN Roma 2 Introduction This is a basic introduction to ROOT. The purpose of the course is to provide a starting knowledge and some practical experiences on

More information

Learning from Data Introduction to Matlab

Learning from Data Introduction to Matlab Learning from Data Introduction to Matlab Amos Storkey, David Barber and Chris Williams a.storkey@ed.ac.uk Course page : http://www.anc.ed.ac.uk/ amos/lfd/ This is a modified version of a text written

More information

Course Title: Math 7 Grade Level: 7

Course Title: Math 7 Grade Level: 7 Content Area: Mathematics Course Title: Math 7 Grade Level: 7 Integers Rational Numbers and Equations Expressions and Equations Marking Period 1 Inequalities Ratio and Proportion Marking Period 2 Percents

More information

tutorial i: Using matcont for numerical integration of ODEs

tutorial i: Using matcont for numerical integration of ODEs tutorial i: Using matcont for numerical integration of ODEs u.a. Kuznetsov Department of Mathematics Utrecht University Budapestlaan TA, Utrecht September, This session illustrates how to input a system

More information

Summary of Image and Plotting Software (IPS) packages collected. for possible use with GLAST Science Analysis Tools

Summary of Image and Plotting Software (IPS) packages collected. for possible use with GLAST Science Analysis Tools Summary of Image and Software (IPS) packages collected for possible use with GLAST Science Analysis Tools For the Science Analysis Tools, we will need the capability to make plots, and display images on

More information

Non-Parametric Modeling

Non-Parametric Modeling Non-Parametric Modeling CE-725: Statistical Pattern Recognition Sharif University of Technology Spring 2013 Soleymani Outline Introduction Non-Parametric Density Estimation Parzen Windows Kn-Nearest Neighbor

More information

11.2 RECTANGULAR COORDINATES IN THREE DIMENSIONS

11.2 RECTANGULAR COORDINATES IN THREE DIMENSIONS 11.2 Rectangular Coordinates in Three Dimensions Contemporary Calculus 1 11.2 RECTANGULAR COORDINATES IN THREE DIMENSIONS In this section we move into 3 dimensional space. First we examine the 3 dimensional

More information

Middle Years Data Analysis Display Methods

Middle Years Data Analysis Display Methods Middle Years Data Analysis Display Methods Double Bar Graph A double bar graph is an extension of a single bar graph. Any bar graph involves categories and counts of the number of people or things (frequency)

More information

Bar Graphs and Dot Plots

Bar Graphs and Dot Plots CONDENSED LESSON 1.1 Bar Graphs and Dot Plots In this lesson you will interpret and create a variety of graphs find some summary values for a data set draw conclusions about a data set based on graphs

More information

Columbus State Community College Mathematics Department Public Syllabus. Course and Number: MATH 1172 Engineering Mathematics A

Columbus State Community College Mathematics Department Public Syllabus. Course and Number: MATH 1172 Engineering Mathematics A Columbus State Community College Mathematics Department Public Syllabus Course and Number: MATH 1172 Engineering Mathematics A CREDITS: 5 CLASS HOURS PER WEEK: 5 PREREQUISITES: MATH 1151 with a C or higher

More information

MAT 110 WORKSHOP. Updated Fall 2018

MAT 110 WORKSHOP. Updated Fall 2018 MAT 110 WORKSHOP Updated Fall 2018 UNIT 3: STATISTICS Introduction Choosing a Sample Simple Random Sample: a set of individuals from the population chosen in a way that every individual has an equal chance

More information

Unit 1 Lesson 4 Representing Data. Copyright Houghton Mifflin Harcourt Publishing Company

Unit 1 Lesson 4 Representing Data. Copyright Houghton Mifflin Harcourt Publishing Company Florida Benchmarks SC.6.N.1.1 Define a problem from the sixth grade curriculum, use appropriate reference materials to support scientific understanding, plan and carry out scientific investigation of various

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data Using Excel for Graphical Analysis of Data Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters. Graphs are

More information

Plotting Graphs. Error Bars

Plotting Graphs. Error Bars E Plotting Graphs Construct your graphs in Excel using the method outlined in the Graphing and Error Analysis lab (in the Phys 124/144/130 laboratory manual). Always choose the x-y scatter plot. Number

More information

HMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression

HMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression HMC CS 158, Fall 2017 Problem Set 3 Programming: Regularized Polynomial Regression Goals: To open up the black-box of scikit-learn and implement regression models. To investigate how adding polynomial

More information