STA Module 3B Discrete Random Variables

Similar documents
STA Rev. F Learning Objectives. What is a Random Variable? Module 5 Discrete Random Variables

Chapter 16. Random Variables. Copyright 2010 Pearson Education, Inc.

Chapter 16. Random Variables. Copyright 2010, 2007, 2004 Pearson Education, Inc.

Random Variables. Copyright 2009 Pearson Education, Inc.

Random Variables. Note: Be sure that every possible outcome is included in the sum and verify that you have a valid probability model to start with.

X Prob

Discrete probability distributions

Chapter 3 - Lecture 3 Expected Values of Discrete Random Va

Sampling and sampling distribution

Introduction to Statistics I

AP Statistics Chapter 6 - Random Variables

Examples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions

Point Estimation. Stat 4570/5570 Material from Devore s book (Ed 8), and Cengage

Chapter 4 Probability Distributions

Statistical Methods in Practice STAT/MATH 3379

MLLunsford 1. Activity: Central Limit Theorem Theory and Computations

Binomial Random Variables. Binomial Random Variables

STOR Lecture 7. Random Variables - I

15.063: Communicating with Data Summer Recitation 3 Probability II

Normal Distribution. Notes. Normal Distribution. Standard Normal. Sums of Normal Random Variables. Normal. approximation of Binomial.

Overview. Definitions. Definitions. Graphs. Chapter 4 Probability Distributions. probability distributions

Overview. Definitions. Definitions. Graphs. Chapter 5 Probability Distributions. probability distributions

Probability is the tool used for anticipating what the distribution of data should look like under a given model.

The Binomial and Geometric Distributions. Chapter 8

Mean of a Discrete Random variable. Suppose that X is a discrete random variable whose distribution is : :

4.2 Probability Distributions

Expectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or

Chapter 6. y y. Standardizing with z-scores. Standardizing with z-scores (cont.)

Discrete Random Variables

Chapter 6 Confidence Intervals Section 6-1 Confidence Intervals for the Mean (Large Samples) Estimating Population Parameters

A probability distribution shows the possible outcomes of an experiment and the probability of each of these outcomes.

Bayes s Rule Example. defective. An MP3 player is selected at random and found to be defective. What is the probability it came from Factory I?

1/3/12 AP STATS. WARM UP: How was your New Year? EQ: HW: Pg 381 #1, 2, 3, 6, 9, 10, 17, 18, 24, 25, 31. Chapter

Chapter 7: Random Variables

1. Variability in estimates and CLT

Chapter 8. Binomial and Geometric Distributions

5.2 Random Variables, Probability Histograms and Probability Distributions

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why?

Both the quizzes and exams are closed book. However, For quizzes: Formulas will be provided with quiz papers if there is any need.

A random variable is a quantitative variable that represents a certain

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series. Slide 1

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Insurance companies make bets. They bet that you re going to

Statistics (This summary is for chapters 17, 28, 29 and section G of chapter 19)

Lecture 9 - Sampling Distributions and the CLT

Making Sense of Cents

Chapter 6: Random Variables

Chapter 6 Confidence Intervals

Estimating parameters 5.3 Confidence Intervals 5.4 Sample Variance

Chapter 7: SAMPLING DISTRIBUTIONS & POINT ESTIMATION OF PARAMETERS

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

Chapter 6: Random Variables

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Sampling & populations

Lecture 8. The Binomial Distribution. Binomial Distribution. Binomial Distribution. Probability Distributions: Normal and Binomial

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

Lecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial

Statistical Intervals (One sample) (Chs )

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality

SECTION 6.2 (DAY 1) TRANSFORMING RANDOM VARIABLES NOVEMBER 16 TH, 2017

Chapter 5. Sampling Distributions

CHAPTER 6 Random Variables

Chapter 5: Discrete Probability Distributions

Math 140 Introductory Statistics. First midterm September

Equalities. Equalities

Chapter 12 Module 4. AMIS 310 Foundations of Accounting

CD Appendix F Hypergeometric Distribution

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

STAT 201 Chapter 6. Distribution

Homework: Due Wed, Nov 3 rd Chapter 8, # 48a, 55c and 56 (count as 1), 67a

Chapter 8: Binomial and Geometric Distributions

Chapter 3 - Lecture 5 The Binomial Probability Distribution

MAS1403. Quantitative Methods for Business Management. Semester 1, Module leader: Dr. David Walshaw

The Central Limit Theorem. Sec. 8.2: The Random Variable. it s Distribution. it s Distribution

Law of Large Numbers, Central Limit Theorem

ECON 214 Elements of Statistics for Economists 2016/2017

Statistics 511 Additional Materials

Section 0: Introduction and Review of Basic Concepts

