STAT 516 Midterm Exam 2 Friday, March 7, 2008

Similar documents
STAT 516 Midterm Exam 3 Friday, April 18, 2008

STAT/MA 416 Midterm Exam 2 Thursday, October 18, Circle the section you are enrolled in:

STAT/MA 416 Midterm Exam 3 Monday, November 19, Circle the section you are enrolled in:

Chapter 6 Continuous Probability Distributions

Exercises in Probability Theory Paul Jung MA 485/585-1C Fall 2015 based on material of Nikolai Chernov

Notes on Continuous Random Variables

Math 218 Supplemental Instruction Spring 2008 Final Review Part A

Polytechnic Institute of NYU MA 2212 MIDTERM Feb 12, 2009

MATH 3510: PROBABILITY AND STATS July 1, 2011 FINAL EXAM

Chapter 2: Discrete Distributions. 2.1 Random Variables of the Discrete Type

Exam 3, Math Fall 2016 October 19, 2016

STAT 430/510 Probability Lecture 12: Central Limit Theorem and Exponential Distribution

S n = x + X 1 + X X n.

Guidelines for Solving Probability Problems

December 2010 Mathematics 302 Name Page 2 of 11 pages

Page Max. Possible Points Total 100

Discrete Random Variable Practice

STAT 414: Introduction to Probability Theory

ECE 302, Final 3:20-5:20pm Mon. May 1, WTHR 160 or WTHR 172.

Introduction to Statistical Data Analysis Lecture 3: Probability Distributions

Probability Midterm Exam 2:15-3:30 pm Thursday, 21 October 1999

STAT/MA 416 Answers Homework 6 November 15, 2007 Solutions by Mark Daniel Ward PROBLEMS

Test 2 VERSION A STAT 3090 Fall 2017

Math st Homework. First part of Chapter 2. Due Friday, September 17, 1999.

Discrete and continuous

ECE 302 Division 2 Exam 2 Solutions, 11/4/2009.

Let X be a continuous random variable, < X < f(x) is the so called probability density function (pdf) if

Math 493 Final Exam December 01

Suppose that you have three coins. Coin A is fair, coin B shows heads with probability 0.6 and coin C shows heads with probability 0.8.

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2015 Abhay Parekh February 17, 2015.

CIVL Continuous Distributions

STAT 418: Probability and Stochastic Processes

EXAM. Exam #1. Math 3342 Summer II, July 21, 2000 ANSWERS

This exam contains 13 pages (including this cover page) and 10 questions. A Formulae sheet is provided with the exam.

1. If X has density. cx 3 e x ), 0 x < 0, otherwise. Find the value of c that makes f a probability density. f(x) =

SDS 321: Introduction to Probability and Statistics

Probability and Statistics Concepts

n(1 p i ) n 1 p i = 1 3 i=1 E(X i p = p i )P(p = p i ) = 1 3 p i = n 3 (p 1 + p 2 + p 3 ). p i i=1 P(X i = 1 p = p i )P(p = p i ) = p1+p2+p3

Chapter (4) Discrete Probability Distributions Examples

Chapter 1: Revie of Calculus and Probability

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text.

Math 407: Probability Theory 5/10/ Final exam (11am - 1pm)

Introduction to Probability, Fall 2009

S2 QUESTIONS TAKEN FROM JANUARY 2006, JANUARY 2007, JANUARY 2008, JANUARY 2009

IB Mathematics HL Year 2 Unit 7 (Core Topic 6: Probability and Statistics) Valuable Practice

Paper Reference. Paper Reference(s) 6684/01 Edexcel GCE Statistics S2 Advanced/Advanced Subsidiary. Friday 23 May 2008 Morning Time: 1 hour 30 minutes

1 Basic continuous random variable problems

M378K In-Class Assignment #1

1. Let X be a random variable with probability density function. 1 x < f(x) = 0 otherwise

December 2010 Mathematics 302 Name Page 2 of 11 pages

Test 2 VERSION B STAT 3090 Spring 2017

18440: Probability and Random variables Quiz 1 Friday, October 17th, 2014

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran November 13, 2014.

DISCRETE VARIABLE PROBLEMS ONLY

STAT509: Continuous Random Variable

Discrete Distributions

Notes for Math 324, Part 17

Discrete Event Systems Exam

STAT 224 Exam 1, Version 1 Discussion (check one): Show your work for partial credit.

Tutorial 3 - Discrete Probability Distributions

Statistics 100A Homework 5 Solutions

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran September 23, 2014.

Midterm Exam 1 Solution

Discrete Random Variable

