150-35=115"\\text{ with one car}."
"1) \\overline{p}=\\frac{115}{150}\\approx 0.76\\,\\text{ is a point estimate of the population proportion}.\\\\\n\\overline{p}n=(0.76)150>5, (1-\\overline{p})n=(0.24)150>5. \\\\\n\\text{So the binomial distribution can be estimated by the normal}.\\\\\np=\\overline{p}\\pm [z_{\\alpha\/2}\\sqrt{\\frac{\\overline{p}(1-\\overline{p})}{n}}].\\\\\n\\alpha=0.01\\\\\nz_{0.005}=2.58\\\\\np=0.76\\pm [(2.58)\\sqrt{\\frac{(0.76)(0.24)}{150}}].\\\\\n(0.67, 0.85)\\,\\text{ is our confidence interval}.\\\\\n2) \\mu=\\overline{\\mu}\\pm [z_{\\alpha\/2}\\frac{\\sigma}{\\sqrt{n}}]\\\\\n\\overline{\\mu}=\\frac{19035}{150}=126.9\\,\\text{ is a point estimate of the population mean}.\\\\\n\\alpha=0.05\\\\\nz_{\\alpha\/2}=1.96\\\\\n\\mu=126.9\\pm [(1.96)\\frac{\\sigma}{\\sqrt{150}}]\\\\\n\\sigma=\\sqrt{\\frac{\\sum x^2}{n}-(\\frac{\\sum x}{n})^2}=\\sqrt{\\frac{4054716}{150}-(126.9)^2}.\\\\\n(110.17, 143.63)\\,\\text{is the confidence interval}."
Comments
p1=0.76-2.58*sqrt(0.76*0.24/150)=0.67, p2=0.76+2.58*sqrt(0.76*0.24/150)=0.85, hence (0.67, 0.85) is 99% confidence interval for the proportion.
In the first part of the question there is (1-alpha)*100%=99% confidence level, alpha=0.01, alpha/2=0.005, the area to the left of (1-0.005)=0.995 is considered, hence the 99.5th percentile of the standard normal distribution can be computed with a help of qnorm(0.995,mean=0,sd=1) in R and it is approximately equal to 2.58.
can u explain the first part please
Leave a comment