Random Variables Numerical Quantities whose values are determine by the outcome of a random experiment.

Slides:



Advertisements
Similar presentations
© 2003 Prentice-Hall, Inc.Chap 5-1 Business Statistics: A First Course (3 rd Edition) Chapter 5 Probability Distributions.
Advertisements

Chapter 5 ~ Probability Distributions (Discrete Variables)
CHAPTER 6 CONTINUOUS RANDOM VARIABLES AND THE NORMAL DISTRIBUTION Prem Mann, Introductory Statistics, 8/E Copyright © 2013 John Wiley & Sons. All rights.
Chapter 6 Continuous Random Variables and Probability Distributions
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 5 Continuous Random Variables and Probability Distributions
QMS 6351 Statistics and Research Methods Probability and Probability distributions Chapter 4, page 161 Chapter 5 (5.1) Chapter 6 (6.2) Prof. Vera Adamchik.
Discrete and Continuous Random Variables Continuous random variable: A variable whose values are not restricted – The Normal Distribution Discrete.
Chapter 6 ~ Normal Probability Distributions
12.3 – Measures of Dispersion
Continuous Probability Distributions A continuous random variable can assume any value in an interval on the real line or in a collection of intervals.
Chapter 6: Normal Probability Distributions
Chapter 4 Continuous Random Variables and Probability Distributions
Chapter 6: Random Variables
Chapter 7: The Normal Probability Distribution
Section 9.3 The Normal Distribution
Chapter 5: Probability Distributions (Discrete Variables)
Overview 6.1 Discrete Random Variables
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 6: Random Variables Section 6.1 Discrete and Continuous Random Variables.
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.
Chapter 6 Continuous Distributions The Gaussian (Normal) Distribution.
The Normal Probability Distribution
Chapter 6 Random Variables
Applied Quantitative Analysis and Practices LECTURE#11 By Dr. Osman Sadiq Paracha.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Continuous Random Variables.
Normal Probability Distributions Chapter 5. § 5.1 Introduction to Normal Distributions and the Standard Distribution.
The two way frequency table The  2 statistic Techniques for examining dependence amongst two categorical variables.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
Copyright © 2014, 2013, 2010 and 2007 Pearson Education, Inc. Chapter The Normal Probability Distribution 7.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved THE Normal PROBABILITY DISTRIBUTION.
Statistics Chapter 6 / 7 Review. Random Variables and Their Probability Distributions Discrete random variables – can take on only a countable or finite.
Random Variables Ch. 6. Flip a fair coin 4 times. List all the possible outcomes. Let X be the number of heads. A probability model describes the possible.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 6: Random Variables Section 6.1 Discrete and Continuous Random Variables.
Multivariate data. Regression and Correlation The Scatter Plot.
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:
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
Welcome to MM305 Unit 3 Seminar Prof Greg Probability Concepts and Applications.
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.
5 - 1 © 2000 Prentice-Hall, Inc. Statistics for Business and Economics Continuous Random Variables Chapter 5.
THE NORMAL DISTRIBUTION
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.
Normal Distribution and Parameter Estimation
Chapter 6: Random Variables
Chapter 6. Continuous Random Variables
STAT 206: Chapter 6 Normal Distribution.
Chapter 6: Random Variables
Chapter 6: Random Variables
Warmup Consider tossing a fair coin 3 times.
Chapter 6: Random Variables
12/6/ Discrete and Continuous Random Variables.
Chapter 6: Random Variables
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 6: Random Variables
AP Statistics Chapter 16 Notes.
Probability.
Chapter 6: Random Variables
Chapter 6: Random Variables
Chapter 6: Random Variables
Chapter 6: Random Variables
Chapter 6: Random Variables
Chapter 6: Random Variables
Chapter 6: Random Variables
The Normal Distribution
Chapter 6: Random Variables
Presentation transcript:

Random Variables Numerical Quantities whose values are determine by the outcome of a random experiment

Discrete Random Variables Discrete Random Variable: A random variable usually assuming an integer value. a discrete random variable assumes values that are isolated points along the real line. That is neighbouring values are not “possible values” for a discrete random variable Note: Usually associated with counting The number of times a head occurs in 10 tosses of a coin The number of auto accidents occurring on a weekend The size of a family

