Please use R programming to answer follow questions:
Given that X has a normal distribution with mean 18 and standard deviation 2.5, find
a. P(X < 15);
b. the value k such that P(X < k) = 0.2236;
c. the value k such that P(X > k) = 0.1814;
d. P(17 < X < 21).
#Given that X has a normal distribution with mean 18 and
standard deviation 2.5,
# a. P(X < 15)
# mean m=18 and sd s=2.5
m <- 18
s <- 2.5
xbar <- 15
z <- (xbar-m)/s
#if z is positive then
if(z>=0)
{
res=pnorm(abs(z))
}
#if z is gegative then
if(z<0)
{
res=pnorm(-abs(z))
}
cat("P(X < 15) = " , res,"\n")
#b. the value k such that P(X < k) = 0.2236
#here p value is 0.2236
p<-0.2236
# z value will be generated
z<-qnorm(p)
# value of k calculation
k<-(z*s+m)
cat("The value of k for [P(X < k) = 0.2236 is ] : " ,
k,"\n")
#c. the value k such that P(X > k) = 0.1814
#as X>k so here p value will be 1-0.1814
p<-(1-0.1814)
# z value will be generated
z<-qnorm(p)
# value of k calculation
k<-(z*s+m)
cat("The value of k for [P(X > k) = 0.1814 is ] : " ,
k,"\n")
#d. P(17 < X < 21).
xbar <- 17
# z1 value will be generated
z1<- (xbar-m)/s
xbar <- 21
# z2 value will be generated
z2<- (xbar-m)/s
#if z1 is positive then
if(z1>=0)
{
res1<-pnorm(abs(z1))
}
#if z1 is negative then
if(z1<0)
{
res1<-pnorm(-abs(z1))
}
#if z2 is positive then
if(z2>=0)
{
res2<-pnorm(abs(z2))
}
#if z2 is negative then
if(z2<0)
{
res1<-pnorm(-abs(z2))
}
res=res2-res1
cat("P(17<X<21) = " , res,"\n")
SCREEN SHOT




OUTPUT
Please use R programming to answer follow questions: Given that X has a normal distribution with...
1) Given a standard normal distribution, find the probability of having a z score higher than 1.67 ```{r} ``` 2) Given that test scores for a class are normally distributed with a mean of 80 and variance 36, find the probability that a test score is lower than a 45. ```{r} ``` 3) Given a standard normal distribution, find the Z score associated with a probability of .888 ```{r} ``` 4) Find the Z score associated with the 33rd quantile...
5.2 The Uniform Distribution Use the following information to answer the next ten questions. The data that follow are the square footage (in 1,000 feet squared) of 28 homes. 1.5 2.4 3.6 2.6 1.6 2.4 2.0 3.5 2.5 1.8 2.4 2.5 3.5 4.0 2.6 1.6 2.2 1.8 3.8 2.5 1.5 2.8 1.8 4.5 1.9 1.9 3.1 1.6 Table5.2 The sample mean = 2.50 and the sample standard deviation = 0.8302. The distribution can be written as X ~ U(1.5, 4.5)....
R Programming Exercise Book Problem 57 (Difficulty: Easy) A normal distribution has a standard deviation of 35 and mean of 15. From this generate 2 to 400 samples. After generating the samples utilize the plot command to plot the mean of the generated sample (x-axis) against the number of samples. Create a second plot of the density of the 400 samples that you generated. This code can be solved in 4 to 8 lines. For this problem use the following...
Let the random variable X follow a normal distribution with a mean of 61.7 and a standard deviation of 5.2. What is the value of A such that P(59 < X < A) = 0.54?
Use the given information below to answer the questions. Show ALL your work. The heights of young men follow a Normal distribution with mean 69.3 inches and standard deviation 2.8 inches. The heights of young women follow a Normal distribution with mean 64.5 inches and standard deviation 2.5 inches. Let M = the height of a randomly selected young man W = the height of a randomly selected young woman a.) Describe the shape, center, and spread of the...
1. X has a normal distribution with the given mean and standard deviation. Find the indicated probability. (Round your answer to four decimal places.) μ = 41, σ = 20, find P(35 ≤ X ≤ 42) 2. Find the probability that a normal variable takes on values within 0.9 standard deviations of its mean. (Round your decimal to four decimal places.) 3. Suppose X is a normal random variable with mean μ = 100 and standard deviation σ = 10....
X has a normal distribution with the given mean and standard deviation. Find the indicated probability. (Round your answer to four decimal places.) μ = 36, σ = 20, find P(35 ≤ X ≤ 48)
X has a normal distribution with the given mean and standard deviation. Find the indicated probability. (Round your answer to four decimal places.) μ = 42, σ = 20, find P(35 ≤ X ≤ 50)
X has a normal distribution with the given mean and standard deviation. Find the indicated probability. (Round your answer to four decimal places.) μ = 40, σ = 20, find P(32 ≤ X ≤ 42)
X has a normal distribution with the given mean and standard deviation. Find the indicated probability. (Round your answer to four decimal places.) μ = 39, σ = 20, find P(34 ≤ X ≤ 46)