7.2 11. A company buys 100 lightbulbs, each of which has an exponential lifetime of 1000 hours. What is the expected time for the first of these bulbs to burn out? (See Exercise 10.)
Where exponential lifetime is u=1000, expected time for the first of these bulbs to burn out is u/n.
u<- 1000
n<- 100
x<-u/n
x
## [1] 10
7.2 14. Assume that X1 and X2 are independent random variables, each having an exponential density with parameter λ. Show that Z=X1−X2 has density fZ(z)=(1/2)e−λ|z|.
Let X be a continuous random variable with mean μ=10 and variance σ2=100/3. Using Chebyshev’s Inequality, find an upper bound for the following probabilities.
P(|X−10|≥2)
sig_sq <- 100/3
mu <- 2
ub1 <- sig_sq/mu^2
ub1
## [1] 8.333333
P(|X−10|≥5)
sig_sq <- 100/3
mu <- 5
ub2 <- sig_sq/mu^2
ub2
## [1] 1.333333
P(|X−10|≥9)
sig_sq <- 100/3
mu <- 9
ub3 <- sig_sq/mu^2
ub3
## [1] 0.4115226
P(|X−10|≥20)
sig_sq <- 100/3
mu <- 20
ub4 <- sig_sq/mu^2
ub4
## [1] 0.08333333