Random Variables 7.1.

Slides:



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

Business Statistics for Managerial Decision
A.P. STATISTICS LESSON 7 – 1 ( DAY 1 ) DISCRETE AND CONTINUOUS RANDOM VARIABLES.
Section 5.1 Random Variables
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
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: The Normal Probability Distribution
7.1 Discrete and Continuous Random Variable.  Calculate the probability of a discrete random variable and display in a graph.  Calculate the probability.
Chapter 6 Random Variables. Make a Sample Space for Tossing a Fair Coin 3 times.
Chapter 6: Random Variables
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
5.3 Random Variables  Random Variable  Discrete Random Variables  Continuous Random Variables  Normal Distributions as Probability Distributions 1.
Mean and Standard Deviation of Discrete Random Variables.
Probability Distributions. We need to develop probabilities of all possible distributions instead of just a particular/individual outcome Many probability.
Chapter 16: Random Variables
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
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 Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
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) (1,5) (1,6)
Chap 7.1 Discrete and Continuous Random Variables.
Review Know properties of Random Variables
7.2 Means & Variances of Random Variables AP Statistics.
Discrete and Continuous Random Variables Section 7.1.
AP Statistics Section 7.1 Probability Distributions.
SWBAT: -Distinguish between discrete and continuous random variables -Construct a probability distribution and its graph -Determine if a distribution is.
CHAPTER 6 Random Variables
CHAPTER 6 Random Variables
CHAPTER 6 Random Variables
Discrete and Continuous Random Variables
Chapter 6: Random Variables
Discrete and Continuous Random Variables
Aim – How do we analyze a Discrete Random Variable?
Week 8 Chapter 14. Random Variables.
Chapter 4 – Part 3.
Mean & variance of random variables
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.
Chapter 6: Random Variables
Chapter 6: Random Variables
CHAPTER 10: Introducing Probability
6.1: Discrete and Continuous Random Variables
Chapter 10 - Introducing Probability
CHAPTER 6 Random Variables
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.
Warmup Consider tossing a fair coin 3 times.
Chapter 6: Random Variables
CHAPTER 6 Random Variables
12/6/ Discrete and Continuous Random Variables.
Chapter 6: Random Variables
CHAPTER 6 Random Variables
CHAPTER 6 Random Variables
Chapter 6: Random Variables
CHAPTER 6 Random Variables
7.1 Discrete & Continuous Random Variables
AP Statistics Chapter 16 Notes.
7.1: Discrete and Continuous Random Variables
Discrete & Continuous 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
Chapter 6: Random Variables
Chapter 6: Random Variables
Chapter 4 Probability.
Chapter 6: Random Variables
Presentation transcript:

Random Variables 7.1

Random Variables What you’ll learn What is a Random Variable? Discrete vs Continuous How to construct a valid probability distribution Using the information in a probability distribution to answer probability questions

Random Variable A Random Variable is a variable whose value is numerical outcome of a random phenomenon. A Random phenomenon has outcomes that we cannot predict, but in the long run has a regular distribution. Random Variables are either classified as Discrete or Continuous

Discrete vs Continuous Discrete RV: a discrete rv is a variable whose outcomes have a “countable” number of outcomes. In other words, the outcomes can only take on a finite number of possibilities Examples: Dice: If you roll a six-sided die, the possibilities are 1,2,3,4,5, or 6. Number of A’s, B’s, C’s, D’s and F’s in a classroom

Continuous Random Variable A continuous variable is a variable that takes on all values within a specified interval For Example: Height: only the precision of the measurement instrument dictates the number of decimal places Weight: again instrument precision Time: another continuous random variable

Describing a Continuous RV We describe a Continuous RV using a density curve. We can calculate probabilities for any given interval by finding the area under the density curve. These curves can be familiar geometric shapes, such as rectangles (if our distribution is uniform) A Normal distribution is a Continuous RV We will concentrate most of our time on discrete distributions, since we have already learned how to calculate probabilities in a normal distribution.

Discrete Probability Distributions A discrete random variable has a countable number of outcomes. The probability distribution for a discrete rv lists each of these outcomes and the probability for each outcome

Discrete RV Probability Distribution Requirements for a VALID probability distribution Each individual probability must be a number between 0 and 1 The sum of all the probabilities must equal 1

Discrete Probability Distribution Example Consider for a moment a large statistics class. Over the years we know that the distribution of grades has been 15% each of A’s and D’s, 30% each of B’s and C’s and 10% F’s. Consider choosing a student at random from this class.

Creating a Probability Distn We can find the probability of the chosen student’s grade by creating the distribution. Consider the student’s grade on a 4-point scale. A=4, B=3, ect. Grade 1 2 3 4 Probability 0.10 0.15 0.30 .015

