Lecture 1 Probability and Statistics

Slides:



Advertisements
Similar presentations
Business Statistics for Managerial Decision
Advertisements

Review of Basic Probability and Statistics
Statistics. Large Systems Macroscopic systems involve large numbers of particles.  Microscopic determinism  Macroscopic phenomena The basis is in mechanics.
Quality Control Procedures put into place to monitor the performance of a laboratory test with regard to accuracy and precision.
Evaluating Hypotheses
Probability and Statistics Review
CHAPTER 6 Statistical Analysis of Experimental Data
Lecture 6: Descriptive Statistics: Probability, Distribution, Univariate Data.
R. Kass/S07 P416 Lec 3 1 Lecture 3 The Gaussian Probability Distribution Function Plot of Gaussian pdf x p(x)p(x) Introduction l The Gaussian probability.
Problem A newly married couple plans to have four children and would like to have three girls and a boy. What are the chances (probability) their desire.
Introduction l Example: Suppose we measure the current (I) and resistance (R) of a resistor. u Ohm's law relates V and I: V = IR u If we know the uncertainties.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
1 CY1B2 Statistics Aims: To introduce basic statistics. Outcomes: To understand some fundamental concepts in statistics, and be able to apply some probability.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
Topics Covered Discrete probability distributions –The Uniform Distribution –The Binomial Distribution –The Poisson Distribution Each is appropriately.
Probability The definition – probability of an Event Applies only to the special case when 1.The sample space has a finite no.of outcomes, and 2.Each.
Theory of Probability Statistics for Business and Economics.
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
R Kass/SP07 P416 Lecture 4 1 Propagation of Errors ( Chapter 3, Taylor ) Introduction Example: Suppose we measure the current (I) and resistance (R) of.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
R.Kass/Sp12 P416 Lecture 1 1 Probability and Statistics Introduction: I) The understanding of many physical phenomena relies on statistical and probabilistic.
The two way frequency table The  2 statistic Techniques for examining dependence amongst two categorical variables.
Dr. Ahmed Abdelwahab Introduction for EE420. Probability Theory Probability theory is rooted in phenomena that can be modeled by an experiment with an.
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
12/7/20151 Probability Introduction to Probability, Conditional Probability and Random Variables.
Probability and Distributions. Deterministic vs. Random Processes In deterministic processes, the outcome can be predicted exactly in advance Eg. Force.
Analysis of Experimental Data; Introduction
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
R.Kass/F02 P416 Lecture 1 1 Lecture 1 Probability and Statistics Introduction: l The understanding of many physical phenomena depend on statistical and.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
R.Kass/F05 P416 Lecture 1 1 Probability and Statistics Introduction: l The understanding of many physical phenomena relies on statistical and probabilistic.
R. Kass/W04 P416 Lec 3 1 Lecture 3 The Gaussian Probability Distribution Function Plot of Gaussian pdf x p(x)p(x) Introduction l The Gaussian probability.
Theoretical distributions: the Normal distribution.
MECH 373 Instrumentation and Measurements
Dealing with Random Phenomena
Probability and Statistics for Particle Physics
Expectations of Random Variables, Functions of Random Variables
Chapter 6: Random Variables
Business Statistics Topic 4
The Gaussian Probability Distribution Function
3.1 Expectation Expectation Example
Chapter 4 – Part 3.
Introduction to Instrumentation Engineering
Significant Figures The significant figures of a (measured or calculated) quantity are the meaningful digits in it. There are conventions which you should.
Chapter 5 Some Important Discrete Probability Distributions
Chapter 6: Random Variables
Chapter 6: Random Variables
Probability Key Questions
CHAPTER 10: Introducing Probability
Lecture 4 Propagation of errors
Counting Statistics and Error Prediction
Warmup Consider tossing a fair coin 3 times.
Lecture 2 Binomial and Poisson Probability Distributions
Chapter 6: Random Variables
Chapter 6: Random Variables
Probability.
Chapter 6: Random Variables
CHAPTER – 1.2 UNCERTAINTIES IN MEASUREMENTS.
M248: Analyzing data Block A UNIT A3 Modeling Variation.
Chapter 6: Random Variables
Chapter 6: Random Variables
From Randomness to Probability
Chapter 6: Random Variables
Chapter 6: Random Variables
Chapter 6: Random Variables
CHAPTER – 1.2 UNCERTAINTIES IN MEASUREMENTS.
Chapter 6: Random Variables
Presentation transcript:

