CIVE2602 - Engineering Mathematics 2.2 (20 credits) Statistics and Probability Lecture 4 Probability distributions -Poisson (discrete events) -Binomial.

Slides:



Advertisements
Similar presentations
Using the Rule Normal Quantile Plots
Advertisements

Theoretical Probability Distributions We have talked about the idea of frequency distributions as a way to see what is happening with our data. We have.
Note 7 of 5E Statistics with Economics and Business Applications Chapter 5 The Normal and Other Continuous Probability Distributions Normal Probability.
Continuous Probability Distributions.  Experiments can lead to continuous responses i.e. values that do not have to be whole numbers. For example: height.
Probability & Statistical Inference Lecture 3
Chapter 6 Introduction to Continuous Probability Distributions
Chapter 6 Continuous Random Variables and Probability Distributions
Chapter 6 The Normal Distribution and Other Continuous Distributions
Ch. 6 The Normal Distribution
CHAPTER 6 Statistical Analysis of Experimental Data
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Chapter 6 The Normal Distribution & Other Continuous Distributions
Chapter 5 Continuous Random Variables and Probability Distributions
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions Basic Business.
Discrete and Continuous Probability Distributions.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution Business Statistics: A First Course 5 th.
Chapter 6: Normal Probability Distributions
Probability and the Sampling Distribution Quantitative Methods in HPELS 440:210.
Chapter 4 Continuous Random Variables and Probability Distributions
Chap 6-1 Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chapter 6 The Normal Distribution Business Statistics: A First Course 6 th.
Chapter 6 The Normal Probability Distribution
8.5 Normal Distributions We have seen that the histogram for a binomial distribution with n = 20 trials and p = 0.50 was shaped like a bell if we join.
HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2010 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 8 Continuous.
Chapter 6: Probability Distributions
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
Continuous Random Variables
Topics Covered Discrete probability distributions –The Uniform Distribution –The Binomial Distribution –The Poisson Distribution Each is appropriately.
1 Normal Random Variables In the class of continuous random variables, we are primarily interested in NORMAL random variables. In the class of continuous.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions.
Lecture 4 The Normal Distribution. Lecture Goals After completing this chapter, you should be able to:  Find probabilities using a normal distribution.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 11.5 Normal Distributions The student will be able to identify what is meant.
Chapter 11 Data Descriptions and Probability Distributions Section 5 Normal Distribution.
Measures of Dispersion CUMULATIVE FREQUENCIES INTER-QUARTILE RANGE RANGE MEAN DEVIATION VARIANCE and STANDARD DEVIATION STATISTICS: DESCRIBING VARIABILITY.
Applied Quantitative Analysis and Practices LECTURE#11 By Dr. Osman Sadiq Paracha.
Essential Statistics Chapter 31 The Normal Distributions.
Some probability distribution The Normal Distribution
Normal Distribution Introduction. Probability Density Functions.
Introduction to Probability and Statistics Thirteenth Edition
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 7C PROBABILITY DISTRIBUTIONS FOR RANDOM VARIABLES ( NORMAL DISTRIBUTION)
Thursday August 29, 2013 The Z Transformation. Today: Z-Scores First--Upper and lower real limits: Boundaries of intervals for scores that are represented.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
MATB344 Applied Statistics Chapter 6 The Normal Probability Distribution.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved THE Normal PROBABILITY DISTRIBUTION.
Basic Business Statistics
Introduction to Probability and Statistics Thirteenth Edition Chapter 6 The Normal Probability Distribution.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 6-1 The Normal Distribution.
1 ES Chapter 3 ~ Normal Probability Distributions.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 6-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions Basic Business.
Chap 6-1 Chapter 6 The Normal Distribution Statistics for Managers.
Chap 5-1 Discrete and Continuous Probability Distributions.
Chapter 7 Random Variables and Continuous Distributions.
THE NORMAL DISTRIBUTION
Normal Distribution 1. Objectives  Learning Objective - To understand the topic on Normal Distribution and its importance in different disciplines. 
CIVE Engineering Mathematics 2.2 (20 credits) Statistics and Probability Lecture 6 Confidence intervals Confidence intervals for the sample mean.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 6-1 Chapter 6 The Normal Distribution Business Statistics, A First Course 4 th.
Theoretical distributions: the Normal distribution.
Chapter 6 The Normal Distribution and Other Continuous Distributions
MATB344 Applied Statistics
Normal Distribution and Parameter Estimation
Normal Distribution.
STAT 206: Chapter 6 Normal Distribution.
The normal distribution
CONTINUOUS RANDOM VARIABLES AND THE NORMAL DISTRIBUTION
Statistics for Managers Using Microsoft® Excel 5th Edition
Lecture 12: Normal Distribution
The Normal Distribution
Presentation transcript:

