Math 461 Fall 2006 Test 2 Solutions



Similar documents
5. Continuous Random Variables

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Practice problems for Homework 11 - Point Estimation

Practice Problems #4

Statistics 100A Homework 4 Solutions

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 2 Solutions

Statistics 100A Homework 7 Solutions

Math 151. Rumbos Spring Solutions to Assignment #22

Notes on Continuous Random Variables

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

16. THE NORMAL APPROXIMATION TO THE BINOMIAL DISTRIBUTION

2WB05 Simulation Lecture 8: Generating random variables

e.g. arrival of a customer to a service station or breakdown of a component in some system.

Math 431 An Introduction to Probability. Final Exam Solutions

WHERE DOES THE 10% CONDITION COME FROM?

Homework 4 - KEY. Jeff Brenion. June 16, Note: Many problems can be solved in more than one way; we present only a single solution here.

Practice Problems for Homework #6. Normal distribution and Central Limit Theorem.

Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS. Part 3: Discrete Uniform Distribution Binomial Distribution

Aggregate Loss Models

The Binomial Probability Distribution

Math 425 (Fall 08) Solutions Midterm 2 November 6, 2008

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 5 Solutions

Feb 28 Homework Solutions Math 151, Winter Chapter 6 Problems (pages )

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

Definition: Suppose that two random variables, either continuous or discrete, X and Y have joint density

Lecture 6: Discrete & Continuous Probability and Random Variables

Normal distribution. ) 2 /2σ. 2π σ

The Exponential Distribution

IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem

ECE302 Spring 2006 HW4 Solutions February 6,

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Statistics 100A Homework 8 Solutions

ISyE 6761 Fall 2012 Homework #2 Solutions

Section 5.1 Continuous Random Variables: Introduction

6.041/6.431 Spring 2008 Quiz 2 Wednesday, April 16, 7:30-9:30 PM. SOLUTIONS

Some special discrete probability distributions

Math 370, Spring 2008 Prof. A.J. Hildebrand. Practice Test 1 Solutions

Lecture 7: Continuous Random Variables

MATH 425, PRACTICE FINAL EXAM SOLUTIONS.

Chapter 4 Lecture Notes

Joint Exam 1/P Sample Exam 1

1.1 Introduction, and Review of Probability Theory Random Variable, Range, Types of Random Variables CDF, PDF, Quantiles...

ECE302 Spring 2006 HW5 Solutions February 21,

Probability density function : An arbitrary continuous random variable X is similarly described by its probability density function f x = f X

2. Discrete random variables

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

6 PROBABILITY GENERATING FUNCTIONS

Lecture 5 : The Poisson Distribution

MATH4427 Notebook 2 Spring MATH4427 Notebook Definitions and Examples Performance Measures for Estimators...

Important Probability Distributions OPRE 6301

An Introduction to Basic Statistics and Probability

Master s Theory Exam Spring 2006

STAT 315: HOW TO CHOOSE A DISTRIBUTION FOR A RANDOM VARIABLE

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 18. A Brief Introduction to Continuous Probability

Chapter 5 Discrete Probability Distribution. Learning objectives

Maximum Likelihood Estimation

Stat 515 Midterm Examination II April 6, 2010 (9:30 a.m. - 10:45 a.m.)

Tenth Problem Assignment

Pr(X = x) = f(x) = λe λx

Chapter 5. Random variables