ECE 295: Lecture 03 Estimation and Confidence Interval

Lecture 9. Probability Distributions. Outline. Outline

CHAPTER 6 Random Variables

Chapter 14 - Random Variables

Review of the Topics for Midterm I

4 Random Variables and Distributions

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

PROBABILITY AND STATISTICS CHAPTER 4 NOTES DISCRETE PROBABILITY DISTRIBUTIONS

Lecture 9. Probability Distributions

Figure 1: 2πσ is said to have a normal distribution with mean µ and standard deviation σ. This is also denoted

Week 7. Texas A& M University. Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4

Statistics for Business and Economics

7. For the table that follows, answer the following questions: x y 1-1/4 2-1/2 3-3/4 4

Homework: Due Wed, Feb 20 th. Chapter 8, # 60a + 62a (count together as 1), 74, 82

Chapter 8 Statistical Intervals for a Single Sample

Sec$on 6.1: Discrete and Con.nuous Random Variables. Tuesday, November 14 th, 2017

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

19. CONFIDENCE INTERVALS FOR THE MEAN; KNOWN VARIANCE

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

No, because np = 100(0.02) = 2. The value of np must be greater than or equal to 5 to use the normal approximation.

HOMEWORK: Due Mon 11/8, Chapter 9: #15, 25, 37, 44

Transcription:

STA 2023 Module 3B Discrete Random Variables

Learning Objectives Upon completing this module, you should be able to 1. Determine the probability distribution of a discrete random variable. 2. Construct a probability histogram. 3. Describe events using random-variable notation, when appropriate. 4. Use the frequentist interpretation of probability to understand the meaning of probability distribution of a random variable. 5. Find and interpret the mean and standard deviation of a discrete random variable. 2

What is a Random Variable? What does it mean? A discrete random variable usually involves a count of something. 3

What is a Probability Distribution? This is an example of a probability distribution of a discrete random variable X, where x represents the possible number of siblings of a randomly selected student. Note the difference between X and x. 4

Probability Distribution and Probability Histogram The probability distribution and probability histogram of a discrete random variable show its possible values and their likelihood. 5

Probability Distribution and Probability Histogram (Cont.) Can you tell what is represented on the y-axis of the probability histogram? 6

Probability of an Event The probability of the event that the students have exactly two siblings (when x is 2) can be represented by P(X = 2). In this case, P(X = 2) = 0.275. The probability of the event that the students have exactly three siblings (when x is 3) can be represented by P(X = 3). In this case, P(X = 3) = 0.075. 7

Probability of an Event (Cont.) The probability of the event that the students have less than three siblings (when x is 3) can be represented by P(X < 3). P(X < 3) = P(X = 0) + P(X = 1) + P(X = 2) = 0.200 + 0.425 + 0.275 = 0.900 The probability of the event that the students have less than two siblings (when x is 2) can be represented by P(X < 2). P(X < 2) = P(X = 0) + P(X = 1) = 0.200 + 0.425 = 0.625 8

Probability of an Event (Cont.) The probability of the event that the students have less than or equal to two siblings (when x is 2) can be represented by P(X 2). P(X 2) = P(X = 0) + P(X = 1)+ P(X = 2) = 0.200 + 0.425 + 0.075 = 0.9 Note that P(X 2) = P(X < 3) = P(X = 0) + P(X = 1)+ P(X = 2) = 0.9. 9

Probability of an Event (Cont.) The probability of the event that the students have at most two siblings (when x is 2) can be represented, again, by P(X 2). P(X 2) = P(X = 0) + P(X = 1)+ P(X = 2) = 0.200 + 0.425 + 0.075 = 0.9 Similarly, the probability of the event that the students have at most one siblings (when x is 1) can be represented by P(X 1). P(X 1) = P(X = 0) + P(X = 1) = 0.200 + 0.425 = 0.645 10

Probability of an Event (Cont.) The probability of the event that the students have more than two siblings (when x is 2) can be represented, by P(X > 2). P(X > 2) = P(X = 3)+ P(X = 4) = 0.075 + 0.025 = 0.1 Alternatively, the probability of the event that the students have more than two siblings (when x is 2) can be solved by using the complementation rule. P(X > 2) = 1 - P(X 2) = 1-0.9 = 0.1 11

Probability of an Event (Cont.) Can you tell what is the probability of the event that the students have more than one but less than four siblings? This can be represented by P(1 < X) and P(X < 4) = P(1< X < 4). P(1 < X < 4) = P(X = 2)+ P(X = 3) = 0.275 + 0.075 = 0.35 12

What is the Mean of a Discrete Random Variable? Hint: To obtain the mean of a discrete random variable, multiply each possible value by its probability and then add those products. 13