CIVE Engineering Mathematics 2.2 (20 credits) Statistics and Probability Lecture 4 Probability distributions -Poisson (discrete events) -Binomial (discrete events) -Normal Distribution (continuous) Z- values Using Normal tables ©Claudio Nunez 2010, sourced from _Building_destroyed_in_Concepci%C3%B3n.jpg?uselang=en-gb Available under creative commons license

- Individual probabilities can be calculated from the distribution Probability distributions -different distributions exist for discrete or continuous data p(x) 60 mph Vehicle Speed on M62(x) Normal distribution Poisson distribution Binomial distribution (e.g. number of goals scored in football match) (e.g. proportion of defective items in a small sample Relative frequency is directly analogous to probability, so when we plot a histogram showing the relative frequency we are plotting a probability distribution. Total area =1.0 AREA under curve = 1

Can you use Normal tables? (A) YES (B) NO (C) maybe but I’ve forgotten

Probability Distributions - Normal distribution Clickers- Estimate how many miles you walk/run per week?

Probability Distributions - Normal distribution -Clickers – What is your height in cm (have a guess if not sure) I’m just under 6 foot tall and that’s about 183cm 5 foot is 152 cm

Measuring things

Frequency Distribution Function A graph showing the frequency of something – can be easily converted to show relative frequency/probability of an event -when we calculate the probability it becomes a probability distribution function

Measuring things Failure strength of a steel reinforcement sample ©Chris Willis 2009, sourced from Available under creative commons license

Measuring things Percentage change in daily stock prices ©Tax_Rebate 2010, Sourced from Available under creative commons license

What do they all have in common?

‘Normal’ distribution (continuous) Lots of datasets show variation which is ‘normal’ or ‘Gaussian’ “Bell shaped curve” DO NOT NEED TO USE THIS AS WE ALWAYS USE TABLES!! is the population variance of X, is the population mean is a mathematical constant ( ).

f(X) Mean (μ) Cube strength (x) Approximately 95% of the data lies within the range given by -2.0σ to +2.0σ Probability Distribution Curves for the strength of Concrete Samples (Normally distributed) σ =7.0 σ =0.7 μ=4 1. Mean μ. 2. Variance σ 2 3. It is symmetric about μ. 4.Its range is from -infinity to +infinity 5.It is normalised so that 6. The notation is N(Mean, variance) e.g. N(3,9) i.e. the areas under the curve is one.

What is this useful for? If a dataset is normally distributed you can ask questions like – What is the probability that the height of a student will be greater than 170cm –What is the probability that the failure strength of a concrete sample will be above 200KN –What is the probability the wind speed will be between m/s Normal Distribution

μ=0 Standard normal distribution (special case with mean =0, standard deviation =1) All the datasets considered so far have different means (μ) and standard deviations But they can all be converted into a standard form by -Subtracting the mean (μ) -Dividing by the standard deviation (σ) The Standard Normal distribution is customarily denoted as Z. If we have a variable X which is distributed “N(μ, σ 2 )” we can convert it to a Z-value by the Z-transform operator: σ =7.0 μ=4 N(4, 7 2 )

It is therefore possible to convert from any Normal distribution with a given mean and standard deviation to the standard Normal distribution with mean=0 and standard deviation=1. This means that it is only necessary to have a copy of probability tables for the standard Normal distribution to be able to work out probabilities for any Normal distribution. μ = 4, σ = 2 So, X~N(4, 2 2 ) Example – The amount of pollution in a river (X) is normally distributed with mean 4, sd=2 Q) Find the required z-value to calculate p(X>6) USE NORMAL TABLES (z-tables) μ = 0, σ = 1 Z~N(0, 1)

It is therefore possible to convert from any Normal distribution with a given mean and standard deviation to the standard Normal distribution with mean=0 and standard deviation=1. This means that it is only necessary to have a copy of probability tables for the standard Normal distribution to be able to work out probabilities for any Normal distribution. μ = 4, σ = 2 So, X~N(4, 2 2 ) Example – The amount of pollution in a river (X) is normally distributed with mean 4, sd=2 Q) Find the required z-value to calculate p(X>6) USE NORMAL TABLES (z-tables) μ = 0, σ = 1 Z~N(0, 1)

-use tables to look up probabilities for the standard Normal distribution (as opposed to using the complex formula seen earlier). Being able to read from Normal tables is essential!! A SET OF NORMAL TABLES ARE AT THE BACK OF THE NOTES NORMAL TABLES The particular tables provided give the area, A(Z), to the right of a given Z-value (The first decimal of Z is given in the vertical margin, and the second decimal on the horizontal.) The body of the table reports the A(Z) values, equivalent to the probability of obtaining a value greater than the given Z value. QUESTION Find the required z-value to calculate a) p(X>5), b) p(X>2) (mean 4, sd=2)

