1 Random Variables. 2 -2 -1 0 1 2 Here I have reproduced a number line. I did this because we will use the number line. Remember a variable is a concept.

Slides:



Advertisements
Similar presentations
1 Events and Their Probabilities Folks often want to know the probability of an event so they can plan their day (or whatever)
Advertisements

Chapter 4 Probability and Probability Distributions
Random Variables A random variable is a variable (usually we use x), that has a single numerical value, determined by chance, for each outcome of a procedure.
Sections 4.1 and 4.2 Overview Random Variables. PROBABILITY DISTRIBUTIONS This chapter will deal with the construction of probability distributions by.
Discrete Probability Distributions Random variables Discrete probability distributions Expected value and variance Binomial probability distribution.
Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Created by Tom Wegleitner, Centreville, Virginia Section 5-2.
The Normal Distribution
1 The Uniform Probability Distribution. 2 A rectangle The base of the rectangle The height of the rectangle Do you remember how to calculate the area.
Chapter 16: Random Variables
Probability (cont.). Assigning Probabilities A probability is a value between 0 and 1 and is written either as a fraction or as a proportion. For the.
1 The Sample Mean rule Recall we learned a variable could have a normal distribution? This was useful because then we could say approximately.
The Sampling Distribution of the Sample Mean AGAIN – with a new angle.
1 Binomial Probability Distribution Here we study a special discrete PD (PD will stand for Probability Distribution) known as the Binomial PD.
McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited. Adapted by Peter Au, George Brown College.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Discrete Random Variables Chapter 4.
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
Odds. 1. The odds in favor of an event E occurring is the ratio: p(E) / p(E C ) ; provided p(E C ) in not 0 Notations: The odds is, often, expressed in.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
Statistical Experiment A statistical experiment or observation is any process by which an measurements are obtained.
+ Section 6.1 & 6.2 Discrete Random Variables After this section, you should be able to… APPLY the concept of discrete random variables to a variety of.
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.
Continuous Distributions The Uniform distribution from a to b.
1 Chapter 16 Random Variables. 2 Expected Value: Center A random variable assumes a value based on the outcome of a random event.  We use a capital letter,
Random Variables Chapter 16.
Chapter 16 Random Variables.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Chapter 5: The Binomial Probability Distribution and Related Topics Section 1: Introduction to Random Variables and Probability Distributions.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
Mean and Standard Deviation of Discrete Random Variables.
Discrete Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4)
A.P. STATISTICS LESSON 7.2 MEANS AND VARIANCES OF RANDOM VARIABLES.
Chapter 5 Discrete Probability Distributions n Random Variables n Discrete Probability Distributions n Expected Value and Variance
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 16 Random Variables.
Slide 16-1 Copyright © 2004 Pearson Education, Inc.
Chapter 16 Probability Models. Who Wants to Play?? $5 to play You draw a card: – if you get an Ace of Hearts, I pay you $100 – if you get any other Ace,
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.
Random Variables Chapter 16.
STA 2023 Module 5 Discrete Random Variables. Rev.F082 Learning Objectives Upon completing this module, you should be able to: 1.Determine the probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 5-1 Review and Preview.
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.
The Variance of a Random Variable Lecture 35 Section Fri, Mar 26, 2004.
Welcome to MM305 Unit 3 Seminar Prof Greg Probability Concepts and Applications.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
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.
Statistics 16 Random Variables. Expected Value: Center A random variable assumes a value based on the outcome of a random event. –We use a capital letter,
Discrete Random Variables Section 6.1. Objectives Distinguish between discrete and continuous random variables Identify discrete probability distributions.
Copyright © 2009 Pearson Education, Inc. Chapter 16 Random Variables.
Chapter Five The Binomial Probability Distribution and Related Topics
4.2 Random Variables and Their Probability distributions
Discrete Random Variables
Welcome to MM305 Unit 3 Seminar Dr
Chapter 5 - Discrete Probability Distributions
Discrete Probability Distributions
Chapter 15 Random Variables
Chapter 16 Random Variables.
Chapter 6- Random Variables
Chapter 16 Random Variables
Chapter 5 Statistical Models in Simulation
Probability Key Questions
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.
12/6/ Discrete and Continuous Random Variables.
Discrete Probability Distributions
Chapter 5: Discrete Probability Distributions
Chapter 16 Random Variables Copyright © 2010 Pearson Education, Inc.
Presentation transcript:

1 Random Variables

Here I have reproduced a number line. I did this because we will use the number line. Remember a variable is a concept that can have a different value from subject to subject. An example might be daily Big Mac units sold during the lunch hour at the Wayne McDonalds. Each day (daily lunch hour units sold is the subject) could have a different value. Another example might be the temperature in Wayne during the lunch hour. On the number line we have the variable of interest. The amount of the number line we use depends on the thing we study.