Continuous Random Variables Continuous Random Variable: A quantitative random variable that can vary over a continuum A continuous random variable can assume any value along a line interval, including every possible value between any two points on the line Note: Usually associated with a measurement Blood Pressure Weight gain Height

Probability Distributions of a Discrete Random Variable

Probability Distribution & Function Probability Distribution: A mathematical description of how probabilities are distributed with each of the possible values of a random variable. Notes: The probability distribution allows one to determine probabilities of events related to the values of a random variable. The probability distribution may be presented in the form of a table, chart, formula. Probability Function: A rule that assigns probabilities to the values of the random variable

Comments: Every probability function must satisfy: 1.The probability assigned to each value of the random variable must be between 0 and 1, inclusive: 2.The sum of the probabilities assigned to all the values of the random variable must equal 1: 3.

Mean and Variance of a Discrete Probability Distribution Describe the center and spread of a probability distribution The mean (denoted by greek letter  (mu)), measures the centre of the distribution. The variance (  2 ) and the standard deviation (  ) measure the spread of the distribution.  is the greek letter for s.

Mean of a Discrete Random Variable The mean, , of a discrete random variable x is found by multiplying each possible value of x by its own probability and then adding all the products together: Notes: The mean is a weighted average of the values of X. The mean is the long-run average value of the random variable. The mean is centre of gravity of the probability distribution of the random variable

 2 Variance and Standard Deviation Variance of a Discrete Random Variable: Variance,  2, of a discrete random variable x is found by multiplying each possible value of the squared deviation from the mean, (x   ) 2, by its own probability and then adding all the products together: Standard Deviation of a Discrete Random Variable: The positive square root of the variance:

Example The number of individuals, X, on base when a home run is hit ranges in value from 0 to 3.

Computing the mean: Note: is the long-run average value of the random variable is the centre of gravity value of the probability distribution of the random variable

Computing the variance: Computing the standard deviation:

The Binomial distribution 1.We have an experiment with two outcomes – Success(S) and Failure(F). 2.Let p denote the probability of S (Success). 3.In this case q=1-p denotes the probability of Failure(F). 4.This experiment is repeated n times independently. 5.X denote the number of successes occuring in the n repititions.

The possible values of X are 0, 1, 2, 3, 4, …, (n – 2), (n – 1), n and p(x) for any of the above values of x is given by: X is said to have the Binomial distribution with parameters n and p.

Summary: X is said to have the Binomial distribution with parameters n and p. 1.X is the number of successes occurring in the n repetitions of a Success-Failure Experiment. 2.The probability of success is p. 3. The probability function

Example: 1.A coin is tossed n = 5 times. X is the number of heads occurring in the 5 tosses of the coin. In this case p = ½ and x p(x)

Note:

Computing the summary parameters for the distribution – ,  2, 

Computing the mean: Computing the variance: Computing the standard deviation:

Example: A surgeon performs a difficult operation n = 10 times. X is the number of times that the operation is a success. The success rate for the operation is 80%. In this case p = 0.80 and X has a Binomial distribution with n = 10 and p = 0.80.

Computing p(x) for x = 1, 2, 3, …, 10

The Graph

Computing the summary parameters for the distribution – ,  2, 

Computing the mean: Computing the variance: Computing the standard deviation:

Notes The value of many binomial probabilities are found in Tables posted on the Stats 244 site. The value that is tabulated for n = 1, 2, 3, …,20; 25 and various values of p is: Hence The other table, tabulates p(x). Thus when using this table you will have to sum up the values

Example Suppose n = 8 and p = 0.70 and we want to compute P[X = 5] = p(5) Table value for n = 8, p = 0.70 and c =5 is = P[X  5] P[X = 5] = p(5) = P[X  5] - P[X  4] = – =.254

We can also compute Binomial probabilities using Excel =BINOMDIST(x, n, p, FALSE) The function will compute p(x). =BINOMDIST(c, n, p, TRUE) The function will compute

