ISyE 3044 Fall 2015 Test #1 Solutions

Similar documents
ISyE 6644 Fall 2015 Test #1 Solutions (revised 10/5/16)

ISyE 6644 Fall 2016 Test #1 Solutions

ISyE 3044 Fall 2017 Test #1a Solutions

ISyE 2030 Practice Test 1

ISyE 6644 Fall 2014 Test 3 Solutions

ISyE 6644 Fall 2014 Test #2 Solutions (revised 11/7/16)

Hand Simulations. Christos Alexopoulos and Dave Goldsman 9/2/14. Georgia Institute of Technology, Atlanta, GA, USA 1 / 26

ISyE 6739 Test 1 Solutions Summer 2015

HW7 Solutions. f(x) = 0 otherwise. 0 otherwise. The density function looks like this: = 20 if x [10, 90) if x [90, 100]

3. Poisson Processes (12/09/12, see Adult and Baby Ross)

Lecture 11: Probability, Order Statistics and Sampling

2. Conditional Expectation (9/15/12; cf. Ross)

Midterm Exam 2 (Solutions)

Math 151. Rumbos Fall Solutions to Review Problems for Exam 2. Pr(X = 1) = ) = Pr(X = 2) = Pr(X = 3) = p X. (k) =

The exponential distribution and the Poisson process

1 Basic continuous random variable problems

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

Guidelines for Solving Probability Problems

Tutorial 1 : Probabilities

Moments. Raw moment: February 25, 2014 Normalized / Standardized moment:

PRACTICE PROBLEMS FOR EXAM 2

Chapter 4. Continuous Random Variables

1. Consider a random independent sample of size 712 from a distribution with the following pdf. c 1+x. f(x) =

3 Continuous Random Variables

REVIEW OF MAIN CONCEPTS AND FORMULAS A B = Ā B. Pr(A B C) = Pr(A) Pr(A B C) =Pr(A) Pr(B A) Pr(C A B)

Stat 150 Practice Final Spring 2015

Midterm Exam 1 Solution

IEOR 4703: Homework 2 Solutions

Midterm Exam 1 (Solutions)

Topic 4: Continuous random variables

Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators.

1 Review of Probability

Math 151. Rumbos Fall Solutions to Review Problems for Final Exam

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017.

Final Solutions Fri, June 8

Continuous Distributions

Continuous Distributions

Chapter 4 Continuous Random Variables and Probability Distributions

Basic concepts of probability theory

Joint Probability Distributions and Random Samples (Devore Chapter Five)

STAT515, Review Worksheet for Midterm 2 Spring 2019

Chapter 1: Revie of Calculus and Probability

Topic 4: Continuous random variables

Continuous random variables

MATH 180A - INTRODUCTION TO PROBABILITY PRACTICE MIDTERM #2 FALL 2018

MATH Solutions to Probability Exercises

SDS 321: Introduction to Probability and Statistics

Notes on Continuous Random Variables

Basic concepts of probability theory

Disjointness and Additivity

Random Variables and Their Distributions

1 Some basic renewal theory: The Renewal Reward Theorem

ECE Homework Set 2

Midterm 2 Review. CS70 Summer Lecture 6D. David Dinh 28 July UC Berkeley

Qualifying Exam CS 661: System Simulation Summer 2013 Prof. Marvin K. Nakayama

1 Basic continuous random variable problems

Expected Values, Exponential and Gamma Distributions

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

Probability. Lecture Notes. Adolfo J. Rumbos

Chapter 4: CONTINUOUS RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS

Math 151. Rumbos Spring Solutions to Review Problems for Exam 1

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

Basic concepts of probability theory

3. Distributions. Dave Goldsman 6/10/14. Georgia Institute of Technology, Atlanta, GA, USA. Goldsman 6/10/14 1 / 74

(Practice Version) Midterm Exam 2

Final Exam # 3. Sta 230: Probability. December 16, 2012

Stat 5101 Notes: Algorithms

STAT Chapter 5 Continuous Distributions

Chapter 5 continued. Chapter 5 sections

Part I: Discrete Math.

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) =

Continuous Random Variables

Probability and Distributions

Conditioning a random variable on an event

ISyE 2030 Practice Test 2

Conditional densities, mass functions, and expectations

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

EE126: Probability and Random Processes

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 60 minutes.

ECEn 370 Introduction to Probability

PROBABILITY DISTRIBUTIONS

ISyE 6739 Test 1 Solutions Summer 2017

Bandits, Experts, and Games

Northwestern University Department of Electrical Engineering and Computer Science

MAS223 Statistical Inference and Modelling Exercises

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

Queueing Theory and Simulation. Introduction

3.6 Conditional Distributions

Three hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER.

MATH 56A: STOCHASTIC PROCESSES CHAPTER 6

Math 365 Final Exam Review Sheet. The final exam is Wednesday March 18 from 10am - 12 noon in MNB 110.

MITOCW MITRES6_012S18_L23-05_300k

CDA6530: Performance Models of Computers and Networks. Chapter 2: Review of Practical Random

Twelfth Problem Assignment

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