Math Fall 2010 Some Old Math 302 Exams There is always a danger when distributing old exams for a class that students will rely on them

PROBABILITY.

Q1 Own your learning with flash cards.

Chapter 4: Continuous Random Variables and Probability Distributions

Statistics 2. Revision Notes

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Friday, Feb 8, 2013

1 Basic continuous random variable problems

2014 SM4 Revision Questions Distributions

Exponential Distribution and Poisson Process

A random variable is said to have a beta distribution with parameters (a, b) ifits probability density function is equal to

Part 3: Parametric Models

STA 584 Supplementary Examples (not to be graded) Fall, 2003

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

2. Suppose (X, Y ) is a pair of random variables uniformly distributed over the triangle with vertices (0, 0), (2, 0), (2, 1).

CSE 312 Foundations, II Final Exam

EDEXCEL S2 PAPERS MARK SCHEMES AVAILABLE AT:

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY (formerly the Examinations of the Institute of Statisticians) HIGHER CERTIFICATE IN STATISTICS, 1996

Write your Registration Number, Test Centre, Test Code and the Number of this booklet in the appropriate places on the answersheet.

(Practice Version) Midterm Exam 2

Special Mathematics Discrete random variables

Chapter 4: Continuous Probability Distributions

ST 371 (IX): Theories of Sampling Distributions

IE 4521 Midterm #1. Prof. John Gunnar Carlsson. March 2, 2010

BINOMIAL DISTRIBUTION

Some Continuous Probability Distributions: Part I. Continuous Uniform distribution Normal Distribution. Exponential Distribution

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 1

MATH 250 / SPRING 2011 SAMPLE QUESTIONS / SET 3

CS 1538: Introduction to Simulation Homework 1

STAT Chapter 5 Continuous Distributions

Mathematics AS/P2/D17 AS PAPER 2

57:022 Principles of Design II Final Exam Solutions - Spring 1997

MATH 407 FINAL EXAM May 6, 2011 Prof. Alexander

Math Key Homework 3 (Chapter 4)

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. SOLUTIONS

Midterm Exam Business Statistics Fall 2001 Russell

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Transcription:

STAT 516 Midterm Exam 2 Friday, March 7, 2008 Name Purdue student ID (10 digits) 1. The testing booklet contains 8 questions. 2. Permitted Texas Instruments calculators: BA-35 BA II Plus BA II Plus Professional TI-30Xa TI-30X IIS (solar) TI-30X IIB (battery) The memory of the calculator should be cleared at the start of the exam, if possible. No other calculators are permitted. 3. Simplify the answers and write them in the boxes provided. 4. Some partial credit may be awarded at the discretion of the professor. 5. Show all of your work in the exam booklet. Answers without justification may be viewed as exhibiting academic dishonesty. 6. Extra sheets of paper are available from the professor.

1. Let c be a fixed constant with 0 < c < 1. (We are not solving for c; here, c is just fixed.) Let X have cumulative distribution function 0 if x < 1, 1 c if 1 x < 0, F(x) = 1 c + 1 cx if 0 x 2, 2 1 if x > 2 Find P(X 1). Also find the values P(X = 1) and P(X = 0). Answer. Method 1. We have P(X 1) = F(1) = 1 c + 1 (c)(1) = 1 1 c, so P(X > 1) = 2 2 1 (1 1c) = 1c. Since F(x) is continuous at x = 1, it follows that P(X 1) = 1c too. 2 2 2 We see that P(X 1) = F( 1) = 1 c. On the other hand, P(X x) = F(x) = 0 for x < 1, so X is never smaller than 1. Thus, the mass 1 c must all be located at the point x = 1, so P(X = 1) = 1 c. [Method 2: P(X = 1) P(X 1) P(X 1.000001) = (1 c) 0 = 1 c. The approximation still holds if we replace 1.000001 by a value even closer to 1.] We see that P(X 0) = F(0) = 1 c + 1 (c)(0) = 1 c. On the other hand, also 2 P(X x) = F(x) = 1 c for 1 x < 0, so F(x) is continuous at the point x = 0 and therefore has no mass at this point. So P(X = 0) = 0. [Method 2: P(X = 0) P(X 0) P(X 0.000001) = (1 c) (1 c) = 0. The approximatation still holds if we replace 0.000001 by a value even closer to 0.] 1

2. Let X have cumulative distribution function 0 if x < 0, 1 F(x) = x if 0 x 5, 5 1 if x > 5 and let Y = X 2. Find P(Y + 2 3X). Answer. Method 1. We have P(Y +2 3X) = P(X 2 +2 3X) = P(X 2 3X +2 0) = P((X 2)(X 1) 0). Notice that (X 2)(X 1) 0 when X 2 or X 1. These are disjoint possibilities, so we obtain P(Y + 2 3X) = P(X 2) + P(X 1). We note that X is uniform on the interval [0, 5] (if this was not clear from looking at F(x) directly, then just note that the density of X is f(x) = 1 for 0 x 5 and f(x) = 0 5 otherwise). So P(X 2) = 3/5 and P(X 1) = 1/5, and we conclude that P(Y + 2 3X) = 4/5. [Method 2: If we did not notice that X was uniform, we could still easily solve the problem: First notice that P(Y + 2 3X) = P(X 2) + P(X 1), as above. Also notice f(x) = 1 for 0 x 5 and f(x) = 0. Then integrate, to get P(X 2) = 5 1 dx = 3/5 5 2 5 and P(X 1) = 1 1 dx = 1/5, so we conclude P(Y + 2 3X) = 4/5.] 0 5 2

3. Southwest Airlines, having observed that 5% of the people making reservations on a flight do not show up for the flight, sells 100 tickets for a plane flight that has 95 seats. What is the approximate probability that there will be enough seats available all the people who show up for the flight? [Assume that the people act independently, i.e., assume that each person shows up or does not show up independently of the behavior of the other people.] Answer. First of all, the exact answer is 95 ) j=0 j (.95) j (.05) 100 j.5640. This can also be derived by writing 1 100 ) j=96 (.95) j (.05) 100 j.5640. These numbers are probably ( 100 j difficult and/or time consuming to get on your calculator. It is easier to do one of the following methods: Method 1. (Poisson approximation.) Let X denote the number of people who do not show up for the flight. Then X is Binomial with p =.05 and n = 100, and the desired probability is P(X 5). Since n is large and p is small, and np = (100)(.05) = 5 is reasonably sized, we can use a Poisson approximation, i.e., let Y be Poisson with parameter λ = np = 5, so the desired probability is approximately ( 100 P(Y 5) = 1 P(Y = 0) P(Y = 1) P(Y = 2) P(Y = 3) P(Y = 4) ( ) 5 = 1 e 5 0 0! + 51 1! + 52 2! + 53 3! + 54 = 1 e 5523.5595 (1) 4! 8 Method 2. (Normal approximation.) Let X denote the number of people who do not show up for the flight. Then X is Binomial with p =.05 and n = 100, and the desired probability is P(X 5). Since n is large, we can use a Normal approximation, i.e., let Y be normal with mean np = 5 and variance np(1 p) = 4.75, so the desired probability is approximately ( Y 5 P(X 5) = P(X 4.5) P(Y 4.5) = P 4.5 5 ) ( = P Z 4.5 5 ) 4.75 4.75 4.75 So we get P(X 5) P(Z.23) = P(Z.23) = Φ(.23) =.5910 Method 3. (Normal approximation.) Let X denote the number of people who show up for the flight. Then X is Binomial with p =.95 and n = 100, and the desired probability is P(X 5). Since n is large, we can use a Normal approximation, i.e., let Y be normal with mean np = 95 and variance np(1 p) = 4.75, so the desired probability is approximately P(X 95) = P(X 95.5) P(Y 95.5) = P ( Y 95 4.75 95.5 95 4.75 ) = P ( ) 95.5 95 Z 4.75 So we get P(X 95) P(Z.23) = Φ(.23) =.5910 3

4. A machine produces bolts. The length of each bolt, in centimeters, is a normal random variable with mean 5 and standard deviation 0.2. [The lengths of the bolts are independent from each other.] A bolt is called defective if its length falls outside the interval (4.8, 5.2). What is the probability that, in a randomly selected box of 10 bolts, at most one bolt is defective? (I.e., What is the probability that zero or one bolts are defective?) Answer. Let p denote the probability that a randomly-selected bolt is not defective. Let X denote the length of the bolt, so p = P(4.8 X 5.2) = P ( ) 4.8 5 X 5 5.2 5.2.2.2 = P( 1 Z 1), where Z is standard normal. So p = P(Z 1) P(Z 1) = Φ(1) P(Z 1) = Φ(1) (1 P(Z 1)) = 2Φ(1) 1.6826. Then let Y be a Binomial random variable with p =.6826 and n = 10. So Y is the number of bolts that are not defective. So the desired probability is ( ) ( ) 10 10 P(Y 9) = p 9 (1 p) 1 + p 10 (1 p) 0.1241 9 10 4

5. Let X be exponentially distributed with parameter λ, i.e., with mean 1/λ. For a fixed value of t with t < λ, find E[e tx ]. Answer. We compute E[e tx ] = e tx f(x)dx = 0 e tx λe λx dx = 0 λe (t λ)x dx = λ e(t λ)x t λ x=0 = λ λ t 5

6. On your way to work you have to drive through a traffic intersection, where you may be stopped at a traffic light. The light turns green every five minutes, at the times 7:00 AM, 7:05 AM, 7:10 AM, etc., etc., 7:55 AM, and 8:00 AM. (The light remains green for two minutes; afterwards, it becomes red.) The light turns red every five minutes, at the times 7:02 AM, 7:07 AM, 7:12 AM, etc., etc., 7:52 AM, 7:57 AM. (The light remains red for three minutes; afterwards, it becomes green.) You arrive at the intersection at a time that is uniformly distributed over the interval from 7:00 AM to 8:00 AM. If the light is green when you arrive, you do not wait. If the light is red when you arrive, you must wait for it to turn green! Find the expected time that you spend waiting at the light. Answer. Method 1. If we arrive between 7:00 and 7:05, then our arrival time X (after 7:00, measured in minutes) is uniform on the interval [0, 5], our expected waiting time is E[X] = 2 0 (0)1 dx + 5 (5 5 2 x)1 dx = 1 (5 x)2 5 = 9/10 = 0.9 minutes. Similarly, by 5 10 x=2 a similar computation, if we arrive between 7:05 and 7:10, our expected waiting time is 0.9 minutes. If we arrive between 7:10 and 7:15, our expected waiting time is 0.9 minutes. Etc., etc. So no matter when we arrive, we expect to wait 0.9 minutes. Method 2. We see that 2/5 of the time, we have no wait at all. The other 3/5 of the time, we have a uniform wait between 0 and 3 minutes, so we expect to wait 1.5 minutes in such a case. So our expected waiting time is (2/5)(0) + (3/5)(1.5) = 0.9 minutes. Method 3. A direct integration is (of course) possible but a little repetitive. We let X denote the waiting time, in minutes, after 7:00. Then X is uniform on the interval [0, 60], so the expected waiting time is 2 0 (0) 1 5 60 dx+ (5 x) 1 60 dx+ 2 7 5 (0) 1 60 dx+ 10 7 (10 x) 1 60 dx+ 12 10 (0) 1 15 60 dx+ (15 x) 1 60 dx+ The integrals from 0 to 2, and from 5 to 7, and from 10 to 12, etc., are all 0. The other integrals are each equal to 3/40, and there are 12 such integrals, so the expected value is (12)(3/40) = 9/10. 12 6

7. One thousand cars are each tested for their overall reliability. Independent of the other cars, each car passes the reliability test with probability 0.95. Use a normal approximation to compute the probability that at most 960 cars are considered reliable (i.e., 960 or less are considered reliable). Hint: Be sure to use continuity correction in your solution. Answer. Let X denote the number of cars that are reliable. So X is Binomial with n = 1000 and p = 0.95. So X is approximately normal with mean np = 950 and variance np(1 p) = 47.5 6.89, so the desired probability is P(X 960) = P(X 960.5) = P ( ) X 950 960.5 950 P 47.5 47.5 ( ) 960.5 950 Z 47.5 So we get P(X 960) P(Z 1.52) = Φ(1.52) =.9357 By the way, the exact probability is 960 ( ) 1000 P(X 960) = (.95) j (.05) 1000 j.9402 j j=0 7

8. Consider N players, A 1, A 2,..., A N arranged in a circle, with Player A 1 starting the game, and play continuing around the circle. On a player s turn, she throws a biased coin with probability p of showing heads (probability 1 p of showing tails). The game continues around the circle until a head appears. The player who throws the first head is the winner: Player A 1 begins the game, performing the first toss. Player A 2 is next, performing the second toss. Player A 3 is next, performing the third toss. Etc., etc.... Player A N is next, performing the Nth toss. Player A 1 is next, performing the (N + 1)st toss. Player A 2 is next, performing the (N + 2)nd toss. Etc., etc.... Play continues until the first head appears; the player who throws the first head is the winner. For a fixed value of k with 1 k N, find the probability that Player A k is the winner. Answer. In order for A k to be the winner, the first k 1 players must each have tails. Afterwards, there must be jn consecutive rounds of tails, for some j 0 (i.e., each person must get tails exactly j times in a row). Finally, after that, player A k must get heads. So the probability that A k wins is (1 p) k 1 (1 p) jn p = p(1 p) k 1 ((1 p) N ) j = j=0 j=0 p(1 p)k 1 1 (1 p) N 8