7.1 – Discrete and Continuous Random Variables

Slides:



Advertisements
Similar presentations
AP Statistics Chapter 7 – Random Variables. Random Variables Random Variable – A variable whose value is a numerical outcome of a random phenomenon. Discrete.
Advertisements

Rules for Means and Variances
AP Statistics Chapter 7 Notes. Random Variables Random Variable –A variable whose value is a numerical outcome of a random phenomenon. Discrete Random.
Random Variables. Definitions A random variable is a variable whose value is a numerical outcome of a random phenomenon,. A discrete random variable X.
Business Statistics for Managerial Decision
AP Statistics Chapter 16. Discrete Random Variables A discrete random variable X has a countable number of possible values. The probability distribution.
Random Variables “a random phenomenon (event) whose numerical outcome is unknown”
4.4 Mean and Variance. Mean How do we compute the mean of a probability distribution? Actually, what does that even mean? Let’s look at an example on.
Random Variables November 23, Discrete Random Variables A random variable is a variable whose value is a numerical outcome of a random phenomenon.
Chapter 6 Random Variables
 The Law of Large Numbers – Read the preface to Chapter 7 on page 388 and be prepared to summarize the Law of Large Numbers.
First we need to understand the variables. A random variable is a value of an outcome such as counting the number of heads when flipping a coin, which.
Copyright © 2010 Pearson Education, Inc. Slide
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 5.1.
Lesson Means and Variances of Random Variables.
Week71 Discrete Random Variables A random variable (r.v.) assigns a numerical value to the outcomes in the sample space of a random phenomenon. A discrete.
Chapter 7: Random Variables
7.1 Discrete and Continuous Random Variable.  Calculate the probability of a discrete random variable and display in a graph.  Calculate the probability.
Dan Piett STAT West Virginia University Lecture 7.
Chapter 7 Random Variables.  Sample spaces are not always numeric (example tossing 4 coins: HTTH, TTTH, etc.)  If we let X = the number of heads, then.
Probability Distributions Random Variables * Discrete Probability Distributions * Mean, Variance, and Standard Deviation * Expected Value.
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
Random Variables Numerical Quantities whose values are determine by the outcome of a random experiment.
AP Statistics Section 7.2 C Rules for Means & Variances.
Chapter 6 Random Variables
A study of education followed a large group of fourth-grade children to see how many years of school they eventually completed. Let x be the highest year.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Chapter 7 Random Variables
Chapter 7 Random Variables.  Sample spaces are not always numeric (example tossing 4 coins: HTTH, TTTH, etc.)  If we let X = the number of heads, then.
7.2 Means and Variances of Random Variables.  Calculate the mean and standard deviation of random variables  Understand the law of large numbers.
7.2 Means and variances of Random Variables (weighted average) Mean of a sample is X bar, Mean of a probability distribution is μ.
A life insurance company sells a term insurance policy to a 21-year-old male that pays $100,000 if the insured dies within the next 5 years. The probability.
§ 5.3 Normal Distributions: Finding Values. Probability and Normal Distributions If a random variable, x, is normally distributed, you can find the probability.
Chapter 7 Random Variables. Usually notated by capital letters near the end of the alphabet, such as X or Y. As we progress from general rules of probability.
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
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.
AP Statistics Chapter 16. Discrete Random Variables A discrete random variable X has a countable number of possible values. The probability distribution.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Active Learning Lecture Slides For use with Classroom Response Systems Chapter 9 Random Variables.
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.
Section 7.2 P1 Means and Variances of Random Variables AP Statistics.
1 7.5 CONTINUOUS RANDOM VARIABLES Continuous data occur when the variable of interest can take on anyone of an infinite number of values over some interval.
Review Know properties of Random Variables
MATH Section 3.1.
6.1 Discrete and Continuous Random Variables Objectives SWBAT: COMPUTE probabilities using the probability distribution of a discrete random variable.
7.2 Means & Variances of Random Variables AP Statistics.
Chapter 7.2. The __________ of a discrete random variable, X, is its _________ _____________. Each value of X is weighted by its probability. To find.
Chapter 7: Random Variables 7.2 – Means and Variance of Random Variables.
Lesson 96 – Expected Value & Variance of Discrete Random Variables HL2 Math - Santowski.
Discrete and Continuous Random Variables
Aim – How do we analyze a Discrete Random Variable?
Probability Distribution
Means and Variances of Random Variables
Mean & variance of random variables
Suppose you roll two dice, and let X be sum of the dice. Then X is
Chapter 6: Random Variables
Probability Review for Financial Engineers
WARM – UP 1.) In a box of 10 batteries, 3 batteries are Dead. You choose 2 batteries from the box at random: a) Create the probability model for the.
A study of education followed a large group of fourth-grade children to see how many years of school they eventually completed. Let x be the highest year.
Chapter 7 Random Variables.
Warmup Consider tossing a fair coin 3 times.
Chapter 6: Random Variables
Section Means and Variances of Random Variables
AP Statistics Chapter 16 Notes.
7.1: Discrete and Continuous Random Variables
Discrete Distributions
Chapter 6: Random Variables
Chapter 6: Random Variables
Presentation transcript:

