Chapter 6: Random Variables and the Normal Distribution. 6.1 Discrete Random Variables. 6.2 Binomial Probability Distribution

Similar documents
6.4 Normal Distribution

Normal distribution. ) 2 /2σ. 2π σ

Chapter 5. Discrete Probability Distributions

Chapter 4. Probability Distributions

Ch5: Discrete Probability Distributions Section 5-1: Probability Distribution

Probability Distributions

Probability Distributions

4. Continuous Random Variables, the Pareto and Normal Distributions

You flip a fair coin four times, what is the probability that you obtain three heads.

MEASURES OF VARIATION

Section 6.1 Discrete Random variables Probability Distribution

8. THE NORMAL DISTRIBUTION

DETERMINE whether the conditions for a binomial setting are met. COMPUTE and INTERPRET probabilities involving binomial random variables

Density Curve. A density curve is the graph of a continuous probability distribution. It must satisfy the following properties:

5/31/ Normal Distributions. Normal Distributions. Chapter 6. Distribution. The Normal Distribution. Outline. Objectives.

Normal Distribution as an Approximation to the Binomial Distribution

The Normal Distribution

Stats on the TI 83 and TI 84 Calculator

WEEK #23: Statistics for Spread; Binomial Distribution

An Introduction to Basic Statistics and Probability

The Binomial Probability Distribution

Chapter 5. Random variables

Probability Distribution for Discrete Random Variables

TEACHER NOTES MATH NSPIRED

WHERE DOES THE 10% CONDITION COME FROM?

The Normal Distribution

Chapter 4. Probability and Probability Distributions

Probability. Distribution. Outline

REPEATED TRIALS. The probability of winning those k chosen times and losing the other times is then p k q n k.

Math Quizzes Winter 2009

Interpreting Data in Normal Distributions

Def: The standard normal distribution is a normal probability distribution that has a mean of 0 and a standard deviation of 1.

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

Descriptive statistics Statistical inference statistical inference, statistical induction and inferential statistics

Section 5-3 Binomial Probability Distributions

Sample Questions for Mastery #5

Characteristics of Binomial Distributions

Without data, all you are is just another person with an opinion.

AP Statistics Solutions to Packet 2

Random variables, probability distributions, binomial random variable

Chapter 4 Lecture Notes

Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS. Part 3: Discrete Uniform Distribution Binomial Distribution

The normal approximation to the binomial

3.4. The Binomial Probability Distribution. Copyright Cengage Learning. All rights reserved.

AP STATISTICS REVIEW (YMS Chapters 1-8)

6 3 The Standard Normal Distribution

Section 5 Part 2. Probability Distributions for Discrete Random Variables

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Exploratory Data Analysis

The right edge of the box is the third quartile, Q 3, which is the median of the data values above the median. Maximum Median

Probabilistic Strategies: Solutions

MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables

Continuous Random Variables

Chapter 1: Looking at Data Section 1.1: Displaying Distributions with Graphs

Lab 11. Simulations. The Concept

Lecture 14. Chapter 7: Probability. Rule 1: Rule 2: Rule 3: Nancy Pfenning Stats 1000

The Procedures of Monte Carlo Simulation (and Resampling)

Section 6-5 Sample Spaces and Probability

Key Concept. Density Curve

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

6.3 Conditional Probability and Independence

Unit 7: Normal Curves

ST 371 (IV): Discrete Random Variables

Statistics Revision Sheet Question 6 of Paper 2

EXAM #1 (Example) Instructor: Ela Jackiewicz. Relax and good luck!

SOLUTIONS: 4.1 Probability Distributions and 4.2 Binomial Distributions

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

16. THE NORMAL APPROXIMATION TO THE BINOMIAL DISTRIBUTION

Probability Distributions

Chapter 5: Discrete Probability Distributions

Section 6.2 Definition of Probability

CA200 Quantitative Analysis for Business Decisions. File name: CA200_Section_04A_StatisticsIntroduction

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