Lecture 1 Probability and Statistics Introduction: l The understanding of many physical phenomena depend on statistical and probabilistic concepts: Statistical Mechanics (physics of systems composed of many parts: gases, liquids, solids) 1 mole of anything contains 6x1023 particles (Avogadro's number) Even though the force between particles (Newton’s laws) it is impossible to keep track of all 6x1023 particles even with the fastest computer imaginable We must resort to learning about the group properties of all the particles: use the partition function: calculate average energy, entropy, pressure... of a system Quantum Mechanics (physics at the atomic or smaller scale) wavefunction = probability amplitude talk about the probability of an electron being located at (x,y,z) at a certain time. l Our understanding/interpretation of experimental data depends on statistical and probabilistic concepts: how do we extract the best value of a quantity from a set of measurements? how do we decide if our experiment is consistent/inconsistent with a given theory? how do we decide if our experiment is internally consistent? how do we decide if our experiment is consistent with other experiments? In this course we will concentrate on the above experimental issues! R.Kass/W03 P416 Lecture 1

How do we define Probability? Definition of probability by example: l Suppose we have N trials and a specified event occurs r times. example: the trial could be rolling a dice and the event could be rolling a 6. define probability (P) of an event (E) occurring as: P(E) = r/N when N ®¥ examples: six sided dice: P(6) = 1/6 for an honest dice: P(1) = P(2) = P(3) = P(4) =P(5) = P(6) =1/6 coin toss: P(heads) = P(tails) =0.5 P(heads) should approach 0.5 the more times you toss the coin. For a single coin toss we can never get P(heads) = 0.5! u By definition probability (P) is a non-negative real number bounded by 0£ P £1 if P = 0 then the event never occurs if P = 1 then the event always occurs Let A and B be subsets of S then P(A)>0, P(B)>0 Events are independent if: P(AÇB) = P(A)P(B) Coin tosses are independent events, the result of the next toss does not depend on previous toss. Events are mutually exclusive (disjoint) if: P(AÇB) = 0 or P(AÈB) = P(A) + P(B) In tossing a coin we either get a head or a tail. Sum (or integral) of all probabilities if they are mutually exclusive must = 1. A= {1,2,3} B={1,3,5} AÇB={1,3} AÈB= {1,2,3,5} Ǻintersection Ⱥ union R.Kass/W03 P416 Lecture 1

l Probability can be a discrete or a continuous variable. Discrete probability: P can have certain values only. examples: tossing a six-sided dice: P(xi) = Pi here xi = 1, 2, 3, 4, 5, 6 and Pi = 1/6 for all xi. tossing a coin: only 2 choices, heads or tails. for both of the above discrete examples (and in general) when we sum over all mutually exclusive possibilities: u Continuous probability: P can be any number between 0 and 1. define a “probability density function”, pdf, with a a continuous variable Probability for x to be in the range a £ x £ b is: Just like the discrete case the sum of all probabilities must equal 1. We say that f(x) is normalized to one. Probability for x to be exactly some number is zero since:   NOTATION xi is called a random variable “area under the curve” R.Kass/W03 P416 Lecture 1

Discrete = P(x) Continuous = f(x) binomial uniform, i.e. constant l Examples of some common P(x)’s and f(x)’s: Discrete = P(x) Continuous = f(x) binomial uniform, i.e. constant Poisson Gaussian exponential chi square l How do we describe a probability distribution? u mean, mode, median, and variance u for a continuous distribution, these quantities are defined by: u for a discrete distribution, the mean and variance are defined by: R.Kass/W03 P416 Lecture 1

For a Gaussian pdf For a most pdfs the mean, mode, the mean, mode, l Some continuous pdf’s: For a Gaussian pdf the mean, mode, and median are all at the same x. For a most pdfs the mean, mode, and median are in different places. R.Kass/W03 P416 Lecture 1

The variance describes the width of the pdf ! “weighted average” l Calculation of mean and variance: example: a discrete data set consisting of three numbers: {1, 2, 3} average () is just: Complication: suppose some measurements are more precise than others. Let each measurement xi have a weight wi associated with it then: variance (2) or average squared deviation from the mean is just:  is called the standard deviation rewrite the above expression by expanding the summations: Note: The n in the denominator would be n -1 if we determined the average (m) from the data itself. “weighted average” The variance describes the width of the pdf ! This is sometimes written as: <x2>-<x>2 with <>º average of what ever is in the brackets R.Kass/W03 P416 Lecture 1

Here m is the weighted mean using the definition of m from above we have for our example of {1,2,3}: The case where the measurements have different weights is more complicated: Here m is the weighted mean If we calculated m from the data, 2 gets multiplied by a factor n/(n-1). u example: a continuous probability distribution, This “pdf” has two modes! It has same mean and median, but differ from the mode(s). R.Kass/W03 P416 Lecture 1

use a table of integrals and/or derivatives. For continuous probability distributions, the mean, mode, and median are calculated using either integrals or derivatives: u example: Gaussian distribution function, a continuous probability distribution f(x)=sin2x is not a true pdf since it is not normalized! f(x)=(1/p) sin2x is a normalized pdf. In this class you should feel free to use a table of integrals and/or derivatives. R.Kass/W03 P416 Lecture 1

of the neutron lifetime over the years. Accuracy and Precision: l Accuracy: The accuracy of an experiment refers to how close the experimental measurement is to the true value of the quantity being measured. l Precision: This refers to how well the experimental result has been determined, without regard to the true value of the quantity being measured. u just because an experiment is precise it does not mean it is accurate!! u measurements of the neutron lifetime over the years: Steady increase in precision but are any of these measurements accurate? The size of bar reflects the precision of the experiment This figure shows various measurements of the neutron lifetime over the years. R.Kass/W03 P416 Lecture 1

Measurement Errors (or uncertainties) l Use results from probability and statistics as a way of calculating how “good” a measurement is. most common quality indicator: relative precision = [uncertainty of measurement]/measurement example: we measure a table to be 10 inches with uncertainty of 1 inch. relative precision = 1/10 = 0.1 or 10% (% relative precision) Uncertainty in measurement is usually square root of variance: s = standard deviation s is usually calculated using the technique of “propagation of errors”. Statistics and Systematic Errors l Results from experiments are often presented as: N ± XX ± YY N: value of quantity measured (or determined) by experiment. XX: statistical error, usually assumed to be from a Gaussian distribution. With the assumption of Gaussian statistics we can say (calculate) something about how well our experiment agrees with other experiments and/or theories. Expect ~ 68% chance that the true value is between N - XX and N + XX. YY: systematic error. Hard to estimate, distribution of errors usually not known. examples: mass of proton = 0.9382769 ± 0.0000027 GeV (only statistical error given) mass of W boson = 80.8 ± 1.5 ± 2.4 GeV (both statistical and systematic error given) R.Kass/W03 P416 Lecture 1

u systematic errors do not ® 0 with repetition. What’s the difference between statistical and systematic errors? u statistical errors are “random” in the sense that if we repeat the measurement enough times: XX ®0 u systematic errors do not ® 0 with repetition. examples of sources of systematic errors: voltmeter not calibrated properly a ruler not the length we think is (meter stick might really be < meter!) Because of systematic errors, an experimental result can be precise, but not accurate! l How do we combine systematic and statistical errors to get one estimate of precision? BIG PROBLEM! two choices: tot = XX + YY add them linearly tot = (XX2 + YY2)1/2 add them in quadrature Some other ways of quoting experimental results lower limit: “the mass of particle X is > 100 GeV” upper limit: “the mass of particle X is < 100 GeV” asymmetric errors: mass of particle R.Kass/W03 P416 Lecture 1