Ans: Point estimate of the population mean = 171.1.
Median = 175; the median is the observation right in the middle. If there are an even number of observations, there will be two values in the middle, and the median is taken as their average.
Ans: 9.4 IQR: Q3-Q1=177.8-163.8=14
Ans: Yes, it is above Q3. Yes, it is below Q1.
Ans: Yes. It should be the same mean and same standard deviation if the random sample size is big enought and new sample are random sample.
Ans: point estimation measure.
Aas:False, it shoule between 82.89 abd 86.53.
l<-84.71-(80.31-84.71)^2/(sqrt(436))*1.96
r<-84.71+(80.31-84.71)^2/(sqrt(436))*1.96
c(l,r)
## [1] 82.89274 86.52726
Ans: True,since the mode is on the left side.
Ans:True, since sample mean = 84.71 which is between 80.31 and 89.11.
Ans: False, 95% confident is between 82.89 and 86.53.
Ans:Yes, since the SE of 90% is lesser than 95%.
Ans: True, since z is reduced, and new margin of error is less than the old one.
#margin of error= z*SE
old<-(80.31-84.71)^2/(sqrt(436))*1.96
new<-(80.31-84.71)^2/(sqrt(436*3))*1.15
c(old,new)
## [1] 1.817265 0.615601
Ans: False, it should be 1.82.
Ans:Yes.
Ans: H0: u=32; H1: u<32
z<-(32-30.69)/(4.31/sqrt(36))
pnorm(-abs(z))
## [1] 0.0341013
Ans: 0.1 is the significance level. If average of the gifted children is 32 months is TRUE, the p-value should be greter than 0.05, otherwise, H0 will be rejected.
#90% confident population inerval
z<-qnorm(.95)
left<-30-z*4.31/sqrt(36)
right<-30+z*4.31/sqrt(36)
c(left,right)
## [1] 28.81845 31.18155
#No,I don't agree for both.
#For the hypothesis test, since p=0.0341<0.05, so we reject H0: u=32.
#For 90% confidence sample interval 32 is greater than 31.18155.
Ans: H0: u=100; HA: U != 100
z<-(100-118.2)/(6.5/sqrt(36))
pnorm(-abs(z))
## [1] 1.22022e-63
Ans: since p is close to 0, we reject H0: u=100.
#90% confident population interval:
z<-qnorm(.95)
left<-118.2-z*6.5/sqrt(36)
right<-118.2+z*6.5/sqrt(36)
c(left,right)
## [1] 116.4181 119.9819
#No,I don't agree for both.
#For the hypothesis test, since p=0<0.05, so we reject H0: u=100.
#For 90% confidence interval, 100 < 116.4181 which is out of boudary.
4.34 CLT. Define the term “sampling distribution” of the mean, and describe how the shape, center, and spread of the sampling distribution of the mean change as sample size increases.
#sample distribution of the mean is close to the population mean when sample size increases.
#The belt shape curve also becomes more symetric and the peak of the central also higher.
pnorm(10500,mean = 9000,sd=1000,lower.tail = F,log.p = F)
## [1] 0.0668072
#since size=15 <30, the distribution would be extreamly skew.
z<-(1050-9000)/(6.5/sqrt(15))
pnorm(-abs(z))
## [1] 0
par(mfrow = c(2, 1))
hist(rnorm(n=1000, mean=9000, sd=1000),breaks = 20)
hist(rnorm(n=50, mean=9000, sd=1000),breaks = 20)
Ans: sample size increse, z will increase, then p-value will decrese.In (a), the probability picking a light bulbs which longer than 10500 hrs is 0.0668. In (c) picking 15 light bulbs in which has only 1 light bulbs would be longer than 10500hrs and the rest are less than 10500, the mean of 15 light bulbs will have 0 probability greater than 10500 hrs.
Ans: Since sample size increse, z will increase, then p-value will decrese.For example:
z<-qnorm(.92)
z
## [1] 1.405072
a<-z/sqrt(50)
z1<-a*sqrt(500)
z1
## [1] 4.443226
pnorm(-z1)
## [1] 4.430991e-06