You are on page 1of 4

Final test 182

Friday, August 16, 2019 8:20 PM

1. Life time of hardware is f(x)=K-x/50 for 0<x<10 and f(x)=0 else where
a)Find K and expectation of life time
b)The probability of failure within the first 3 years
c)If the hardware still function after the first 3 years, what is the probability of a failure within the next 2 years
a)
F(x)=K.x-x^2/100=>F(10)-F(0)=1=>K=0.2

=>
b)

c)
Conditional probability
Let A be the event that the hardware will die in the first 5 years and B is the event that the hardware will not
die in the first 3 years
p(B)=1-p(x<3)=0.49
p(BA)=p(3<x<5)=0.24
p(A/B)=p(BA)/p(B)=p(3<x<5)/p(B)=0.4898
[ p(x<5/x>3)=p(3<x<5)/p(x>3) ]

2. Follow normal distribution with standard deviation = 0.2


10 resistors was tested
Resistance 0.6 0.62 0.64
Frequency 3 5 2
a)Test the claim that at 0.01 level of significance, mean resistance is greater than 0.6 or not
b)How many observation so that error of 95% confidence interval for the mean is less than 0.01
a)
This is Hypothesis testing for one sample (sd is known and normal)

z=

H0: u > 0.6


H1: u < 0.6
We reject H0 when z < -za (H1) z(0.01)=2.326

=> We cannot reject H0:The mean resistence is more likely greater than 0.6
b)
This is confidence interval for one sample

z(0.025)=1.960

Final test Page 1


3. Among 170 randomly selected channels, 40 channels (0 error), 53 channels (1 error),
38 channels (2 errors), 20 (3 errors), 13 (4 errors), 6 ( 5 errors)
(40,53,38,20,13,6 is observed frequency Oi)
a) Construct 99% confidence interval for the proportion of channels that record at most 1
error
b) Errors is modeled by Poisson distribution, test this assumption at significance level 0.01

a)
This is proportion confidence interval

z(0.005)=2.576
0.547-0.098347<p<0.547+0.098347
b)
This is goodness of fit test using chi-squared test
Using Poisson distribution to calculate expected frequency Ei
Lamda is unknown so it must be estimated
Lamda=(0*40+53*1+38*2+20*3+13*4+6*5)/170=1.59412

p(0)=0.203087 =>E1=p(0).n=34.5248
p(1)=0.323745 =>E2=55.0367
p(2)=0.258044 =>E3=43.867
p(3)=0.137118 =>E4=23.310
p(4)=0.054646 =>E5=9.2897
p(5)=0.017422 =>E6=2.9618

=
df=m-p-1=4-1-1=2 (We estimate the lamda so p=1)
=9.21

So we cannot reject the hypothesis, This distribution is more likely a Poission distribution

Final test Page 2


4.

=0.987843

t(m+n-2)=t(10)= =1.373415

H0: u1>u2
H1:u1<u2 =>u1-u2<0
t(0.01,df=10)=2.764
t<-t(0.01,df=10) (Wrong)
=>We cannot reject H0
Nhìn vào số liệu là biết trung bình
của cây beech lớn hơn cmnr

Final test Page 3


Saturday, August 17, 2019 12:28 AM

5.

Sxx=160,Sxy=78.8 =>b=0.4925 =>a=3.88=>


Syy=40.168

=1.359/3=0.453

=0.05321

t(0.025,3)=3.182

Final test Page 4

You might also like