The Binomial Distribution

9. Sampling Distributions

Introduction to Statistics for Psychology. Quantitative Methods for Human Sciences

What Does the Normal Distribution Sound Like?

Solution. Solution. (a) Sum of probabilities = 1 (Verify) (b) (see graph) Chapter 4 (Sections ) Homework Solutions. Section 4.

Lecture 5 : The Poisson Distribution

BINOMIAL DISTRIBUTION

PROBABILITY AND SAMPLING DISTRIBUTIONS

HISTOGRAMS, CUMULATIVE FREQUENCY AND BOX PLOTS

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

MAS108 Probability I

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

MBA 611 STATISTICS AND QUANTITATIVE METHODS

Fundamentals of Probability

Chapter 4: Probability and Counting Rules

2 Binomial, Poisson, Normal Distribution

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

Simple Random Sampling

Basic Probability Concepts

Normal Probability Distribution

Important Probability Distributions OPRE 6301

MATH 103/GRACEY PRACTICE EXAM/CHAPTERS 2-3. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Binomial Probability Distribution

5. Continuous Random Variables

3.4 The Normal Distribution

The Math. P (x) = 5! = = 120.

Fairfield Public Schools

Transcription:

Chapter 6: Random Variables and the Normal Distribution 6.1 Discrete Random Variables 6.2 Binomial Probability Distribution 6.3 Continuous Random Variables and the Normal Probability Distribution

6.1 Discrete Random Variables Objectives: By the end of this section, I will be able to 1) Identify random variables. 2) Explain what a discrete probability distribution is and construct probability distribution tables and graphs. 3) Calculate the mean, variance, and standard deviation of a discrete random variable.

Random Variables A variable whose values are determined by chance Chance in the definition of a random variable is crucial

Example 6.2 - Notation for random variables Suppose our experiment is to toss a single fair die, and we are interested in the number rolled. We define our random variable X to be the outcome of a single die roll. a. Why is the variable X a random variable? b. What are the possible values that the random variable X can take? c. What is the notation used for rolling a 5? d. Use random variable notation to express the probability of rolling a 5.

Example 6.2 continued Solution a) We don t know the value of X before we toss the die, which introduces an element of chance into the experiment b) Possible values for X: 1, 2, 3, 4, 5, and 6. c) When a 5 is rolled, then X equals the outcome 5, or X = 5. d) Probability of rolling a 5 for a fair die is 1/6, thus P(X = 5) = 1/6.

Types of Random Variables Discrete random variable - either a finite number of values or countable number of values, where countable refers to the fact that there might be infinitely many values, but they result from a counting process Continuous random variable infinitely many values, and those values can be associated with measurements on a continuous scale without gaps or interruptions

Example Identify each as a discrete or continuous random variable. (a) Total amount in ounces of soft drinks you consumed in the past year. (b) The number of cans of soft drinks that you consumed in the past year.

ANSWER: (a) continuous (b) discrete Example

Example Identify each as a discrete or continuous random variable. (a) The number of movies currently playing in U.S. theaters. (b) The running time of a randomly selected movie (c) The cost of making a randomly selected movie.

ANSWER (a) discrete (b) continuous (c) continuous Example

Discrete Probability Distributions Provides all the possible values that the random variable can assume Together with the probability associated with each value Can take the form of a table, graph, or formula Describe populations, not samples

Example Table 6.2 in your textbook The probability distribution table of the number of heads observed when tossing a fair coin twice

Probability Distribution of a Discrete Random Variable The sum of the probabilities of all the possible values of a discrete random variable must equal 1. That is, ΣP(X) = 1. The probability of each value of X must be between 0 and 1, inclusive. That is, 0 P(X ) 1.

Example Let the random variable x represent the number of girls in a family of four children. Construct a table describing the probability distribution.

Example Determine the outcomes with a tree diagram:

Example Total number of outcomes is 16 Total number of ways to have 0 girls is 1 P(0 girls) 1/16 0.0625 Total number of ways to have 1 girl is 4 P(1girl) 4/16 0.2500 Total number of ways to have 2 girls is 6 P(2 girls) 6/16 0.375

Example Total number of ways to have 3 girls is 4 P(3 girls) 4/16 0.2500 Total number of ways to have 4 girls is 1 P(4 girls) 1/16 0.0625

Example Distribution is: x P(x) NOTE: 0 0.0625 1 0.2500 2 0.3750 3 0.2500 4 0.0625 P(x) 1

Mean of a Discrete Random Variable The mean μ of a discrete random variable represents the mean result when the experiment is repeated an indefinitely large number of times Also called the expected value or expectation of the random variable X. Denoted as E(X ) Holds for discrete and continuous random variables

Finding the Mean of a Discrete Random Variable Multiply each possible value of X by its probability. Add the resulting products. X P X

Variability of a Discrete Random Variable Formulas for the Variance and Standard Deviation of a Discrete Random Variable Definition Formulas 2 X 2 P X X 2 P X Computational Formulas X P X 2 2 2 X P X 2 2

Example x P(x) x P(x) 2 2 x x P( x) 0 0.0625 0 0 0 1 0.2500 0.25 1 0.2500 2 0.3750 0.75 4 1.5000 3 0.2500 0.75 9 2.2500 4 0.0625 0.25 16 1.0000 xp(x) 2.0

Example x P(x) x P(x) 2 2 x x P( x) 0 0.0625 0 0 0 1 0.2500 0.25 1 0.2500 2 0.3750 0.75 4 1.5000 3 0.2500 0.75 9 2.2500 4 0.0625 0.25 16 1.0000 2 x 2 P( x) 2 5.0000 4.0000 1.0000 1.0000 1.0

Discrete Probability Distribution as a Graph Graphs show all the information contained in probability distribution tables Identify patterns more quickly FIGURE 6.1 Graph of probability distribution for Kristin s financial gain.

Page 270 Example

Example Probability distribution (table) x P(x) 0 0.25 1 0.35 2 0.25 3 0.15 Omit graph

Page 270 Example

ANSWER Example X number of goals scored (a) Probability X is fewer than 3 P( X 0 X 1 X 2) P( X 0) P( X 1) P( X 2) 0.25 0.35 0.25 0.85

Example ANSWER (b) The most likely number of goals is the expected value (or mean) of X x P(x) x P(x) 0 0.25 0 1 0.35 0.35 xp(x) 1.3 1 2 0.25 0.50 3 0.15 0.45 She will most likely score one goal

Example ANSWER (c) Probability X is at least one P( X 1 X 2 X 3) P( X 1) P( X 2) P( X 3) 0.35 0.25 0.15 0.75

Summary Section 6.1 introduces the idea of random variables, a crucial concept that we will use to assess the behavior of variable processes for the remainder of the text. Random variables are variables whose value is determined at least partly by chance. Discrete random variables take values that are either finite or countable and may be put in a list. Continuous random variables take an infinite number of possible values, represented by an interval on the number line.

Summary Discrete random variables can be described using a probability distribution, which specifies the probability of observing each value of the random variable. Such a distribution can take the form of a table, graph or formula. Probability distributions describe populations, not samples. We can find the mean μ, standard deviation σ, and variance σ 2 of a discrete random variable using formulas.

6.2 Binomial Probability Distribution

6.2 Binomial Probability Distribution Objectives: By the end of this section, I will be able to 1) Explain what constitutes a binomial experiment. 2) Compute probabilities using the binomial probability formula. 3) Find probabilities using the binomial tables. 4) Calculate and interpret the mean, variance, and standard deviation of the binomial random variable.

Factorial symbol For any integer n 0, the factorial symbol n! is defined as follows: 0! = 1 1! = 1 n! = n(n - 1)(n - 2) 3 2 1

Example Find each of the following 1. 4! 2. 7!