Math 151. Rumbos Fall Solutions to Review Problems for Final Exam

Math 151. Rumbos Spring Solutions to Review Problems for Exam 3

Precept 4: Hypothesis Testing

Lecture 2: Review of Probability

Probability and random variables

Transcription:

1 NAME ISyE 3044 Fall 2015 Test #1 Solutions You have 85 minutes. You get one cheat sheet. Put your succinct answers below. All questions are 3 points, unless indicated. You get 1 point for writing your name correctly. 1. Suppose I toss two dice and I tell you that the sum is at least 10. What s the probability that the sum is exactly 10? Let A be the event that the sum is exactly 10, and B be the event that the sum is at least 10. Then Pr(A B) = Pr(A B) Pr(B) = 3 Pr(10) Pr(10, 11, 12) = 3 36 + 2 + 1 36 36 36 = 0.5. 2. YES or NO? Again suppose I toss two dice. Are the events sum is less than 3 and sum is greater than 7 independent? No. In fact, they re highly dependent, since information about one event gives us info about the other. 3. Suppose X has p.d.f. f(x) = 3x 2, 0 < x < 1. Find Pr(X < 0.5). Note that the c.d.f. is F (x) = x 0 f(t) dt = x 3, 0 < x < 1. Thus, Pr(X < 0.5) = 1/8. 4. Again suppose X has p.d.f. f(x) = 3x 2, 0 < x < 1. Find E[3X 2]. E[X] = 1 xf(x) dx = 3/4. Thus, E[3X 2] = 3E[X] 2 = 1/4. 0

2 5. Yet again suppose X has p.d.f. f(x) = 3x 2, 0 < x < 1. Write the LOTUS expression for (but do not evaluate) E[ln(1 + X)]. E[ln(1 + X)] = R ln(1 + x)f(x) dx = 3 1 0 ln(1 + x)x2 dx. 6. Still yet again suppose X has p.d.f. f(x) = 3x 2, 0 < x < 1. Find the p.d.f. of Y = ln(1 + X). Denote the c.d.f. of Y by G(y). Then G(y) = Pr(Y y) = Pr(ln(1+X) y) = Pr(X e y 1) = F (e y 1) = (e y 1) 3, where the c.d.f. F (x) was given in Question 3. Then the p.d.f. of Y is g(y) = d dy G(y) = 3ey (e y 1) 2, 0 < y < ln(2), where the limits are determined after plugging 0 < x < 1 into y = ln(1 + x). 7. Yet still yet again suppose X has p.d.f. f(x) = 3x 2, 0 < x < 1. Find the p.d.f. of X 3. (Maybe easier than you think.) Note that, from Question 3, the c.d.f. of X is F (x) = x 3. Thus, by the Inverse Transform Theorem, we have that X 3 Unif(0, 1). So the p.d.f. of Z = X 3 is h(z) = 1, 0 < z < 1. 8. If X 1 and X 2 are i.i.d. Unif(0,2), what s the distribution of X 1 + X 2? X 1 + X 2 2[Unif(0,1) + Unif(0,1)] 2Tria(0, 1, 2) Tria(0, 2, 4). 9. I m at DragonCon, but I ve lost my 20-sided die! Show me how to generate a realization of such a toss using only one Unif(0,1) random number. 20U.

3 10. Joey s Lightbulb Company sells bulbs that have Exp(2/year) lifetimes. Suppose one of his lightbulbs has already lasted a year. What s the probability that it ll survive another year? Let X denote the lifetime of a bulb. By the memoryless property, Pr(X > 2 X > 1) = Pr(X > 1) = e λx = e 2(1) = 0.1353. 11. How would Joey generate one of his exponential lifetimes in Arena? Be precise! EXPO(0.5). 12. In Arena, LN(x) denotes ln(x) and UNIF(a, b) generates a Unif(a, b) r.v. Using these facts, give Joey a second way to generate his exponential lifetimes in Arena. -0.5 * LN(UNIF(0,1)). (Other solutions possible.) 13. Suppose we replace Joey s lightbulbs each time they fail. What is the probability that we ll have exactly 3 lightbulbs fail by the end of Year 1? Let Y denote the number of bulbs that fail in one year. Then Y Pois(2), so that Pr(Y = 3) = e 2 2 3 /3! = 0.1804. 14. Tommy s Lightbulb Company sells bulbs that have Exp(1/year) lifetimes. Now I have a choice I can buy one of Tommy s bulbs or two of Joey s. Which selection will have the higher probability of yielding a total lifetime of at least a year? One of Tommy s or two of Joey s? Let T Exp(λ = 1) denote the life of Tommy s one bulb, and let J Erlang k=2 (λ = 2) denote the total life of Joey s two bulbs. Then Pr(T > 1) = e λx = e 1 = 0.3678, while Pr(J > 1) = k 1 i=0 e λx (λx) i i! [ 2 = e 2 0 ] 0! + 21 1! = 0.4060.