7.1 – Discrete and Continuous Random Variables

Random Variable: A variable whose value is a numerical outcome of a random phenomenon Discrete Random Variable: X has a countable number of possible values.

X P(X) x1 x2 x3 … xk p1 p2 p3 …pk Properties: 1. Every probability pi is between 0 and 1 2. The sum of the probabilities add to 1

Example #1: Make a probability histogram of the following grades on a four-point scale. Grade 1 2 3 4 P(X) 0.05 0.28 0.19 0.32 0.16

And all individual probabilities are less than 1 Example #1: Make a probability histogram of the following grades on a four-point scale. Grade 1 2 3 4 P(X) 0.05 0.28 0.19 0.32 0.16 Determine if this is a legitimate probability distribution. Yes, 0.05 + 0.28 + 0.19 + 0.32 + 0.16 = 1 And all individual probabilities are less than 1

Example #1: Make a probability histogram of the following grades on a four-point scale. Grade 1 2 3 4 P(X) 0.05 0.28 0.19 0.32 0.16 b. P(X = 2) = 0.19 c. P(X  2) = 0.19 + 0.28 + 0.05 = 0.52 d. P(X < 2) = 0.28 + 0.05 = 0.33 e. P(X > 2) = 0.32 + 0.16 = 0.48

Continuous Random Variable: X takes all values in an interval of numbers. Probability distribution is a density curve, where the probability is the area under the curve. Properties: 1. Probability of an individual event, P(X = # ) = 0. 2. The height of the curve doesn’t represent the probability, the area does! 3. If it is normally distributed, then use the z-score, x -   Z =

P(X > 0.2) bh = (.8)(1) = 0.8 Example #2 Find the following probabilities for the Uniform distribution. 1 .9 .8 .7 .6 .5 .4 .3 .2 .1 P(X > 0.2) bh = (.8)(1) = 0.8 .1 .2 .3 .4 .5 .6 .7 .8 . 9 1

b. P(X = 0.3) bh = (0)(1) = Example #2 Find the following probabilities for the Uniform distribution. 1 .9 .8 .7 .6 .5 .4 .3 .2 .1 b. P(X = 0.3) bh = (0)(1) = .1 .2 .3 .4 .5 .6 .7 .8 . 9 1

c. P(0.1 < X < 0.7) bh = (0.6)(1) = 0.6 Example #2 Find the following probabilities for the Uniform distribution. 1 .9 .8 .7 .6 .5 .4 .3 .2 .1 c. P(0.1 < X < 0.7) bh = (0.6)(1) = 0.6 .1 .2 .3 .4 .5 .6 .7 .8 . 9 1

d. P(0.6 < X < 1.0) bh = (0.4)(1) = 0.4 Example #2 Find the following probabilities for the Uniform distribution. 1 .9 .8 .7 .6 .5 .4 .3 .2 .1 d. P(0.6 < X < 1.0) bh = (0.4)(1) = 0.4 .1 .2 .3 .4 .5 .6 .7 .8 . 9 1

e. P(0.6  X  1.0) bh = (0.4)(1) = 0.4 Example #2 Find the following probabilities for the Uniform distribution. 1 .9 .8 .7 .6 .5 .4 .3 .2 .1 e. P(0.6  X  1.0) bh = (0.4)(1) = 0.4 .1 .2 .3 .4 .5 .6 .7 .8 . 9 1

Example #2 Find the following probabilities for the Uniform distribution. f. What is different about continuous and discrete values according to letters d and e? Continuous RV’s have a probability of zero when equal to one number, so the probability doesn’t change if less than or less than or equal to.

x –   Z = = 225 – 235 15 -10 15 = = -0.67 Example #3 The amount of money spent by students for textbooks in a semester is a normally distributed random variable with a mean of $235 and a standard deviation of $15. What percent of students spend less than $225 in a semester?  = 15 x –   Z = = 225 – 235 15 -10 15 = x 225 =235 = -0.67

P(Z < -0.67) = Normalcdf(lowerbound, upperbound, , ) OR: Normalcdf(-100000, 225, 235, 15) P(X < 225) = 0.2525

Example #3 The amount of money spent by students for textbooks in a semester is a normally distributed random variable with a mean of $235 and a standard deviation of $15. b. What percent of students spend more than $270 on textbooks in any semester?  = 15 x –   Z = = 270 – 235 15 35 15 =235 x 270 = = 2.33

P(Z > 2.33) = P(X > 270) = 1 – P(Z < 2.33) = 1 – 0.9901 = 0.0099 P(Z > 2.33) = OR: Normalcdf(lowerbound, upperbound, , ) Normalcdf(270, 1000000000, 235, 15) P(X > 270) = 0.0098

Example #3 The amount of money spent by students for textbooks in a semester is a normally distributed random variable with a mean of $235 and a standard deviation of $15. c. What is the probability that a student spends between $220 and $250 in any semester?  = 15 Z = x –   Z = x –   = 220 – 235 15 = 250 – 235 15 15 Z 220  = 34 -15 15 Z 250 = = = = -1 1

P(220 < X < 250) = P(-1 < Z < 1) = P(Z < 1) – P(Z < -1) = 0.8413 – 0.1587 = 0.6826 OR: Normalcdf(lowerbound, upperbound, , ) Normalcdf(220, 250, 235, 15) 0.6827 P(220 < X < 250) =

7.2 – Means and Variances of Random Variables

Mean of a Discrete Random Variable: (Expected Value) To find the mean of the Random Variable X, multiply each possible outcome by its associated probability and sum all of the products. Notation: X = X1p1 + X2p2 + X3p3 + … + Xkpk = Xipi

X = Xipi = X = (4,999x0.000035) + (49x0.00168) + (4x0.303) + Example #1 How much would you expect to win or lose per ticket in this California Decco Lottery Game on average (over the long run)? # of matches 4 3 2 1 X = net gain $4,999 $49 $4 -$1 Probability .000035 .00168 .0303 .242 .726 X = Xipi = (4,999x0.000035) + (49x0.00168) + (4x0.303) + (0x0.242) + (-1x0.726) = X = -0.3475

Rules for Means: If X is a random variable and a and b are fixed numbers, then a±bX = a ± bX b. If X and Y are random variables, then x±y = X ± Y

Example #2 Suppose the equation Y = 20 + 10X converts a PSAT math score, X, into an SAT math score, Y. Suppose the average PSAT math score is 48. What is the average SAT math score? 20+100X = 20 + 10(48) = 20 + 480 = 500

Let X = 625 represent the average SAT math score Let X = 625 represent the average SAT math score. Let Y = 590 represent the average SAT verbal score. What are the averages combined? X+Y = X + Y = 625 + 590 = 1215

Variance and Standard Deviation of the Discrete Random Variable To find the variance, subtract the mean (expected value) from each observation, square it and multiply it by its associated probability. The sum of these results is the variance. The Standard Deviation is simply the square root of the variance. They must be independent to use the rule!!!

Variance: Standard Deviation:

Find the variance and the standard deviation. Example #3 Find the variance and the standard deviation. # of matches 4 3 2 1 X = net gain $4,999 $49 $4 -$1 Probability .000035 .00168 .0303 .242 .726

If X is a random variable and a and b are fixed numbers, then Rules for Variances: If X is a random variable and a and b are fixed numbers, then If X and Y are independent random variables, then: and and Therefore:

Example #4 Consider a distribution with μX = 14, σX = 2. Multiply each value of X by 4 and then add 3 to each. Find the mean and standard deviation.

X = Y = X = Y = Y – X = 2.00g 2.001g 0.002g 0.001g 2.001 – 2.00 = Example #4 You have two scales for measuring weights in a chemistry lab. Both scales give answers that vary a bit in repeated weighings of the same item. If the true weight of a compound is 2.00 grams (g), the first scale produces reading X that have mean 2.00g and standard deviation 0.002g. The second scale’s readings Y have mean 2.001g and standard deviation 0.001g. What are the mean and standard deviation of the difference Y – X between the readings? (The readings are independent) X = Y = 2.00g 2.001g X = Y = 0.002g 0.001g Y – X = 2.001 – 2.00 = 0.001

X = Y = 2.00g 2.001g X = Y = 0.002g 0.001g Y – X =

a. Find the missing probability. Example #5 Rotter Partners is planning a major investment. The amount of profit X is uncertain, but a probabilistic estimate gives the following distribution (in millions of dollars): Profit: 1 1.5 2.0 4 10 Probability: 0.1 0.2 0.4 0.1 a. Find the missing probability.

Example #5 Rotter Partners is planning a major investment. The amount of profit X is uncertain, but a probabilistic estimate gives the following distribution (in millions of dollars): Profit: 1 1.5 2.0 4 10 Probability: 0.1 0.2 0.4 b. Find the mean and standard deviation of the profit X = Xipi = (1x0.1) + (1.5x0.2) + (2x0.4) + (4x0.2) + (10x0.1)= X = 3

b. Find the mean and standard deviation of the profit Example #5 Rotter Partners is planning a major investment. The amount of profit X is uncertain, but a probabilistic estimate gives the following distribution (in millions of dollars): Profit: 1 1.5 2.0 4 10 Probability: 0.1 0.2 0.4 b. Find the mean and standard deviation of the profit

X = 0.9X – 0.2 = Y = Y = Y = Y = Y = c. Rotter Partners owes its source of capital a fee of $200,000 plus 10% of the profits X. So, the firm actually retains: Y = 0.9X – 0.2 from the investment. Find the mean and standard deviation of Y. X = 3 0.9X – 0.2 = Y = Y = 0.9X – 0.2 = 0.9(3) – 0.2 Y = 0.9(2.5199) Y = 2.5 Y = 2.2691

Example #6 Typographical errors can be either “nonword errors” or “word errors.” A nonword error is not a real word, as when “the” is typed “teh.” A word error is a real word, but not the right word, as when “lose” is typed as “loose.” When undergraduate students are asked to write a 250-word essay (without spell-checking): The number of nonword errors has the following distribution: Errors 1 2 3 4 Probability 0.1 0.2 0.3 The number of word errors has this distribution: Errors 1 2 3 Probability 0.4 0.3 0.2 0.1 Find the mean and standard deviation of the total number of errors in an essay if the counts of word errors and nonword errors are independent.

W = N = W = N = W+N = W+ N = W+N = Word Errors Non-Word Errors 2.1 1 W = N = 1.1358 1 W+N = W+ N = 2.1 + 1 = 3.1 W+N =