Example ANSWER 1. 4! 4 3 2 1 24 2. 7! 7 6 5 4 3 2 1 5040

Factorial on Calculator Calculator 7 MATH PRB 4:! which is 7! Enter gives the result 5040

Combinations An arrangement of items in which r items are chosen from n distinct items. repetition of items is not allowed (each item is distinct). the order of the items is not important.

Example of a Combination The number of different possible 5 card poker hands. Verify this is a combination by checking each of the three properties. Identify r and n.

Example Five cards will be drawn at random from a deck of cards is depicted below

Example An arrangement of items in which 5 cards are chosen from 52 distinct items. repetition of cards is not allowed (each card is distinct). the order of the cards is not important.

Combination Formula The number of combinations of r items chosen from n different items is denoted as n C r and given by the formula: n C r n! r! n r!

Example Find the value of 7C 4

Example ANSWER: 7C 4 7! 4!(7 4)! 7! 4!3! 7 6 (4 3 5 4 2 1) 3 (3 2 1 2 1) 7 3 7 6 2 5 5 1 35

Combinations on Calculator Calculator 7 MATH PRB 3:nCr 4 To get: 7C 4 Then Enter gives 35

Example of a Combination Determine the number of different possible 5 card poker hands.

Example ANSWER: 52C 5 2,598,960

Motivational Example Genetics In mice an allele A for agouti (gray-brown, grizzled fur) is dominant over the allele a, which determines a non-agouti color. Suppose each parent has the genotype Aa and 4 offspring are produced. What is the probability that exactly 3 of these have agouti fur?

Motivational Example A single offspring has genotypes: A a A AA Aa Sample Space { AA, Aa, aa, aa} a aa aa

Motivational Example Agouti genotype is dominant Event that offspring is agouti: { AA, Aa, aa} Therefore, for any one birth: P(agouti genotype) 3/ 4 P(not agouti genotype) 1/ 4

Motivational Example Let G represent the event of an agouti offspring and N represent the event of a non-agouti Exactly three agouti offspring may occur in four different ways (in order of birth): NGGG, GNGG, GGNG, GGGN

Motivational Example Consecutive events (birth of a mouse) are independent and using multiplication rule: 256 27 4 3 4 3 4 3 4 1 ) ( ) ( ) ( ) ( ) ( G P G P G P N P G G G N P 256 27 4 3 4 3 4 1 4 3 ) ( ) ( ) ( ) ( ) ( G P G P N P G P G G N G P

Motivational Example 256 27 4 3 4 1 4 3 4 3 ) ( ) ( ) ( ) ( ) ( G P N P G P G P G N G G P 256 27 4 1 4 3 4 3 4 3 ) ( ) ( ) ( ) ( ) ( N P G P G P G P N G G G P

Motivational Example P(exactly 3 offspring has agouti fur) 0.422 256 108 4 1 4 3 4 4 1 4 3 4 3 4 3 4 3 4 1 4 3 4 3 4 3 4 3 4 1 4 3 4 3 4 3 4 3 4 1 birth N OR secondbirth N OR third birth N OR fourth birth N) (first 3 P

Binomial Experiment Agouti fur example may be considered a binomial experiment

Binomial Experiment Four Requirements: 1) Each trial of the experiment has only two possible outcomes (success or failure) 2) Fixed number of trials 3) Experimental outcomes are independent of each other 4) Probability of observing a success remains the same from trial to trial

Binomial Experiment Agouti fur example may be considered a binomial experiment 1) Each trial of the experiment has only two possible outcomes (success=agouti fur or failure=non-agouti fur) 2) Fixed number of trials (4 births) 3) Experimental outcomes are independent of each other 4) Probability of observing a success remains the same from trial to trial (¾)

Binomial Probability Distribution When a binomial experiment is performed, the set of all of possible numbers of successful outcomes of the experiment together with their associated probabilities makes a binomial probability distribution.

