Professional Documents
Culture Documents
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) ]
z=
=> 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
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
=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
5.
=1.359/3=0.453
=0.05321
t(0.025,3)=3.182