The Mean of a Random Variable (Cont.) What does is mean? The mean of a random variable can be considered the long-run-average value of the random variable in repeated independent observations. 14

Expected Value: Center A random variable assumes a value based on the outcome of a random event. We use a capital letter, like X, to denote a random variable. A particular value of a random variable will be denoted with a lower case letter, in this case x. 15

Expected Value: Center (cont.) There are two types of random variables: Discrete random variables can take one of a finite number of distinct outcomes. Example: Number of credit hours Continuous random variables can take any numeric value within a range of values. Example: Cost of books this term 16

Expected Value: Center (cont.) A probability model for a random variable consists of: The collection of all possible values of a random variable, and the probabilities that the values occur. Of particular interest is the value we expect a random variable to take on, notated µ (for population mean) or E(X) for expected value. 17

Expected Value: Center (cont.) The expected value of a (discrete) random variable can be found by summing the products of each possible value and the probability that it occurs: µ = E X = x P x ( ) ( ) Note: Be sure that every possible outcome is included in the sum and verify that you have a valid probability model to start with. 18

First Center, Now Spread For data, we calculated the standard deviation by first computing the deviation from the mean and squaring it. We do that with discrete random variables as well. The variance for a random variable is: 2 ( ) ( ) ( ) = Var X = x P x 2 σ µ The standard deviation for a random variable is: σ = SD X = ( ) Var( X ) 19

More About Means and Variances Adding or subtracting a constant from data shifts the mean but doesn t change the variance or standard deviation: E(X ± c) = E(X) ± c Var(X ± c) = Var(X) Example: Consider everyone in a company receiving a $5000 increase in salary. 20

More About Means and Variances (cont.) In general, multiplying each value of a random variable by a constant multiplies the mean by that constant and the variance by the square of the constant: E(aX) = ae(x) Var(aX) = a 2 Var(X) Example: Consider everyone in a company receiving a 10% increase in salary. 21

More About Means and Variances (cont.) In general, The mean of the sum of two random variables is the sum of the means. The mean of the difference of two random variables is the difference of the means. E(X ± Y) = E(X) ± E(Y) If the random variables are independent, the variance of their sum or difference is always the sum of the variances. Var(X ± Y) = Var(X) + Var(Y) 22

Combining Random Variables (The Bad News) It would be nice if we could go directly from models of each random variable to a model for their sum. But, the probability model for the sum of two random variables is not necessarily the same as the model we started with even when the variables are independent. Thus, even though expected values may add, the probability model itself is different. 23

Continuous Random Variables Random variables that can take on any value in a range of values are called continuous random variables. Continuous random variables have means (expected values) and variances. We won t worry about how to calculate these means and variances in this course, but we can still work with models for continuous random variables when we re given the parameters. 24

Combining Random Variables (The Good News) Nearly everything we ve said about how discrete random variables behave is true of continuous random variables, as well. When two independent continuous random variables have Normal models, so does their sum or difference. This fact will let us apply our knowledge of Normal probabilities to questions about the sum or difference of independent random variables. 25

What Can Go Wrong? Probability models are still just models. Models can be useful, but they are not reality. Question probabilities as you would data, and think about the assumptions behind your models. If the model is wrong, so is everything else. 26

What Can Go Wrong? (cont.) Don t assume everything s Normal. You must Think about whether the Normality Assumption is justified. Watch out for variables that aren t independent: You can add expected values for any two random variables, but you can only add variances of independent random variables. 27

What Can Go Wrong? (cont.) Don t forget: Variances of independent random variables add. Standard deviations don t. Don t forget: Variances of independent random variables add, even when you re looking at the difference between them. Don t write independent instances of a random variable with notation that looks like they are the same variables. 28

What have we learned so far? We know how to work with random variables. We can use a probability model for a discrete random variable to find its expected value and standard deviation. The mean of the sum or difference of two random variables, discrete or continuous, is just the sum or difference of their means. And, for independent random variables, the variance of their sum or difference is always the sum of their variances. 29

What have we learned so far? (cont.) Normal models are once again special. Sums or differences of Normally distributed random variables also follow Normal models. 30

We have learned to: What have we learned? 1. Determine the probability distribution of a discrete random variable. 2. Construct a probability histogram. 3. Describe events using random-variable notation, when appropriate. 4. Use the frequentist interpretation of probability to understand the meaning of probability distribution of a random variable. 5. Find and interpret the mean and standard deviation of a discrete random variable. 31

Credit Some of these slides have been adapted/modified in part/whole from the slides of the following textbooks. Weiss, Neil A., Introductory Statistics, 8th Edition Bock, David E., Stats: Data and Models, 3rd Edition 32