Verify the distribution is valid All probabilities are between 0 and 1 Grade 1 2 3 4 Probability 0.10 0.15 0.30 Verify the distribution is valid All probabilities are between 0 and 1 Sum of the probabilities = 1 .10 + .15 + .30 + .30 +.15 = 1 Since both conditions have been met, this is a valid probability distribution

Now let’s use the distribution to find some probabilities Grade 1 2 3 4 Probability 0.10 0.15 0.30 Now let’s use the distribution to find some probabilities Find the probability that the student got a B in the class P(X=3) = 0.30 = 30% We can read this directly from the table

Find the probability that the student got a C or better. Grade 1 2 3 4 Probability 0.10 0.15 0.30 Find the probability that the student got a C or better. P(x≥ 2) = P(x=2) + P(x=3) + P(x=4) = .30 + .30 + .15 = .75 = 75% To find this probability we find each individual probability and find the sum.

Find the probability that the student got less than a B Grade 1 2 3 4 Probability 0.10 0.15 0.30 Find the probability that the student got less than a B P(x< 3) = P(x=2) + P(x=1) + P(x=0) = .30 + .15 + .10 = .55 = 55% Notice that since we want strictly less than 3, we only find the sum from 2 down.

Inequality Signs Let’s recall what signs to use when we are looking for inequalities: Less than < At Most ≤ Greater than > At least ≥ Remember if the equal sign is included, we include the probability at the endpoint. If a strict inequality, we do not include the probability at the end point.

Finding the Mean and Standard Deviation Consider: As the head of inventory for Knowway computer company, you were thrilled that you had managed to ship 2 computers to your biggest client the day the order arrived. You are horrified, though, to find out that someone restocked refurbished computers in with the new computers in your storeroom. The shipped computers were selected randomly from the 15 computers in stock, but 4 of those were actually refurbished. If your client gets 2 new computers, things are fine. If the client gets a refurbished computer, it will be sent back at your expense--$100—and you can replace it. However, if both computers are refurbished, the client will cancel the order this month and you’ll lose $1000. What’s the expected value and the standard deviation of your loss?

Mean and Standard Deviation The first thing we need to do is find the probability distribution for the situation. Let’s define our random variable as the amount of loss that occurs for the company. The values that X can take are 0 100 1000 (2N) (1N/1R ) (2R)

The first stage has two possible outcomes We will use a tree diagram to represent the stages in the event. In order to keep the “tree” manageable, we will define each stage as simply as we can. i.e.—”success” or “not a success” The second stage is to choose the second computer. Again there are two different possibilities The first stage has two possible outcomes New P(New &New) = = .5238 New = .2095 Refurb P(New & Refurb) = Choose a computer = .2095 P(Refurb & New) = New Refurb Refurb P(Refurb & Refurb) = = .0571

Mean and Standard Deviation Now use these probabilities to create the probability distribution. Amount of Loss 100 1000 Probability .5238 .4190 .0571 *Note: the probability of losing 100 happens on 2 branches of the tree We want to know on average, how much of a loss the company would have if this happened month after month.

Mean and Standard Deviation Now use these probabilities to create the probability distribution. To find the mean (expected value) of this distribution we can use the following: Μ(x) = E(x) = ∑X· P(X) The value of the variable times its probability for each, then find the sum. Amount of Loss 100 1000 Probability .5238 .4190 .0571

Mean and Standard Deviation So for our distribution Μ(x) = E(x) = ∑X· P(X) M(x) = E(x) = 0(.5238) + 100(.4190) + 1000(.0571) = 99.00 So the average loss for Knowway Computers is $99.00 Amount of Loss 100 1000 Probability .5238 .4190 .0571

Mean and Standard Deviation We can find the standard deviation in much the same way we find the standard deviation for a sample First, let’s find the variance σ2= ∑(x-μ)2 ·P(x) (0 – 99)2 (.5238) + (100-99)2(.4190) + (1000-99)2(.0571) = 51488.0199 Dollars2 Amount of Loss 100 1000 Probability .5238 .4190 .0571

Mean and Standard Deviation So, the variance is 51488.0199 dollars2 But we need the standard deviation which will bring our units back to dollars Remember that standard deviation is the square root of the variance so…. σ = √51488.0199 = $266.91

Mean and Standard Deviation We can use our calculators to find both the mean and standard deviation of a probability distribution. Enter the values of the RV in one list Enter the probabilities for each value into a second list Use Stat/Calc/1-var statistic (Xlist, Problist) The mean will be under x-bar The standard deviation will be sigma