0% found this document useful (0 votes)
29 views

Assignment 2

The document contains the solutions to several probability and statistics problems. It includes calculations of probabilities using the binomial, Poisson, and normal distributions. Confidence intervals and hypothesis tests are performed, including z-tests and t-tests. The problems cover concepts such as probability, expected value, variance, confidence intervals, hypothesis testing, and p-values.

Uploaded by

Châu Minh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Assignment 2

The document contains the solutions to several probability and statistics problems. It includes calculations of probabilities using the binomial, Poisson, and normal distributions. Confidence intervals and hypothesis tests are performed, including z-tests and t-tests. The problems cover concepts such as probability, expected value, variance, confidence intervals, hypothesis testing, and p-values.

Uploaded by

Châu Minh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Name: Nguyen Mai Minh Chau

MSSV: BABAIU21199

ASSIGNMENT 2
6.23
Call X is a customer paying with an American Express credit card at the Ardmore Hotel
π = 0.2, n =10
𝑛! 10!
a) P(X=0) = 𝑥!(𝑛−𝑥)! 𝜋 𝑥 (1 − 𝜋)𝑛−𝑥 = 0!(10−0)! 0.20 (1 − 0.2)10−0 = 0.107

b) P(X≥2) = 1 − P(X<2) = 1 − [P(X=0) + P(X=1)


10!
= 1 − [0.107 + 0.21 (1 − 0.2)10−1 ]
1!(10−1)!

= 1 − (0.107 + 0.268) = 0.625


c) P(X<3) = P(X=0) + P(X=1) + P(X=2)
10!
= 0.107 + 0.268 + 2!(10−2)! 0.22 (1 − 0.2)10−2 = 0.107 + 0.268 + 0.301 = 0.676

d) E(X) = nπ = 10*0.2= 2

e) σ = √𝑛𝜋(1 − 𝜋) = √10 ∗ 0.2(1 − 0.2) = 1.265


f) The probability distribution:
g)

The distribution is skewed right

6.37
1.70 × 𝑒 −1.7
a) P(X≥1) = 1 − P(X<1) = 1 − = 0.8173
0!

𝜆𝑥 𝑒 −𝜆 1.70 ×𝑒 −1.7
b) P(X=0) = = =0.1827
𝑥! 0!

1.7𝑥 ×𝑒 −1.7
c) P(X>3) = 1 – P(X≤3) = 1 − ∑3𝑥=0 = 0.0931
𝑥!

d) The probability distribution:


The distribution is skewed right

6.92
1
λ=n × π = 2500 × = 2.5
1000

𝜆𝑥 𝑒 −𝜆 2.50 ×𝑒 −2.5
a) P(X=0) = = = 0.082
𝑋! 0!

2.5𝑥 ×𝑒 −2.5
b) P(X≥3) = 1 − P(X < 3) = 1 − ∑2𝑥=0 = 0.4561
𝑥!

c) E(X)=λ=2.5

7.38
a) P(Z>z) = 0.05
=> 1 − 𝑃(𝑍 ≤ 𝑧) = 0.05
=> P(Z≤z) = 0.95
=> z=1.645
x = zσ + µ = 1.645 × 100 +600 = 764.5
b) P(Z>z) = 0.75
=> 1 − 𝑃(𝑍 ≤ 𝑧) = 0.75
=> P(Z≤z) = 0.25 => z = -0.675
x= -0.675 × 100 + 600 = 532.5
c) P(𝑧1 < 𝑍 < 𝑧2 ) = 0.8
=> P(Z<𝑧2 )=0.1 and P(Z>𝑧1 )=0.1
P(Z<𝑧2 )=0.1 => 𝑧2 = −1.285
𝑥2 = −1.285 × 100 + 600 = 471.5
P(Z>𝑧1 )=0.1 => 1 − P(Z ≤ 𝑧1 ) = 0.1 => P(Z ≤ 𝑧1 ) = 0.9 => 𝑧1 = 1.285
𝑥1 = 1.285 × 100 + 600 = 728.5

7.59
4.2
λ=4.2 telephone/hour => λ= 60 = 0.07 telephone/min

a) 𝑒 −𝜆𝑥 = 0.5
 −𝜆𝑥 = ln(0.5)
 −0.07𝑥 = ln(0.5)
−ln (0,5)
 x= = 9.9 (minutes)
0.07

b) e−λx = 0.25
=> -λx=ln(0.25)
−ln (0.25)
=> x= = 19.8 (minutes)
0.07

c) 𝑒 −𝜆𝑥 = 0.1
=> - λx=ln(0.1)
−ln (0.1)
=> x = = 32.89 (minutes)\
0.07

8.3
a) In what interval 95% of the bushing diameters fall:
=> x ± 𝑧𝛼 σ = 4.035 ± (1.96 × 0.005) = 4.035 ± 0.0098
2

b) In what interval 95% of sample mean


𝜎 0.005
=> 𝑥 ± 𝑧𝛼 × = 4.035 ± (1.96 ×
2 √𝑛 √25

c) Both outside expected range


8.17
a) Calculate 99% CI for true mean mental thickness
𝛼
1 − α = 0.99 => α = 0.01 => = 0.005 => 𝑧𝛼 = ±2.575
2 2
𝜎 0.000959
 𝑥̅ ± 𝑧𝛼 × = 0.2731 ± 2.575 × => (0.2728; 0.27342)
2 √ 𝑛 √58

8.23
a) 95% confidence interval for the true mean repair cost:
95% => α=0.05 => 𝑡(𝛼;𝑑.𝑓) = 2.086
2

𝑠 27.79
 x ± 𝑡(𝛼;𝑑.𝑓) × = 45.66 ± (2.086 × ) = 45.66 ± 12.6501
2 √ 𝑛 √21
 (33.01;58.31)
b) We can increase sample size or decrease 95% to make the confidence interval be narrower

9.17
a) The hypotheses for a right-tailed test:
Null hypothesis 𝐻0 : µ = 3.5 𝑚𝑔
Alternative hypothesis 𝐻1 : µ > 3.5
b) The z test statistic to test the manufacturer’s claim:
n=25, 𝑥̅ = 3.59, σ = 0.18
𝑥̅ −µ 3.59−3.5
z= 𝜎 = 0.18 = 2.5
√𝑛 √25

c) The sample exceeds the manufacturer’s claim:


α=0.01 => z=2.576
Because |𝑧| > (2.5 > 2.576), reject H0 at 1% level
Hence, at the 1% level of significance (α=0.01) the sample exceed the manufacturer’s claim
d) P-value:
P(z>2.5)=1-P(z≤2.5)=1 − 0.99379 = 0.00621
9.38
Null hypothesis 𝐻0 : µ = 18
Alternative hypothesis 𝐻1 : µ ≠ 18
a) n=18, 𝑥̅ = 17.78, s=0.41, α=0.05
𝑥̅ −µ 17.78−18
𝑡= 𝑠 = 0.41 = −2.2765
√𝑛 √18

 Critical value = -1.739


Because |t|>(2.2765>-1.739).Hence, at the 5% level of significance, the true mean smaller
than the specification
b) Yes, the conclusion is sensitive to the choice of null hypothesis
c) P-value = t.dist (|t|, d.f, tails)=t.dist (2.2765,17,1)=0.018

You might also like