Assignement 2 Geo
Assignement 2 Geo
Assignement 2
Linear Regression. Estimating Model parameters
Almaty 2022
Description
1. Introduction
3. Conclusion
1. Introduction
Linear regression is an attempt to model the relationship between two variables by fitting a
linear equation to observed data, where one variable is considered to be an explanatory
variable and the other as a dependent variable.
Linear Regression is the process of finding a line that best fits the data points available on
the plot, so that we can use it to predict output values for inputs that are not present in the
data set we have.
2. Main body (Calculations and result)
1)
Define the relevant summary quantities (Σxi , Σyi, Σx2i, Σxiyi, Σy2i, Sxx, Sxy) and define
the equation of least squares.
Solution:
I wasn't able to overlay the graphs, but here we can trace the location of the points
and our regression line
2) Find Regression line equations from ∑x = 420, ∑y = 750, ∑ x 2= 3699, ∑ y 2= 12450, ∑xy
= 5500, n = 15.
3)
Using the same formulas as in 1st task we get:
∑ x i = 2181,4
∑ y i = 814,6
∑ x 2i =334570,5
∑ y 2i =44329,94
∑ x i y i=117911,4
S xy =−553,143
S xx =17336,75
β 1=−0,03191
β 0=58,94662