Suppose that the mean for the current gas prices in $3.00 with the standard deviation $0.25. Construct an interval that will contain 90% of all sample means of all random samples of size 40. 2. Suppose that you asked 40 people in different parts of San Diego and found that the mean price of gas that they bought this week was $3.04. Assume that population standard deviation is known to be $0.25. Construct a 90% confidence interval for the true mean of the gas price.
1.
"\\mu=3 \\\\\n\n\\sigma = 0.25 \\\\\n\nn=40"
Z-value for 90% CI = 1.64
Confidence interval:
Upper limit "= \\mu + Z \\times \\frac{s}{\\sqrt{n}}"
"= 3 + 1.64\\times \\frac{0.25}{\\sqrt{40}} \\\\\n\n= 3 + 0.06 \\\\\n\n= 3.06"
Lower limit "= \\mu - Z \\times \\frac{s}{\\sqrt{n}}"
"= 3 - 1.64\\times \\frac{0.25}{\\sqrt{40}} \\\\\n\n= 3 - 0.06 \\\\\n\n= 2.94 \\\\\n\nCI: 2.94 \u2264 \\mu \u22643.06"
2.
"n=40 \\\\\n\n\\mu = 3.04 \\\\\n\n\\sigma=0.25"
Z-value for 90% CI = 1.64
Confidence interval:
Upper limit "= \\mu + Z \\times \\frac{s}{\\sqrt{n}}"
"= 3.04 + 1.64\\times \\frac{0.25}{\\sqrt{40}} \\\\\n\n= 3.04 + 0.06 \\\\\n\n= 3.10"
Lower limit "= \\mu - Z \\times \\frac{s}{\\sqrt{n}}"
"= 3.04 - 1.64\\times \\frac{0.25}{\\sqrt{40}} \\\\\n\n= 3.04 - 0.06 \\\\\n\n= 2.98 \\\\\n\nCI: 2.98 \u2264 \\mu \u22643.10"
Comments
Leave a comment