Let $a$ and $b$ be constants and let $y_j = ax_j + b$ for $j=1,2,\ldots,n$.

What are the relationships between the means of $ya$ and $x$, and the standard deviations of $y$ and $x$?

I'm slightly confused with how to approach a theoretical question such as this and was wondering if anyone could help provide me some advice on how to approach this problem.

At the moment here is what I'm thinking, but I'm currently working without certainty:

We know

  • $x_j = (y_j - b)/a$

  • The mean of $x$ = mean of $y$

In terms of standard deviation, I'm not sure how they correlate at all right now aside from the fact that you need the mean of $x$ or $y$ in order to calculate the corresponding standard deviation.

If someone could help explain this question and help me understand what I'm being asked and how to solve this I would greatly appreciate it!

EDIT: So looking at the second portion of the question I am doing the following:

SD = sqrt(Sigma(y_i - y)^2/(n-1)))

SD(y) = (Sigma(yi - (ax+b)))/(n-1)

SD(y) = (Sigma (ax+b) - (ax+b))/(n-1)

SD(y) = 1/(n-1)

Is the following correct?

  • $\begingroup$ Do you mean $ya$ or just $y$ in your second line? You also use $x$ and $y$ in many places but do you mean $x_j$ and $y_j$? $\endgroup$ – TooTone Feb 6 '14 at 23:51
  • $\begingroup$ When $y=f(a,b,c)$, we have $\bar y=f(\bar a,\bar b,\bar c)$ (for any number of variables). The error $\sigma_y$ can be found using propagation of uncertainties:en.wikipedia.org/wiki/Propagation_of_uncertainty $\endgroup$ – Ragnar Feb 6 '14 at 23:51
  • $\begingroup$ It's generally true that $\text{E}[aX+b]= a\text{E}[X]+b$ and that $\text{Var}[aX+b]=a^2\text{Var}[X]$. The latter means, in your notation, that $\text{SD}[aX+b]=a^2\text{SD}[X]$. $\endgroup$ – MPW Feb 7 '14 at 0:36
  • $\begingroup$ That should be $a\text{SD}[X]$ at the end, couldn't edit the comment for some reason. $\endgroup$ – MPW Feb 7 '14 at 0:44

The mean of $x$ = mean of $y$

This is not true.

The way you should approach this problem is to use the formulas for mean and standard deviation directly: \begin{align*} \text{Mean}(y_1, y_2, \ldots, y_n) &= \frac{y_1 + y_2 + \cdots + y_n}{n} \\ &= \frac{(ax_1 + b) + (ax_2 + b) + \cdots + (ax_n + b)}{n} \\ &= \frac{a(x_1 + x_2 + \cdots + x_n) + nb}{n} \\ &= a \cdot \text{Mean}(x_1, x_2, \ldots, x_n) + b \\ \end{align*}

See if you can do a similar algebraic manipulation for standard deviation.

  • $\begingroup$ nice answer @goos $\endgroup$ – Semsem Feb 6 '14 at 23:52
  • $\begingroup$ Wow, this actually makes a lot of sense all of a sudden. So for standard deviation, I'd pretty much be using the formula for standard deviation and finding a way to correlate x and y? I think I understand this question now $\endgroup$ – Valrok Feb 6 '14 at 23:56

Since $y_j = a\cdot x_j + b$, then $$\bar{y}=\frac{\Sigma ( a\cdot x_j + b)}{n} \\ =\frac{a\Sigma \cdot x_j + nb}{n} \\=a\bar{x}+b$$ Use the same way with SD


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.