I've noticed that in Statistics, when the topic of "linearity" comes up, what is usually meant is th

taghdh9

taghdh9

Answered question

2022-06-23

I've noticed that in Statistics, when the topic of "linearity" comes up, what is usually meant is that a fit can be made with a function of the form
R R : y ( x ) = m x + q
Now in linear algebra this is obviously not true (equations of the form y=mx+q are not necessarily linear).
Am i mistaking something or is this just a point where statisticans and mathematicians use the same words for different things?

Answer & Explanation

Josie Stephenson

Josie Stephenson

Beginner2022-06-24Added 20 answers

It is true that in the context of linear algebra, the function f ( x ) = m x + q is not considered to be "linear" (except in the case that q = 0). Instead, such a function would be called affine.
However, the equation y = m x + q is considered a "linear equation" in the context of linear algebra. An equation is considered linear if it can be written in the form f ( x ) = b for some linear function x. In this case, we could take f ( x ) = m x and b = y q.
misurrosne

misurrosne

Beginner2022-06-25Added 3 answers

It is not the case that "linear" means only one thing in statistics.
Say you have data points ( ( x i , y i ) : i = 1 , , n ) and you find the values α ^ , β ^ for which the sum of squares of residuals i = 1 n ( y i y ^ i ) 2 = i = 1 n ( y i ( α ^ + β ^ x i ) ) 2 ,, is as small as possible.
Then the pair ( α ^ , β ^ ) depends on the vector ( y 1 , , y n ) in a linear way and depends on ( x 1 , , x n ) in a nonlinear way, and that is exactly the meaning the term has in linear algebra. And that is why fitting a polynomial is considered linear regression just as much as fitting a straight line is linear regression. It is not because one is fitting a line that it is called linear.
However, one says that correlation is a measure of "linear" dependence between the two variables, and there the terms "linear" and "linear dependence" do not mean the same thing they mean in linear algebra, and in this case it is about fitting a line.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Linear algebra

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?