Let X be a random variable with a normal distribution with m

Let X be a random variable with a normal distribution with mean mu = 10 and a standard deviation sigma = 2.5. Write the R script necessary to find the the following probabilities P(X x_0) = 0.9; P(X > x_0) = 0.25; P(|X - 10|

Solution

(a)R-code-

qnorm(0.9,10,2.5)

(b)P(X>x0)=1-P(X<=x0)

P(X<=x0)=1-0.25=0.75

R-code-

qnorm(0.75,10,2.5)

(c)

P(|X-10|<x0)=P(-x0<X-10<x0)=P(X-10<x0)-P(X-10<-x0)=P(X-10<x0)-P(X-10>x0)=P(X-10<x0)-{1-P(X-10<x0)}

=2P(X-10<x0)-1=0.88

=>P(X-10<x0)=0.94

R-code-

qnorm(0.94,0,2.5)

 Let X be a random variable with a normal distribution with mean mu = 10 and a standard deviation sigma = 2.5. Write the R script necessary to find the the foll

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site