4 So Joey wins! Go Joey! 15. I ve just bought 100 lightbulbs from Tommy. What s the (approximate) probability that the average bulb will last over a year? Let T denote the average lifetime of the n = 100 bulbs. By the Central Limit Theorem, ) ( ) T Nor (µ, σ2 1 Nor n λ, 1 Nor(1, 0.01), nλ 2 where µ = 1/λ and σ 2 = 1/λ 2 are the mean and variance of the exponential bulbs, and λ = 1. In any case, by symmetry of the normal distribution, Pr(T > 1) 0.5.. 16. If X Nor(0, 1), what is Pr(X 1)? By tables, this is Φ(1) = 0.8413. 17. If Φ(x) is the Nor(0,1) c.d.f. and X Nor(0, 1), what is Pr(Φ(X) 1)? By Inverse Transform, Φ(X) Unif(0, 1). So Pr(Φ(X) 1) = 1. 18. Suppose U 1 and U 2 are i.i.d. Unif(0,1). What s the distribution of 3ln[U 1 (1 U 2 )]? 3ln[U 1 (1 U 2 )] = 3ln(U 1 ) 3ln(1 U 2 ) Exp(1/3)+Exp(1/3) Erlang 2 (1/3). 19. If X and Y are i.i.d. Exp(1), find Pr(min(X, Y ) < 1).

5 Pr(min(X, Y ) z) = 1 Pr(min(X, Y ) > z) = 1 Pr(X > z and Y > z) = 1 [Pr(X > z)] 2 (since X and Y are i.i.d.) = 1 [e λz ] 2 (since X is Exp(λ)) = 1 e 2λz. Thus, Pr(min(X, Y ) < 1) = 1 e 2 = 0.8647. This answer actually makes a lot of sense, since it is well known that if X and Y are i.i.d. Exp(1), then min(x, Y ) Exp(2). 20. TRUE or FALSE? Cov(X, Y ) = 0 implies X and Y are independent. False. 21. TRUE or FALSE? Covariance is always between 1 and 1. False. (The correlation is always between 1 and 1, but not necessarily the covariance.) 22. Let X be the number of tickets that a fan will buy to attend a Panic at the DISCo concert (yes, this is the name of an actual band). It turns out that X = 1 with probability 0.5, X = 2 w.p. 0.3, and X = 3 w.p. 0.2. Show how to generate X with one Arena expression. DISC(0.5,1,0.8,2,1.0,3). 23. In Arena, what is the value of the expression (2 == 2) + (2 == 1)? (2 == 2) + (2 == 1) = 1 + 0 = 1.

6 24. TRUE or FALSE? In Arena, you can use a DECIDE block to move a customer to a choice of more than 2 possible destinations. True. 25. TRUE or FALSE? In Arena, you can use an ASSIGN block to change an entity s picture. True. 26. TRUE or FALSE? In Arena, there are multiple places (templates) to find a SEIZE block. True. 27. Suppose we pick 1000 random points in a unit (1 1 1) cube and that 543 of those points land inside the sphere with radius 1/2 that is inscribed in the cube. Use this result to estimate π. From Homework 2, we use the estimator ˆπ n = 6ˆp n = 6(543) 1000 = 3.258. 28. (6 points) Consider the integral I = 1 ln(1 + x) dx. Evaluate I via Monte Carlo 0 integration. Use the following n = 5 Unif(0, 1) random numbers to come up with the usual estimator În for I: 0.85 0.53 0.98 0.12 0.60

7 Î n = b a n = 1 5 5 = 1 5 i=1 n f(a + (b a)u i ) i=1 f(u i ) 5 ln(1 + U i ) i=1 = 1 5 ln [ 5 i=1(1 + U i ) ] = 0.461. By the way, the exact answer (after integration by parts) is I = 2ln(2) 1 = 0.386. 29. (6 points) Suppose that exactly 5 customers arrive at the First National Bank during its first hour of operation. The interarrival times (in minutes) are as follows. Bill Xavier Yolanda Andy Arnold 0 3.1 4.4 3.2 21.8 Each customer takes exactly 10 minutes to get served. Customers are served alphabetically. (a) How many customers do not have to wait before they are served? (b) When is the fifth departure time? (c) What s the average number of customers in the system over the first 30 minutes? cust arrl time start serv serv time depart wait Bill 0.0 0.0 10 10.0 0 Xavier 3.1 10.0 10 20.0 6.9 Yolanda 7.5 30.0 10 40.0 22.5 Andy 10.7 20.0 10 30.0 9.3 Arnold 32.5 40.0 10 50.0 7.5

8 (a) 1 (customer 1). (b) 50. (c) Let s list out the total time during [0,30] that various customers are in the system: cust interval length Bill [0.0, 10.0] 10.0 Xavier [3.1, 20.0] 16.9 Yolanda [7.5, 30.0] 22.5 Andy [10.7, 30.0] 19.3 So the total customer time in the system during the first 30 minutes is 58.7, so that L = 68.7/30 = 2.29. 30. (6 points) Customers come into a men s barber shop according to a Poisson process. 20% of the customers start out with a shave, and then get a haircut. The rest just get a haircut. 10% of all customers are dissatisfied with their haircut and go back for another (perhaps even multiple times). For this model, draw a rough Arena flowchart with a high-level explanation of what s going on.