Random variables. Discrete random variables. Continuous random variables.

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

M3S1 - Binomial Distribution

5. In fact, any function of a random variable is also a random variable

Chapter 3 Discrete Random Variables and Probability Distributions

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

Central Limit Theorem 11/08/2005

Math 180A. Lecture 5 Wednesday April 7 th. Geometric distribution. The geometric distribution function is

STOR Lecture 7. Random Variables - I

Simple Random Sample

Lecture 9: Plinko Probabilities, Part III Random Variables, Expected Values and Variances

Discrete Random Variables

Homework 9 (for lectures on 4/2)

Business Statistics 41000: Homework # 2

Learning Goals: * Determining the expected value from a probability distribution. * Applying the expected value formula to solve problems.

4.2 Probability Distributions

HHH HHT HTH THH HTT THT TTH TTT

Chapter 6: Random Variables and Probability Distributions

Section 8.4 The Binomial Distribution

Have you ever wondered whether it would be worth it to buy a lottery ticket every week, or pondered on questions such as If I were offered a choice

6.1 Discrete & Continuous Random Variables. Nov 4 6:53 PM. Objectives

that internalizes the constraint by solving to remove the y variable. 1. Using the substitution method, determine the utility function U( x)

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

Statistics 6 th Edition

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

Lecture 4: Return vs Risk: Mean-Variance Analysis

MATH/STAT 3360, Probability FALL 2012 Toby Kenney

Lecture 3: Return vs Risk: Mean-Variance Analysis

Discrete Random Variables

Discrete Random Variables

1 PMF and CDF Random Variable PMF and CDF... 4

MLLunsford 1. Activity: Mathematical Expectation

Cover Page Homework #8

Probability Distributions. Definitions Discrete vs. Continuous Mean and Standard Deviation TI 83/84 Calculator Binomial Distribution

Binomial Random Variables. Binomial Random Variables

Discrete Random Variables

MATH 264 Problem Homework I

ECON 214 Elements of Statistics for Economists 2016/2017

Chapter 3 - Lecture 3 Expected Values of Discrete Random Va

Chapter 7. Random Variables

Discrete probability distributions

STAT Chapter 4/6: Random Variables and Probability Distributions

Mean, Variance, and Expectation. Mean

STT315 Chapter 4 Random Variables & Probability Distributions AM KM

Statistics for Business and Economics: Random Variables (1)

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

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

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

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

STA 220H1F LEC0201. Week 7: More Probability: Discrete Random Variables

(Practice Version) Midterm Exam 1


15.063: Communicating with Data Summer Recitation 3 Probability II

Random Variables Handout. Xavier Vilà

Econ 250 Fall Due at November 16. Assignment 2: Binomial Distribution, Continuous Random Variables and Sampling

Chapter 5. Sampling Distributions

TOPIC: PROBABILITY DISTRIBUTIONS

4 Random Variables and Distributions

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Statistics for Managers Using Microsoft Excel 7 th Edition

Discrete Probability Distributions

MANAGEMENT PRINCIPLES AND STATISTICS (252 BE)

Chapter 4 Discrete Random variables

TRINITY COLLGE DUBLIN

MATH 446/546 Homework 1:

SECTION 4.4: Expected Value

variance risk Alice & Bob are gambling (again). X = Alice s gain per flip: E[X] = Time passes... Alice (yawning) says let s raise the stakes

MATH20180: Foundations of Financial Mathematics

Random Variables and Applications OPRE 6301

Unit 04 Review. Probability Rules

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?

Test 7A AP Statistics Name: Directions: Work on these sheets.

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Probability Distributions

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

(c) The probability that a randomly selected driver having a California drivers license

Probability Distributions for Discrete RV

NMAI059 Probability and Statistics Exercise assignments and supplementary examples October 21, 2017

Chapter 4 Discrete Random variables

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Distribution Distribute in anyway but normal

Central Limit Theorem

Section Distributions of Random Variables

CHAPTER 6 Random Variables

Probability: Week 4. Kwonsang Lee. University of Pennsylvania February 13, 2015

Section 8.4 The Binomial Distribution. (a) Rolling a fair die 20 times and observing how many heads appear. s

SOCIETY OF ACTUARIES EXAM STAM SHORT-TERM ACTUARIAL MATHEMATICS EXAM STAM SAMPLE QUESTIONS

Chapter 3: Probability Distributions and Statistics

STA 103: Final Exam. Print clearly on this exam. Only correct solutions that can be read will be given credit.

Probability. An intro for calculus students P= Figure 1: A normal integral

Statistical Methods in Practice STAT/MATH 3379

4.1 Probability Distributions

Central Limit Theorem (cont d) 7/28/2006

Section 8.4 The Binomial Distribution

Chapter 5 Discrete Probability Distributions. Random Variables Discrete Probability Distributions Expected Value and Variance

Binomial Random Variables

ECO220Y Introduction to Probability Readings: Chapter 6 (skip section 6.9) and Chapter 9 (section )

MATH/STAT 3360, Probability FALL 2013 Toby Kenney

Continuous random variables

Binomal and Geometric Distributions

Transcription:

Random variables Discrete random variables. Continuous random variables. Discrete random variables. Denote a discrete random variable with X: It is a variable that takes values with some probability. Examples: a. Roll a die. Let X be the number observed. b. Draw cards with replacement. Let X be the number of aces among the cards. c. Roll dice. Let X be the sum of the numbers observed. d. Toss a coin times. Let X be the number of tails among the tosses. e. Randomly select a US household. Let X be the number of people live in this household. Probability distribution of a discrete random variable X It is the list of all possible values of X with the corresponding probabilities. It can be represented by a table, a graph, or a function. Examples: a. Roll a die. Let X be the number observed. The probability distribution of X is: X P (X = x) P(X=x) 0.00 0.0 0.0 0. X