QUESTION Find the required z-value to calculate a) p(X>5), mean 4, sd=2

QUESTION Find the required z-value to calculate a) p(X>5), mean 4, sd=2

What is the probability that the height of a student will be greater than 170cm? Need to calculate the z-score for 170cm given the information we know about the distribution of heights. Mean ( μ)= cm Standard deviation) (S heights )= 6.28 cm Z score (170 cm)=

Find P(X>1.41) using Normal tables 1) D For a sample: mean = 0, standard deviation = 1

Multiple choice Choose A,B,C or D for each of these: NOW find P(X>4.3) using Normal tables 2) A B C D For a sample: mean = 3, standard deviation = 2 What you are looking for is P(Z>0.65)

NOW find P(X>4.6) using Normal tables 3) For a sample: mean = 3, standard deviation = 2 What you are looking for is P(Z>0.80)

Multiple choice Choose A,B,C or D for each of these: NOW find P(X>9) using Normal tables 4) A B C D For a sample: mean = 10.1, standard deviation = 2 What you are looking for is 1-P(Z>0.55)

What is the probability that a sample will failure strength below 20KN? Mean(µ) = 50.3 kN Std Dev (σ) = 10.2 kN

i.e. Pr(X 1 < X< X 2 ) = Pr(Z 1 < Z< Z 2 ) and X ~ N (μ,σ) Z ~ N(0,1) Mean X 1 X 2 μ Concrete Strength (X) TRANSFORM TO STANDARD NORMAL Z (standard normal distribution) Z 1 Z 2 Finding a probability within a range using Normal tables e.g. Pr(2 < X< 4)

Example 2 The crushing strength of a concrete beam is normally distributed, mean μ= 50kN, σ= μ=50 What is the probability that a particular beam has strength between 47 and 49? Solution Transform to Z distribution We need Pr(-0.75 < Z < -0.25) WE NEED THIS WHICH IS EQUAL IN AREA TO THIS = A(Z))= Pr( ) – P(Z > 0.75) = = A(Z))=

What are the chances you will pass this year? Mean=54.3 S = 13.6

Things to remember Z-scores only work if your dataset if normally distributed. If you are assuming that data is normally distributed you should always state this ASSUMPTION (e.g. in course work). The distribution function looks like a bell shaped curve For other distributions similar techniques exist. ( we talk about some of them later in the course)

The compressive strength (X) of a number of concrete samples was found. For the samples: Mean(µ) = 50 kN and Std Dev (s) = 10 kN Assume the results are normally distributed- find 1)P(X>60) 2)P(X<40) 3)P(40<X<60) 4)P(X>30)

The compressive strength (X) of a number of concrete samples was found. For the samples: Mean(µ) = 50 kN and Std Dev (s) = 10 kN Assume the results are normally distributed- find 1)P(X>60) 2)P(X<40) 3)P(40<X<60) 4)P(X>30)

The following table describes when each of the distributions we have discussed so far is appropriate DistributionTypeMeanVarianceDescribes probability of Binomial Discrete np np(1-p)Selecting X ‘successes’ in a sample of n, with probability of success constant (e.g. infinite population, or with replacement). Poisson Discrete m mObserving X ‘rare’ events in a given time knowing the expected number of events in that time Normal Continuous μ σ 2 X occurring between two stated values, knowing μ and σ 2. Approximation Under certain conditions, one distribution can be used as an approximation to another. This is very useful, since it can be very tedious to evaluate probabilities for some distributions. The above ordering of distribution is by decreasing tedium, such that it is always desirable to approximate by a Normal distribution whenever possible. Approximating One Distribution by Another

When a continuous distribution, such as the Normal, is used as an approximation to a discrete distribution, such as the Binomial or Poisson, one must apply a continuity correction. This simply involves remembering that the continuous curve is fitted through the mid-points of the equivalent (discrete) histogram columns. Continuity Corrections (when approximating) E.g if the number of passengers on double-deck buses is approximately Normally distributed with mean 40 and standard deviation 15, what is the probability of a bus carrying more than 60 passengers (i.e. 61 or more passengers)? The variable X (no. of passengers) is discrete, (we cannot have half a passenger on a bus) When standardizing we would therefore use X=60.5 as follows: Etc…

Question The tensile strength of individual re-enforced bars made of a certain manufacturing process are known to be normally distributed with mean 32KN and variance 16KN. 1) What is the probability that a bar will have a tensile strength of at least 24KN 2) If the customer requires 99% of the bars to be stronger than 22KN, would the process meet the specification?

Can you use Normal tables? (A) YES (B) NO

CIVE Engineering Mathematics 2.2 Lecture 4- Summary Normal Distribution Standard Normal Distribution Z-scores Using standard Normal tables to find probabilities EXAMPLES class and Mathlab will develop Normal dist