Math/Stats 342: Solutions to Homework

), 35% use extra unleaded gas ( A

MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables

STAT 830 Convergence in Distribution

2 Binomial, Poisson, Normal Distribution

Exact Confidence Intervals

4. Continuous Random Variables, the Pareto and Normal Distributions

Notes on the Negative Binomial Distribution

Probability Generating Functions

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

Random variables, probability distributions, binomial random variable

Lecture 3: Continuous distributions, expected value & mean, variance, the normal distribution

ST 371 (IV): Discrete Random Variables

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8.

Probability and Statistics Prof. Dr. Somesh Kumar Department of Mathematics Indian Institute of Technology, Kharagpur

Math 120 Final Exam Practice Problems, Form: A

Math 370, Actuarial Problemsolving Spring 2008 A.J. Hildebrand. Practice Test, 1/28/2008 (with solutions)

ECE302 Spring 2006 HW3 Solutions February 2,

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 3 Solutions

Feb 7 Homework Solutions Math 151, Winter Chapter 4 Problems (pages )

Class Meeting # 1: Introduction to PDEs

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

MAS108 Probability I

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

3.4. The Binomial Probability Distribution. Copyright Cengage Learning. All rights reserved.

Final Mathematics 5010, Section 1, Fall 2004 Instructor: D.A. Levin

Chapter 3 RANDOM VARIATE GENERATION

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

Math 370, Spring 2008 Prof. A.J. Hildebrand. Practice Test 2 Solutions

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

STAT x 0 < x < 1

Exploratory Data Analysis

The Binomial Distribution. Summer 2003

MAT 155. Key Concept. September 27, S5.5_3 Poisson Probability Distributions. Chapter 5 Probability Distributions

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Homework # 3 Solutions

Binomial random variables

Sums of Independent Random Variables

Transcription:

Math 461 Fall 2006 Test 2 Solutions Total points: 100. Do all questions. Explain all answers. No notes, books, or electronic devices. 1. [105+5 points] Assume X Exponential(λ). Justify the following two formulas, by directly using the exponential density function. (a) P (0 < X < b) 1 e λb Solution. The exponential density is f(x) λe λx for x 0, and f(x) 0 for x < 0. We integrate the density to evaluate the probability: P (0 < X < b) b 0 b 0 f(x) dx λe λx dx e λx b 0 1 e λb. (b) E[X] 1/λ Solution. E[X] 0 xf(x) dx xλe λx dx 1 ye y dy λ 0 1 (y( e y ) ) 0 λ ( e y ) dy 0 1 ( ) 0 + e y dy λ 1 λ. 0 where y λx and dy λdx, by integration by parts

2. [15 points] An item is manufactured so that its width is normally distributed with mean µ 900 units and standard deviation units. What is the largest allowable value of such that at least 99% of the items will have widths in the range from 895 to 905 units? Solution. Write X Normal(900, 2 ) for the width. We want.99 P (895 < X < 905) ( 895 900 P < X 900 ) 905 900 < ( P 5 < Z < 5 ) where Z is standard normal Φ(5/) Φ( 5/) 2Φ(5/) 1 (why?). Rearranging the inequality, we want.995 Φ(5/), and after consulting our Table of the standard normal distribution, we see the inequality holds provided 2.58 5/, or 5/2.58 1.94. Hence the largest allowable value of is 1.94 units. Remarks. 1. There is no continuity correction needed in this problem, because we are not approximating with a Normal random variable the random variable is already Normal! 2. This was a homework problem.

3. [15 points] Let X Uniform(0, 1). Find the density function of Y e X. Solution. First we determine which values Y can take on: X takes values between 0 and 1, and so Y e X takes values between e 0 1 and e 1 e. For any a and b in that range, 1 < a b < e, we have P (a < Y < b) P (a < e X < b) P (log a < X < log b) log b log a since X is uniform on (0, 1) F (b) F (a) where F (y) log y b a b a F (y) dy 1 y dy by the Fundamental Theorem since F (y) 1/y. Thus the density of Y is g(y) 1/y for 1 < y < e, and g(y) 0 otherwise. Remarks. 1. This problem was recommended as preparation on the Test 2 handout. 2. The general formula for transforming a density from X to Y is g(y) f(x) dx dy. In this problem y e x, and so x log y and dx 1 ; also we know dy y f(x) 1 if 0 < x e y < 1, and so we arrive at the same answer as above. But this general formula can be tricky to apply in practice, especially when more than one x value gives the same y value (e.g. y x 2 ). So it is better to argue directly, like we did in the Solution above.

4. [15 points] Suppose X Geometric(p), and P (X > k) 1/2. Show k log 2/ log(1/(1 p)). Solution. Recall X represents the number of trials for the first success, in an infinite sequence of Bernoulli trials. So X > k means precisely that the first k trials are failures. This occurs with probability (1 p) k, and hence 1 2 Rearranging the inequality gives P (X > k) (1 p) k. ( ) k 1 2. 1 p Taking logarithms gives ( ) 1 k log log 2. 1 p Notice 1/(1 p) is greater than 1, and so its logarithm is positive. Dividing out by that logarithm gives us an inequality on the k-values: k log 2 log(1/(1 p)). Remark. The formula P (X k) (1 p) k 1 was on the discrete densities handout. In this problem we have used it with k replaced by k + 1.

5. [2512+13 points] In a good winter there are 3 storms, on average. In a bad winter there are 6 storms, on average. Winters are good with probability 1/3 and bad with probability 2/3. (a) Find a numerical formula for the probability that a 5-storm winter is bad (and explain what kind of random variables you are using). Solution. P (bad and 5 storm) P (bad 5 storm) P (5 storm) P (5 storm bad)p (bad) P (5 storm bad)p (bad) + P (5 storm good)p (good) 6 65 e (2/3) 5! e 6 6 5 (2/3) + e 5! 3 3 5 (1/3). 5! Here storms occur randomly in time, and so we use Poisson random variables: a Poisson(3) random variable for the number of storms in a good winter, and a Poisson(6) random variable for the number of storms in a bad winter. (b) Write X for the number of storms per winter. Then E[X] 3 (1/3) + 6 (2/3) 5. Show E[X 2 ] 32, and then evaluate Var(X). Solution. E[X 2 ] E[X 2 bad]p (bad) + E[X 2 good]p (good) (6 + 6 2 ) (2/3) + (3 + 3 2 ) (1/3) 32, where we have used that for a Poisson random variable Y Poisson(λ), one has E[Y 2 ] Var(Y ) + (E[Y ]) 2 λ + λ 2. Hence Var(X) E[X 2 ] (E[X]) 2 32 5 2 7.

6. [25 points] An airplane has 85 seats for passengers. The airline has sold 100 tickets, but each passenger has only an 80% chance of showing up for the flight. (We assume passengers travel alone, and are independent of one another.) Find the approximate probability that every passenger who shows up will get a seat on the airplane. Solution. Write X for the number of passengers who show up, so that X Binomial(100,.80) because there are 100 passengers and we regard each one as a Bernoulli trial, with success meaning they show up for the flight. The mean and variance of X are µ np 100(.8) 80, 2 np(1 p) 100(.8)(.2) 16. The Binomial density is difficult to work with (by hand) because the numbers are so large, and so instead we use the Normal approximation (which is valid since n is large and 2 > 10). We want P (X 85) P (X 85.5) ( X µ P ( P Z 5.5 ) 16 P (Z 1.375).915 85.5 µ using the continuity correction ) where Z is standard normal Incidentally, using the original Binomial random variable gives an answer (by computer) of about.920. Remark. The Poisson approximation is not suitable for this problem, because p.8 is large here.

7. [Extra credit, 20 points] An airplane has s seats for passengers. The airline has sold n tickets, but each passenger has only probability p of showing up for the flight. (We assume passengers travel alone, and are independent of one another.) Write r for the price of each ticket, c for the cost (to the airline) of each flight, and d for the cost (to the airline) of each passenger who shows up but cannot get a seat on the airplane. Let X denote the number of passengers who show up (a random variable). Then profit nr c d(x s) + where t + t if t > 0 and t + 0 if t 0. (a) Evaluate the expected profit, using the Normal approximation. Solution. We have X Binomial(n, p) because there are n passengers and we regard each one as a Bernoulli trial, with success meaning they show up for the flight. The mean and variance of X are Therefore by linearity of expectation, µ np, 2 np(1 p). E[profit] nr c de[(x s) + ] [( X µ nr c de s µ ) ] + [( nr c de Z s µ ) ] by the Normal approximation to the Binomial ( nr c d z s µ ) φ(z)dz where φ(z) is the density function for the standard normal random variable. When evaluating the integral, notice we only really need to integrate from z s µ to z. Aside. We should really do a continuity correction in the above calculation. Where should it go? + + (b) Explain in principle how the airline can determine the best number n of seats to sell.

Solution. The airline should try to choose n to maximize the expected profit. They could do this by evaluating the above formula for each n, or else by regarding n as a real variable (rather than an integer variable) and using calculus methods to find the maximum: differentiate the expected profit with respect to n and find the critical points, then check which critical point is the maximum, and then round n to the nearest integer.