Binomial Probability Distribution Formula For a binomial experiment, the probability of observing exactly X successes in n trials where the probability of success for any one trial is p is X n P ( X ) ncx p (1 p) X where n C X X! n! n X!

Binomial Probability Distribution Formula Let q=1-p P ( X ) n C X p X q n X

Rationale for the Binomial Probability Formula P(x) = n! (n x )!x! p x q n-x The number of outcomes with exactly x successes among n trials

Binomial Probability Formula P(x) = n! (n x )!x! p x q n-x Number of outcomes with exactly x successes among n trials The probability of x successes among n trials for any one particular order

Agouti Fur Genotype Example X event of a birth with agouti fur P( X ) (4 4! 3)!3! 3 4 3 1 4 1 4 3 4 3 1 4 1 4 108 256 27 64 1 4 0.422

Binomial Probability Distribution Formula: Calculator 2 ND VARS A:binompdf(4,.75, 3) n, p, x Enter gives the result 0.421875

Binomial Distribution Tables n is the number of trials X is the number of successes p is the probability of observing a success See Example 6.16 on page 278 for more information FIGURE 6.7 Excerpt from the binomial tables.

Page 284 Example

Example ANSWER X number of heads P( X 5) 20C 5 (0.5) 5 15,504 (0.5) 0.0148 (0.5) 5 20 (0.5) 5 15

Binomial Mean, Variance, and Standard Deviation Mean (or expected value): μ = n p Variance: 2 np(1 p) Use q 1 p, then 2 npq Standard deviation: np (1 p) npq

Example 20 coin tosses The expected number of heads: np (20)(0.50) 10 Variance and standard deviation: 2 npq (20)(0.50)(0.50) 5.0 5 2.24

Page 284 Example

Is this a Binomial Distribution? Four Requirements: 1) Each trial of the experiment has only two possible outcomes (makes the basket or does not make the basket) 2) Fixed number of trials (50) 3) Experimental outcomes are independent of each other 4) Probability of observing a success remains the same from trial to trial (assumed to be 58.4%=0.584)

Example ANSWER (a) X number of baskets P( X 25) 50 C 25 0.0549 (0.584) 25 (0.416) 25

Example ANSWER (b) The expected value of X np (50)(0.584) 29.2 The most likely number of baskets is 29

Example ANSWER (c) In a random sample of 50 of O Neal s shots he is expected to make 29.2 of them.

Page 285 Example

Is this a Binomial Distribution? Four Requirements: 1) Each trial of the experiment has only two possible outcomes (contracted AIDS through injected drug use or did not) 2) Fixed number of trials (120) 3) Experimental outcomes are independent of each other 4) Probability of observing a success remains the same from trial to trial (assumed to be 11%=0.11)

Example ANSWER (a) X=number of white males who contracted AIDS through injected drug use P( X 10) 120 C 10 0.0816 (0.11) 10 (0.89) 110

Example ANSWER (b) At most 3 men is the same as less than or equal to 3 men: P( X 3) P( X 0) P( X 1) P( X 2) P( X 3) Why do probabilities add?

Example Use TI-83+ calculator 2 ND VARS to get A:binompdf(n, p, X) P( X 0) P( X 1) P( X 2) P( X 3) = binompdf(120,.11, 0) + binompdf(120,.11, 1) + binompdf(120,.11, 2) + binompdf(120,.11,3) 5.535172385 E 4 0.000554

Example ANSWER (c) Most likely number of white males is the expected value of X np (120)(0.11) 13.2

Example ANSWER (d) In a random sample of 120 white males with AIDS, it is expected that approximately 13 of them will have contracted AIDS by injected drug use

Page 286 Example

Example ANSWER (a) 2 npq (120)(0.11)(0.89) 11.748 11.748 3.43

RECALL: Outliers and z Scores Data values are not unusual if 2 z -score 2 Otherwise, they are moderately unusual or an outlier (see page 131)

Z score Formulas Sample Population z x x z x s

