Confidence interval of difference

In summary, we have two independent and random samples of size 64 and 36 from two populations of small and medium enterprises. The first sample has an average sales of 9 thousand euros and a variation of 4, while the second sample has an average sales of 7 thousand euros and a variation of 9. To estimate the confidence interval for the difference in population sales with a probability of 95%, we calculate the confidence interval using the formula for the standard error of the difference. For the second part, we are asked to find the sample size needed for a 95% confidence interval to estimate the population average sales with a margin of error of 0.6 thousand euros, assuming a normal distribution with a mean of 8
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :giggle:

From two populations of small and medium enterprises, we collect two random and independent samples of size $n_1 = 64$ and $n_2 = 36$ enterprises respectively. If we calculate for the companies of the first sample average sales of $9$ thousand euros and a variation of $4$, while for the companies of the second sample average sales of $7$ thousand euros and a variation of $9$ and in addition we assume unequal population variances, then

a) estimate a confidence interval with a probability of $95\%$ of the population sales difference

b) what sample size should we consider when the second population to construct a $95\%$ confidence interval for estimating the population average sales amount, with a sampling error of $0.6$ thousand euros, if we know that the random sales variables $X\sim N (8,4 )$.I have done the following :

a) We have that $$\overline{x}-\overline{y}=9-7=2$$ and $$s_{\bar{x}-\bar{y}}\approx \sqrt{\frac{s_x^2}{n_x}+\frac{s_y^2}{n_y}}=\sqrt{\frac{4}{64}+\frac{9}{36}}=\sqrt{\frac{5}{16}}=\frac{\sqrt{5}}{4}$$
Since $C=95\%$ then $z^{\star}=1.96$ and then the confidence intervalis $$\left ( 2-1.96\cdot \frac{\sqrt{5}}{4}, 2+1.96\cdot \frac{\sqrt{5}}{4}\right )$$ Is that correct?

b) Could you give me a hint?
:unsure:
 
Physics news on Phys.org
  • #2
Hey mathmari!

It says 9 thousand euros with a variation of 4.
That is a bit confusing and ambiguous.
Is it a variance? Or is it a standard deviation?
And what its unit? Is it thousands of euros?

If we assume a standard deviation of 4 thousand euros is intended, then we have $s_1=4$ instead of $s_1^2=4$. :unsure:

For b we presumably have $\mu=8$ and $\sigma=4$.
If I'm not mistaken, they are asking for an n such that the the margin of error of the confidence interval is 0.6.
That error is 1.96 SE, where SE is the so called standard error.
It is $SE=\frac \sigma{\sqrt n}$. 🤔
 
Last edited:

FAQ: Confidence interval of difference

What is a confidence interval of difference?

A confidence interval of difference is a statistical measure used to estimate the range of values in which the true difference between two population means or proportions lies. It takes into account the variability of the data and provides a range of values rather than a single point estimate.

How is a confidence interval of difference calculated?

A confidence interval of difference is calculated using the formula: (x̄1 - x̄2) ± tα/2 * SE, where x̄1 and x̄2 are the sample means, tα/2 is the critical value from the t-distribution based on the desired confidence level and degrees of freedom, and SE is the standard error of the difference between the two means.

What is the significance of a confidence level in a confidence interval of difference?

The confidence level in a confidence interval of difference represents the probability that the true difference between the two population means or proportions falls within the calculated interval. For example, a 95% confidence level means that there is a 95% chance that the true difference falls within the calculated interval.

Can a confidence interval of difference be negative?

Yes, a confidence interval of difference can be negative. This indicates that the true difference between the two population means or proportions is negative. However, it is important to note that a negative difference does not necessarily mean that one group is performing worse than the other, as the confidence interval takes into account the variability of the data and the true difference may actually be close to zero.

How can a confidence interval of difference be used in hypothesis testing?

A confidence interval of difference can be used in hypothesis testing by comparing the calculated interval to a null hypothesis. If the null hypothesis falls outside of the confidence interval, it can be rejected, indicating that there is a significant difference between the two groups. However, if the null hypothesis falls within the confidence interval, it cannot be rejected, indicating that there is not enough evidence to conclude a significant difference between the two groups.

Similar threads

Back
Top