Академический Документы
Профессиональный Документы
Культура Документы
PROBLEM
Source: https://www.statisticssolutions.com/what-is-linear-regression/
Regression is a statistical measure used in finance,
investing and other disciplines that attempts to determine the
strength of the relationship between one dependent variable
(usually denoted by Y) and a series of other changing
variables (known as independent variables). Regression helps
investment and financial managers to value assets and
understand the relationships between variables, such as
commodity prices and the stocks of businesses dealing in
those commodities.
- Investopedia
WHAT IS THE DIFFERENCE
BETWEEN CORRELATION
AND REGRESSION?
Regression is similar to Correlation in that the purpose
is to measure to what extent there is a linear relationship
between two variables. The major difference between the two
is that correlation makes no distinction between independent
and dependent variables while linear regression does. In
particular, the purpose of linear regression is to "predict" the
value of the dependent variable based upon the values of one
or more independent variables.
WHAT IS THE PURPOSE OF
REGRESSION IN
STATISTICS?
Regression is used to examine the relationship between
one dependent and one independent variable. After
performing an analysis, the regression statistics can be used
to predict the dependent variable when the independent
variable is known. Regression goes beyond correlation by
adding prediction capabilities.
THREE MAJOR USES FOR
REGRESSION ANALYSIS
(1)determining the strength of predictors,
(2)forecasting an effect, and
(3) rend forecasting.
TWO TYPES OF REGRESSION
Simple Regression
Multiple Regression
In simple regression a single independent
variable is used to predict the value of a
dependent variable. In multiple
regression two or more independent
variables are used to predict the value of a
dependent variable. The difference between
the two is the number of independent
variables. In both cases there is only a single
dependent variable.
The variable which is used as the predictor is called the
independent variable (X) and the variable whose value is
predicted is the dependent variable (Y). This average
relationship is described by the equation:
Y= a + bX or Y= bX + a
Basilia Ebora Blay
Where:
Y – dependent variable
X – independent variable
a- the Y intercept of the regression line since it is the
point on the Y-axis where the regression line
crosses
b- regression coefficient
- indicates the amount change in Y per unit change
in X.
KEIJO RUOHONEN
Basilia Ebora Blay Keijo Ruohonen
Y= a+ bX
a and b are the estimates of the parameters of regression
which are calculated from the available sample values as
follows:
𝑏 = 𝑁 ∑𝑋𝑌 − ∑𝑋 ∑𝑌 𝑎 = 𝑦 − 𝑏𝑥
N(∑X²) – (∑X)²
or
𝑎 = ∑𝑌 − 𝑏 ∑𝑋
N
Flordeliza C. Reyes Basilion Ebora Blay
𝑎 = 𝑦 − 𝑏𝑥 𝑎 = ∑𝑌 − 𝑏 ∑𝑋
N
Example 1:
X 2 4 6 8 10 12
Y 6 7 8 9 10 11
x=7 y= 8.5
𝑏 = 𝑁 ∑𝑋𝑌 − ∑𝑋 ∑𝑌 𝑎 = 𝑦 − 𝑏𝑥
N(∑X²) – (∑X)²
or
𝑎 = ∑𝑌 − 𝑏 ∑𝑋
N
𝑌 = 𝑎 + 𝑏𝑋 b= 0.5
a= 5
Y= 12.5
EXAMPLE 2
A study was made by a businessman to determine the relation
between advertising cost and sales. The following data on 12
commodities were recorded:
A.C 30 15 24 37 42 45 48 40 20 25 20 25
.
Sale 400 320 350 490 500 500 530 385 450 390 365 470
s
Find the estimated regression line and estimate the sales when
X= 43
Advertising Cost Sales (Y) X² Y² XY
(X)
b = 5.06
𝑌 = 𝑎 + 𝑏𝑋
𝑌 = 268.52 + 5.06 43
Y = 486.1
PROBLEM 1
Math 75 75 75 85 76 75 75 79 75 88
Grade
Avr. 82 65 75 65 76 76 65 65 65 75
Grade