Mean,Variance & Standard Deviation The mean, variance and standard deviation of the binomial distribution can be found by using the following three formulas:

Solutions: 1)n = 20, p = 0.75, q = = 0.25  np()(0.)  npq()(0. ) Example Example:Find the mean and standard deviation of the binomial distribution when n = 20 and p = 0.75 px x x xx ()(0.) )          for0, 1, 2,..., 20 2)These values can also be calculated using the probability function:

Table of probabilities

Computing the mean: Computing the variance: Computing the standard deviation:

Histogram  

Probability Distributions of Continuous Random Variables

Probability Density Function The probability distribution of a continuous random variable is describe by probability density curve f(x).

Notes: The Total Area under the probability density curve is 1. The Area under the probability density curve is from a to b is P[a < X < b].

Normal Probability Distributions

The normal probability distribution is the most important distribution in all of statistics Many continuous random variables have normal or approximately normal distributions

The Normal Probability Distribution Points of Inflection

Main characteristics of the Normal Distribution Bell Shaped, symmetric Points of inflection on the bell shaped curve are at  –  and  +  That is one standard deviation from the mean Area under the bell shaped curve between  –  and  +  is approximately 2/3. Area under the bell shaped curve between  – 2  and  + 2  is approximately 95%.

There are many Normal distributions depending on by  and  Normal  = 100,  = 40Normal  = 140,  =20 Normal  = 100,  =20

The Standard Normal Distribution  = 0,  = 1

There are infinitely many normal probability distributions (differing in  and  ) Area under the Normal distribution with mean  and standard deviation  can be converted to area under the standard normal distribution If X has a Normal distribution with mean  and standard deviation  than has a standard normal distribution has a standard normal distribution. z is called the standard score (z-score) of X.

Example: Suppose a man aged is selected at random from a population. X is the Blood Pressure of the man. Assume that X has a Normal distribution with mean  =180 and a standard deviation  = 15. X is random variable.

The probability density of X is plotted in the graph below. Suppose that we are interested in the probability that X between 170 and 210.

Let Hence

Standard Normal Distribution Properties: The total area under the normal curve is equal to 1 The distribution is bell-shaped and symmetric; it extends indefinitely in both directions, approaching but never touching the horizontal axis The distribution has a mean of 0 and a standard deviation of 1 The mean divides the area in half, 0.50 on each side Nearly all the area is between z = and z = 3.00 Notes: Normal Table, Posted on Stats 244 web site, lists the probabilities below a specific value of z Probabilities of other intervals are found using the table entries, addition, subtraction, and the properties above

Table, Posted on stats 244 web site The table contains the area under the standard normal curve between -  and a specific value of z

Example Find the area under the standard normal curve between z = -  and z = 1.45 A portion of Table 3: z

Pz(0.)  Example Find the area to the left of -0.98; P(z < -0.98)

Area asked for Example Find the area under the normal curve to the right of z = 1.45; P(z > 1.45)

Example Find the area to the between z = 0 and of z = 1.45; P(0 < z < 1.45) Area between two points = differences in two tabled areas

Notes Use the fact that the area above zero and the area below zero is the area above zero is When finding normal distribution probabilities, a sketch is always helpful

Area asked for Example Example:Find the area between the mean (z = 0) and z = -1.26

Example: Find the area between z = and z = 1.80

Example: Find the area between z = and z = -0.50

Computing Areas under the general Normal Distributions (mean , standard deviation  ) 1.Convert the random variable, X, to its z-score. Approach: 3.Convert area under the distribution of X to area under the standard normal distribution. 2.Convert the limits on random variable, X, to their z-scores.

Example Example:A bottling machine is adjusted to fill bottles with a mean of 32.0 oz of soda and standard deviation of Assume the amount of fill is normally distributed and a bottle is selected at random: 1)Find the probability the bottle contains between oz and oz 2)Find the probability the bottle contains more than oz When xz      ; 0.02   Solutions part 1) When xz      ;  

PXP X Pz (.) 0.. (.)              Graphical Illustration:

PxP x Pz(.). (....             ) Example, Part 2)