b. Roll two dice. Let X be the sum of the two numbers observed. The probability distribution of X is: X P (X = x) 7 8 9 0 P(X=x) 0.00 0.0 0.0 0. 7 8 9 0 X We can also represent this distribution with a function: P (X = x) = x 7, for x =,,,. This is called probability mass function and returns the probability for each possible value of the random variable X. Expected value (or mean) of a discrete random variable It is denoted with E(X) or µ and it is computed as follows: Definition: µ = E(X) = x xp (X = x) It is a weighted average. The weights are the probabilities.

Example: Roll a die. Let X be the number observed. Find the expected value of X. The E(X) must be somewhere between, : E(X) = + + + + + =.. What does this number mean? Example: Casino roulette. Below you see the standard Nevada roulette table: A player will bet $ on four joining numbers. This bet pays 8 :. Let X be the player s payoff. Find the player s expected payoff.

Expected value of a sum of random variables Let X and Y be random varables. The expected value of the sum of these random variables is: E(X + Y ) = E(X) + E(Y ) Example: Roll dice. Let X be the number observed on the first die and Y be the number observed on the second die. Let W be the sum of the dice. Find the expected value of W. There are ways to solve this problem: a. E(W ) = E(X + Y ) = E(X) + E(Y ) =. +. = 7 b. Or using the distribution of the sum of the two dice (see page ): E(W ) = w wp (W = w) = + + + = 7. The expected value of the sum can be extended to more than two random variables: E(X + Y + Z + ) = E(X) + E(Y ) + E(Z) + Expected value of a function of a random variable Let g(x) a function of a discrete random variable X. Then its expected value is computed as follows: E[g(X)] = x g(x)p (X = x)

Variance and standard deviation of a discrete random variable Consider the following probability distributions: X P (X) Y P (Y ) 0 - What do you observe? Definition: V ar(x) = σ = E(X µ) = x (x µ) )P (X = x) = x x P (X = x) µ The standard deviation of a discrete random variable is the square root of the variance: SD(X) = σ = (x µ) )P (X = x) = x x x P (X = x) µ It follows that: σ = EX µ or EX = σ + µ Example: Roll a die. Let X be the number observed. Find the variance of X. V ar(x) = + + + + +. =.97. The standard deviation is: SD(X) =.97 =.708. Some properties expectation and variance Let X, Y random variables and a, b constants. a. E(aX) = ae(x) b. E(aX + b) = ae(x) + b c. V ar(x + a) = V ar(x) d. V ar(ax) = a V ar(x) e. V ar(ax + b) = a V ar(x). f. If X, Y are independent then V ar(x + Y ) = V ar(x) + V ar(y )

Example: An insurance policy costs $00, and will pay policyholders $0000 if they suffer a major injury (resulting in hospitalization) or $000 if they suffer a minor injury (resulting in lost time from work). The company estimates that each year in every 000 policyholders may have a major injury, and in 00 a minor injury. a. Construct the probability distribution for the profit on a policy. b. What is the company s expected profit on this policy? c. Do you think the standard deviation is large or small. Why? d. Compute the standard deviation. e. Suppose that the company writes (a), (b) 0000 of these policies per year. What are the mean and standard deviation of the annual profit for these cases? f. Comment!

Some examples Example The number N of residential homes that a fire company can serve depends on the distance r (in city blocks) that a fire engine can cover in a specified (fixed) period of time. If we assume that N is proportional to the area of a circle r blocks from the firehouse, then N = Cπr, where C is a constant, π =..., and r, a random variable, is the number of blocks that a fire engine can move in the specified time interval. For a particular fire company, C = 8, the probability distribution for r is as shown in the accompanying table, and p(r) = 0 for r 0 and r 7. r p(r).0.0.0...0 Find the expected value of N, the number of homes that the fire department can serve. Example Suppose that X takes on one of the values 0,,. If for some constant c, P (X = i) = cp (X = i ), i =, find E(X) in terms of c. Example Two balls are chosen randomly without replacement from and urn containing 8 white, black, and orange balls. Suppose that we win $ for each black ball selected and we lose $ for each white ball selected. We neither win nor we lose any money for selecting an orange ball. Let X denote our winnings. a. What is the expected value of X? b. What is the variance of X? c. Given that our winnings are negative, what is the probability that we lost exactly $? Example To determine whether or not they have a certain disease, 00 people are to have their blood tested. However, rather than testing each individual separately, it has been decided first to group the people in groups of 0. The blood samples of the 0 people in each group will be pooled and analyzed together. If the test is negative, one test will suffice for the 0 people. If the test is positive each of the 0 people will also be individually tested. Suppose the probability that a person has the disease is 0.0 for all people independently from each other. Compute the expected number of tests necessary for each group. Example In exercise, the 00 people were placed in groups of 0. Try different group sizes in order to minimize the expected number of tests? For example, you can try,,, 0 etc? What group size gives the least expected number of tests? 7

Example A man buys a racehorse for $0000, and enters it in two races. He plans to sell the horse afterward, hoping to make a profit. If the horse wins both races, its value will jump to $00000. If it wins one of the races, it will worth $0000. If it loses both races, it will worth only $0000. The man believes there is a 0% chance that the horse will win the first race and a 0% chance it will win the second one. a. Assuming that the two races are independent events, find the man s expected profit. b. Find the standard deviation of the man s profit. 8