Docsity

Test 2 Solutions | Introduction to Probability | STA 4321, Exams of Probability and Statistics

Toggle sidebar
bg1
STA4321 Test – 2 Solutions Spring 2008
Question 1: (20 Points) Daily sales records for a car dealership show that it will sell 0, 1or 2 cars on any given
business day with probabilities as listed below. We are interested in the number of cars sold on a two-day period.
Number of Cars Sold 0 1 2
Probability 0.5 0.3 0.2
a) Define the random variable in this question.
(2 points)Let X = number of cars sold on a 2-day period (assuming independence)
Thus, the possible values of X are 0, 1, 2, 3 and 4.
Let the pair (a, b) denote a = sales on day 1 and b = days 2 in that order.
b) Find the distribution of the random variable.
(5 points for reasonable reason)
P(X=0) = P[(0,0)] = 0.5×0.5 = 0.25
P(X=1) = P[(1,0) or (0,1)] = 2×0.5×0.3 = 0.30
P(X=2) = P[(2,0) or (1,1) or (0,2)] = 0.2×0.5 + 0.3×0.3 + 0.5×0.2 = 0.29
P(X=3) = P[(2,1) or (1,2)] = 2×0.2×0.3 = 0.12
P(X=4) = P[(2,2)] = 0.2×0.2 = 0.04
P(X= any other value) = 0
Hence (5 points for calculation and presentation in a reasonable format)
x 0 1 2 3 4 a.o.v
p(x) 0.25 0.30 0.29 0.12 0.04 0
c) Find the distribution function of the random variable.
(8 points)
0 0
0 25 0 1
0 55 1 2
0 84 2 3
0 96 3 4
1 4
X
x
. x
. x
F ( x ) . x
. x
x
STA4321 Test 2, Page 1 of 3
pf3

Partial preview of the text

Download Test 2 Solutions | Introduction to Probability | STA 4321 and more Exams Probability and Statistics in PDF only on Docsity!

STA4321 Test – 2 Solutions Spring 2008

Question 1: (20 Points) Daily sales records for a car dealership show that it will sell 0, 1or 2 cars on any given

business day with probabilities as listed below. We are interested in the number of cars sold on a two-day period.

Number of Cars Sold 0 1 2

Probability 0.5 0.3 0.

a) Define the random variable in this question.

(2 points)Let X = number of cars sold on a 2-day period (assuming independence)

Thus, the possible values of X are 0, 1, 2, 3 and 4.

Let the pair (a, b) denote a = sales on day 1 and b = days 2 in that order.

b) Find the distribution of the random variable.

(5 points for reasonable reason)

P(X=0) = P[(0,0)] = 0.5×0.5 = 0.

P(X=1) = P[(1,0) or (0,1)] = 2×0.5×0.3 = 0.

P(X=2) = P[(2,0) or (1,1) or (0,2)] = 0.2×0.5 + 0.3×0.3 + 0.5×0.2 = 0.

P(X=3) = P[(2,1) or (1,2)] = 2×0.2×0.3 = 0.

P(X=4) = P[(2,2)] = 0.2×0.2 = 0.

P(X= any other value) = 0

Hence (5 points for calculation and presentation in a reasonable format)

x 0 1 2 3 4 a.o.v

p(x) 0.25 0.30 0.29 0.12 0.04 0

c) Find the distribution function of the random variable.

(8 points)

X

x

. x . x

F ( x )

. x . x

x

Question 2: (30 points) A traveling salesman needs to make at least 2 sales per day to break even. On any contact

with a potential customer his chance of a sale is 0.2.

a) What is the probability that he will reach his goal of 3 sales if he visits 5 customers on a given day?

(3 points)Let X = number of sales on a given day.

(3 points)Then, X ~ B(5, 0.2)

(5 points)Because

(i) There is a Bernoulli trial (sale or no sale)

(ii) Trials are repeated n = 5 times (fixed)

(iii) Customers decide independent of each other (assumed)

(iv) P(Sale) = P(“Success”) = 0.2 for each customer and

(v) Random variable, X counts the number of sales = “Success”s

(4 points) Hence,

3 5 3

P( X ) (. ) (. ).

b) What is the probability that he will make 2

nd

sale on his visit to 5

th

customer on a given day?

(3 points)Let Y = number of customers visited to make 2 sales

(3 points)Then Y ~ nb(2, 0.2)

(5 points) Because

(i) There is a Bernoulli trial (sale or no sale)

(ii) Number of trials is random (Y)

(iii) Customers decide independent of each other (assumed)

(iv) P(Sale) = P(“Success”) = 0.2 for each customer and

(v) Number of sales = “Success”s = 2 is fixed.

(4 points) So,

2 5 2

2 5 2

P( Y ) (. ) (. )

. ( Correct

d )

e