Z-score for 20 white males who contracted AIDS through injected drug use: z Example 20 13.2 3.43 1.98 It would not be unusual to find 20 white males who contracted AIDS through injected drug use in a random sample of 120 white males with AIDS.

Summary The most important discrete distribution is the binomial distribution, where there are two possible outcomes, each with probability of success p, and n independent trials. The probability of observing a particular number of successes can be calculated using the binomial probability distribution formula.

Summary Binomial probabilities can also be found using the binomial tables or using technology. There are formulas for finding the mean, variance, and standard deviation of a binomial random variable.

6.3 Continuous Random Variables and the Normal Probability Distribution Objectives: By the end of this section, I will be able to 1) Identify a continuous probability distribution. 2) Explain the properties of the normal probability distribution.

FIGURE 6.15- Histograms (a) Relatively small sample (n = 100) with large class widths (0.5 lb). (b) Large sample (n = 200) with smaller class widths (0.2 lb).

Figure 6.15 continued (c) Very large sample (n = 400) with very small class widths (0.1 lb). (d) Eventually, theoretical histogram of entire population becomes smooth curve with class widths arbitrarily small.

Continuous Probability Distributions A graph that indicates on the horizontal axis the range of values that the continuous random variable X can take Density curve is drawn above the horizontal axis Must follow the Requirements for the Probability Distribution of a Continuous Random Variable

Requirements for Probability Distribution of a Continuous Random Variable 1) The total area under the density curve must equal 1 (this is the Law of Total Probability for Continuous Random Variables). 2) The vertical height of the density curve can never be negative. That is, the density curve never goes below the horizontal axis.

Probability for a Continuous Random Variable Probability for Continuous Distributions is represented by area under the curve above an interval.

The Normal Probability Distribution Most important probability distribution in the world Population is said to be normally distributed, the data values follow a normal probability distribution population mean is μ population standard deviation is σ μ and σ are parameters of the normal distribution

FIGURE 6.19 The normal distribution is symmetric about its mean μ (bell-shaped).

Properties of the Normal Density Curve (Normal Curve) 1) It is symmetric about the mean μ. 2) The highest point occurs at X = μ, because symmetry implies that the mean equals the median, which equals the mode of the distribution. 3) It has inflection points at μ-σ and μ+σ. 4) The total area under the curve equals 1.

Properties of the Normal Density Curve (Normal Curve) continued 5) Symmetry also implies that the area under the curve to the left of μ and the area under the curve to the right of μ are both equal to 0.5 (Figure 6.19). 6) The normal distribution is defined for values of X extending indefinitely in both the positive and negative directions. As X moves farther from the mean, the density curve approaches but never quite touches the horizontal axis.

The Empirical Rule For data sets having a distribution that is approximately bell shaped, the following properties apply: About 68% of all values fall within 1 standard deviation of the mean. About 95% of all values fall within 2 standard deviations of the mean. About 99.7% of all values fall within 3 standard deviations of the mean.

FIGURE 6.23 The Empirical Rule.

Drawing a Graph to Solve Normal Probability Problems 1. Draw a generic bell-shaped curve, with a horizontal number line under it that is labeled as the random variable X. Insert the mean μ in the center of the number line.

Steps in Drawing a Graph to Help You Solve Normal Probability Problems 2) Mark on the number line the value of X indicated in the problem. Shade in the desired area under the normal curve. This part will depend on what values of X the problem is asking about. 3) Proceed to find the desired area or probability using the empirical rule.

Page 295 Example

ANSWER Example

Page 296 Example

ANSWER Example

Page 296 Example

ANSWER Example

Summary Continuous random variables assume infinitely many possible values, with no gap between the values. Probability for continuous random variables consists of area above an interval on the number line and under the distribution curve.

Summary The normal distribution is the most important continuous probability distribution. It is symmetric about its mean μ and has standard deviation σ. One should always sketch a picture of a normal probability problem to help solve it.