Skip to main content

[Community Question] Statistics: Calculating a 95% confidence interval for the difference of two random variables

One of our user asked:

Let $ x_1, ..., x_9 $ and $ y_1, ..., y_8 $ be two random samples of two populations. $ \bar x = 7 $ is the mean of the first and $ \bar y = 11 $ the mean of the second sample. The sample standard deviations are $ s_x = 2 $ and $ s_y = 3.5 $. Now I want to calculate a 95% confidence interval for the difference of the mean of the two populations. I know how to calculate a 95% confidence interval for the mean for the populations: $$ \bar x -2*\left(\frac{s_x}{\sqrt 9}\right) $$ and $$ \bar y -2*\left(\frac{s_y}{\sqrt 8}\right) $$ But don't know how to proceed from here.


Comments

Popular posts from this blog

[Community Question] Calculus: calculating 2 constants in a function

One of our user asked: $$M=\{f\in C[0,2\pi],\int_{0}^{2\pi}f(x)sinxdx=\pi,\int_{0}^{2\pi}f(x)sin2xdx=2\pi\} $$ $a,b\in \mathbb R, g\in M, g(x)=asinx+bsin2x,x\in [0,2\pi]$ I've read on the answers that $a=1,b=2$ and I don't know how to calculate them. Can somebody explain me,please? By the way, the problem is to determine $ \int_{0}^{2\pi}(g(x))^2 dx$ so you have to first get the constants $a$ and $b$ .

Calculus: A difficulty in understanding a step in a solution.

Here is the solution: But I could not understand how the last term in the fourth line came from the line before it, could anyone explain this for me please?