3 Consider an experiment as a process that generates well defined outcomes. From our McDonalds example, each day is a new experiment where the daily units sold are well defined. But at the beginning of the day we do not know what the sales will be. Now I want to tell you about something called a random variable. A random variable is a numerical description of the outcome of an experiment. Each experimental outcome gets assigned a numerical value. In fact, most of the time the experimental outcome is a number so we just use that number as the number we assign. Random variables can be discrete or continuous. I was at a conference once and a guy told a joke about the difference between these two types of random variables (oh yes, the conference was really scintillating! – next screen for the joke)

4 The guy said he would give 50 bucks to the person or people (there were about 300 people in the room) who could guess the number between 1 and 10 that he had written on a card before the evening. He paused a moment and gave each of us a chance to write a number down. He then said his number was something like Get it? Arrrrrrrrrrrrrrrr Now here is the point. We all assumed he meant discrete values between 1 and 10 (discrete really means more than just integer values, but this is all we need at this time.) He meant continuous. Think back to the number line. Pick two points on the line - any two points you want. If all the number line between those two points can also be consider values for the random variable, then the variable is continuous. But if only some values between the points can be consider as possible values, then the variable is discrete. See next screen for examples.

5 Have you every gone into a gas station with a food shop? Sure you have! Now, have you every gone over to the cold pop section and then you looked and saw a pop bottle have less than a full bottle of fluid? I did once and a still bought it. It was the old glass coke bottle and it had no pop it, but was sealed as tight as a drum. Novelty, you know. I can’t find that bottle now. The ounces of fluid in a bottle is a continuous variable because, at least in theory with a really good measuring device, we could get really precise measures. All the number line from 0 to 20.2 ounces could happen. An example of a discrete variable could be the number of people who shop at the gas station that day. We would just have the values 1, 2, 3, but the fractions in between each number would not be part of the variable.

6 Probability Distribution A probability distribution for a random variable is very similar to a frequency distribution that we saw before. Essentially we have probabilities associated with each value of the random variable. When the variable is discrete the probability distribution is called a probability function and often denoted P(X). Let’s do an example. The random variable, X, is the number of shots on the golf course on hole number 4 it took me to get on the green.. The possible values are 1, 2, 3, or 4. On the next screen we show these values and the associated probabilities found by observing what happened over the last 20 times I played that hole. Note in general we talk about Xi as the ith possible value. Here the values go from 1 to 4.

7 XiP(Xi) 13/20 =.15 25/20 =.25 38/20 =.4 44/20 =.2 Number of shots Probability Remember P(X) represents probabilities. Note each value of Xi has P(Xi)  0, and the sum of the probabilities equals 1. The second part is written ΣP(Xi) = 1. Our example has these properties. The graph assists in seeing which outcome has the highest probability. With the probability values we can answer questions about likelihood of events. An example would be what is the probability that it took 1 or 4 shots to get on the green? Answer = =.35 (this is an either statement, a union with no overlap).

8 Expected Value The expected value of a discrete random variable is a measure of central location and is called mu, μ. The expected value has the formula E(X) = μ = ΣXiP(Xi). XiP(Xi) is the product of each value of the variable and its probability, and this is added across the values of the variable. From our golf example we have μ = 1(.15) + 2(.25) + 3(.4) + 4(.2) = The values could be 1, 2, 3, or 4 and we see the average amount is So note the expected value does not have to be one of the discrete values in the problem.

9 Variance The variance and associated standard deviation are used to measure the variability of the random variable. The formula for the variance is Var(x) = σ 2 = Σ (Xi – E(X)) 2 P(Xi). For our golf example we have ( ) 2 (.15) + ( ) 2 (.25) + ( ) 2 (.4) + ( ) 2 (.2) = =.93, and the standard deviation is the square root, or.96

10 Expected value and variance Expected value The expected value is a number we look to as an indicator of the center of the data. I have the arrows point in both directions to remind you variance and standard deviation are measures of how spread out, or variable, the data are.

11 Problem 2 page 157 a. For distribution C the expected value is 0(.2) + 1(.2) + 2(.2) + 3(.2) + 4(.2) = = 2 For distribution D the expected value is 0(.1) + 1(.2) + 2(.4) + 3(.2) + 4(.1) = = 2 b. For distribution C the standard deviation is found as the square root of the variance. The variance is [(0 – 2)^2].2 + [(1 – 2)^2].2 + [(2– 2)^2].2 + [(3 – 2)^2].2 + [(4 – 2)^2].2 = 4(.2) + 1(.2) + 0(.2) + 1(.2) + 4(.2) = = 2 So, the standard deviation is square root of 2 (=1.414).

12 Problem continued For distribution D the standard deviation is found as the square root of the variance. The variance is [(0 – 2)^2].1 + [(1 – 2)^2].2 + [(2– 2)^2].4+ [(3 – 2)^2].2 + [(4 – 2)^2].1 = 4(.1) + 1(.2) + 0(.4) + 1(.2) + 4(.1) = = 1.2 So, the standard deviation is square root of 1.2 (=1.095). c. The distributions have the same expected value. Distribution D has a smaller standard deviation and is thus less spread out. Note each distribution has the same possible values, values away from 2 occur less frequently for distribution D and thus it has smaller standard deviation.