Is linear regression the same thing as ordinary least squares in SPSS?
Asked Answered
A

2

10

I want to use a linear regression model, but I want to use ordinary least squares, which I think it is a type of linear regression. The software I use is SPSS. It only has linear regression, partial least squares and 2-stages least squares. I have no idea which one is ordinary least squares (OLS).

Aureus answered 22/11, 2009 at 21:57 Comment(0)
L
18

Yes, although 'linear regression' refers to any approach to model the relationship between one or more variables, OLS is the method used to find the simple linear regression of a set of data.

Lazurite answered 22/11, 2009 at 22:2 Comment(2)
Linear regression refers to any approach to model a LINEAR relationship between one or more variables. Linear regression CAN be done using OLS as can other NON-LINEAR (and hence not linear regression) models. OLS is a optimization method frequently applied when performing linear regression. However it is not the only method and others can be utilized to linear regression same as OLS is also used for NONlinear models.Immingle
@Immingle what are those other methods?Ley
S
5

Linear regression is a vast term that just says we are finding a relationship between the dependent and independent variable(s), no matter what technique we are using.

OLS is just one of the technique to do linear reg.

Lets say,

error(e) = (observed value - predicted value)

Observed values - blue dots in picture

predicted values - points on the line(vertically below to the observed values)

The vertical lines below represent 'e'. We square them -> add them and get total err. And we try to reduce this total error.

enter image description here

For OLS, as the name says (ordinary least squared method), here we reduce the sum of all e^2 i.e. we try to make the error least.

Segment answered 22/1, 2021 at 9:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.