Solve this using R programming language 1. Markov’s and Chebychev’s Bounds. Recall that given a random variable X with

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Solve this using R programming language 1. Markov’s and Chebychev’s Bounds. Recall that given a random variable X with

Post by answerhappygod »

Solve this using R programming language1. Markov’s and Chebychev’s Bounds.Recall that given a random variable X with mean μ and variance σ2,we have Markov’s bound given as (fora > 0) P(X ≥a) ≤ μ/a,and Chebychev’s bound given by (for k > 0):P(|X −μ|≥k) ≤ σ^2/k^2Write functions “markov” and “chebychev” which take input relevantinputs (a,μ for Markov and k,σ2forChebychev) and output the relevant value of the bounds.
2. Normal distributionFor values of a ∈(14,22) plot the true value of P(X ≥a) and theMarkovs bound on the same plot (x-axiswill be (14,22)) when X ∼N(μ = 18,σ = 1.5).For values of k ∈(0,5) plot the true value of P(|X −μX|≥k) and theChebychev’s bound, on the same plot(x-axis will be (0,5)) when X ∼N(μ = 18,σ = 1.5).
3. Exponential DistributionFor values of a ∈(0,5) plot the true value of P(X ≥a) and theMarkovs bound on the same plot (x-axis willbe (0,5)) when X ∼Exp(λ = 2).For values of k ∈(0,5) plot the true value of P(|X −μX|≥k) and theChebychev’s bound, on the same plot(x-axis will be (0,5)) when X ∼Exp(λ = 2).
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply