Question

In: Statistics and Probability

Please put Rcode and Routput. Thank you. 1. Use R to: (a)Find P(-1.45 < Z <...

Please put Rcode and Routput. Thank you. 1. Use R to: (a)Find P(-1.45 < Z < 2.72) b) Find P(Z < -2.24) (c) Find P( -1.34 < Z < - 0.74) d) Find P( 1.53 < Z) e) Find P( Z > 1.31) 2. Use R to: (a)Find z0 when P( - Z0 < Z < Z0)= 0.82 (b) Find z0 when P(Z > Z0)= 0.32 (c) Find z0 when P(Z < Z0)= 0.28 3. Use R: Suppose yearly income of people in Minnesota is normally distributed with mean 45700 and standard deviation 2830. Find probability that a randomly selected person has income between 44000 and 48000. 4. Use R: Suppose yearly income of people in Minnesota is normally distributed with mean 45,700 and standard deviation 2830. Find probability that 10 randomly selected people have mean income between 44000 and 48000. 5. Use R: Suppose yearly income of people in Minnesota is normally distributed with mean 45,700 and standard deviation 2830. Find probability that 10 randomly selected people have mean income greater than 47,000.

Solutions

Expert Solution

Here we need to find probabilities coming from the normal distribution.

Let Z~N(0,1)

then

i) P(a<Z<b)=P(Z<b)-P(Z<a)

ii) P(Z<-a)=1-P(Z<a)

iii) P(-a<Z<a)=

that is P(Z<a)-P(Z<-a)=

that is P(Z<a)-(1-P(Z<a))=

that is 2*P(Z<a)=+1

that is P(Z<a)=(+1)/2

the value of a will be found by inverse.

In R for cumulative probability, we use "pnorm" function and for inverse probability, we use "qnorm" function.

The R codes and output is

############################################--R Code-##################################


# number 1
#part a
pnorm(2.72)-pnorm(-1.45)

#part b
pnorm(-2.24)

#part c
pnorm(-.74)-pnorm(-1.34)

#part d
pnorm(1.53,lower.tail = F)

#part e
pnorm(1.31,lower.tail = F)


# number 2
#part a
qnorm((1+0.82)/2)

#part b
qnorm(0.32,lower.tail = F)

#part c
qnorm(0.28)

#number 3
# here mean=M=45700, standard deviation=S=2830
M=45700
S=2830
pnorm(48000,M,S)-pnorm(44000,M,S)

#number 4
# here sample of 10 has mean=M=45700, standard deviation=S=2830/sqrt(10)
M=45700
S=2830/sqrt(10)
pnorm(48000,M,S)-pnorm(44000,M,S)


#number 5
# here sample of 10 has mean=M=45700, standard deviation=S=2830/sqrt(10)
M=45700
S=2830/sqrt(10)
pnorm(47000,M,S,lower.tail = F)

###########################-R script-#####################################################


Related Solutions

Please use R program and explain clealry please. thank you. 1. In NZ supermarkets, the average...
Please use R program and explain clealry please. thank you. 1. In NZ supermarkets, the average weight of a banana is 120 grams. An agricultural scientist buys bananas from a supermarket. Their weight, in grams, is as follows: c(103.2, 95.2, 89.6, 98.5, 112.8, 111) She suspects that this sample of bananas is lighter than average and wonders if this supermarket is selling bananas that are lighter than the NZ average. (a) State a sensible null hypothesis (b) State the precise...
Please Provide R code as well Use R to find probability (p-value). Find probability P(X>12.3), where...
Please Provide R code as well Use R to find probability (p-value). Find probability P(X>12.3), where X follows F-distribution with degree of freedom in numerator 4 and degree of freedom in numerator 10.
1.- Find the following probabilities. (a) P(Z > 1.4)    (b) P(−1 < Z < 1)...
1.- Find the following probabilities. (a) P(Z > 1.4)    (b) P(−1 < Z < 1) (c) P(Z < −1.49) 2.- Find (a) Z0.03 (b) Z0.07 3.- The distance that a Tesla model 3 can travel is normally distributed with a mean of 260 miles and a standard deviation of 25 miles. (a) What is the probability that a randomly selected Tesla model 3 can travel more than 310 miles? (b) What is the probability that a randomly selected Tesla...
Please find the z-score for Center A and Center B. Thank you. Center A Center B...
Please find the z-score for Center A and Center B. Thank you. Center A Center B 63 88 61 85 64 72 86 64 86 74 66 93 87 70 92 79 73 79 93 75 77 66 73 83 61 74 93 70 75 82 92 82 93 75 77 78 66 99 89 57 89 91 67 78 81 87 78 93 61 89 64 81 80 84 86 63 73 78 94 66 84 85 85 84...
(a) Find P [Z > 1.26]. (b) Find P [Z > -1.37}. (c) find P[-1.25 (a)...
(a) Find P [Z > 1.26]. (b) Find P [Z > -1.37}. (c) find P[-1.25 (a) Find P [Z > 1.26]. (b) Find P [Z > -1.37}. (c) find P[-1.25<Z<0.37). (d) find z such that P[Z>z]=0.05. (e) find z such that P[-z<Z<z]=0.99. (f) find the value of k such that P[k<Z<-0.18]=0.4197
please be very specific on showing work done!! If Z∼N(μ=0,σ2=1)Z∼N(μ=0,σ2=1), find the following probabilities: P(Z<1.58)=P(Z<1.58)= P(Z=1.58)=P(Z=1.58)=...
please be very specific on showing work done!! If Z∼N(μ=0,σ2=1)Z∼N(μ=0,σ2=1), find the following probabilities: P(Z<1.58)=P(Z<1.58)= P(Z=1.58)=P(Z=1.58)= P(Z>−.27)=P(Z>−.27)= P(−1.97<Z<2.46)=
Please use R studio, Thank you. 2. The probability of a student passing statistics is known...
Please use R studio, Thank you. 2. The probability of a student passing statistics is known to be 0.41; and the probability of a student passing chemistry is known to be 0.55. If the probability of passing both is known to be 0.35, calculate: (a) the probability of passing at least one of statistics and chemistry (b) the probability of a student passing chemistry, given that they passed statistics (c) Are passing chemistry and statistics independent? Justify (d) (harder) a...
Find: P(Z < -1.24) and also P( Z > 2.73)
Find: P(Z < -1.24) and also P( Z > 2.73)
Given the function u(p,q,r)=((p-q)/(q-r)), with p=x+y+z,q=x-y+z, and r=x+y-z, find the partial derivatives au/ax=, au/ay=, au/az=
Given the function u(p,q,r)=((p-q)/(q-r)), with p=x+y+z,q=x-y+z, and r=x+y-z, find the partial derivatives au/ax=, au/ay=, au/az=
For a standard normal distribution, find 1. P(z > c)=0.3796 Find c. 2. P(z < c)=0.0257...
For a standard normal distribution, find 1. P(z > c)=0.3796 Find c. 2. P(z < c)=0.0257 Find c. 3. P(-2.68< z > -0.38) 4. P(z > -1.55) 5. P(z < -0.32)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT