Assignment 12'
Assignment 12'
UNIVERSITY OF MALAKAND
Name: Aizaz khan
Roll No: 33
Department
Tourism & Hotel management
Semester: 3rd
Assignment
Subject: Statistics
Topic: Correlation & regression
Submitted to
Sir Habib Ullah
2
Correlation and regression are used to define some form of association between
quantitative variables that are assumed to have a linear relationship. In this article, we
will learn more about these topics, the difference between correlation and regression as
well as see some associated examples.
Correlation
Definition: Correlation can be defined as a measurement that is used to quantify the
relationship between variables. If an increase (or decrease) in one variable causes a
corresponding increase (or decrease) in another then the two variables are said to be
directly correlated. Similarly, if an increase in one causes a decrease in another or vice
versa, then the variables are said to be indirectly correlated. If a change in an
independent variable does not cause a change in the dependent variable then they are
uncorrelated. Thus, correlation can be positive (direct correlation), negative (indirect
correlation), or zero. This relationship is given by the correlation coefficient.
Regression
Definition: Regression can be defined as a measurement that is used to quantify
how the change in one variable will affect another variable. Regression is used to find
the cause and effect between two variables. Linear regression is the most commonly
used type of regression because it is easier to analyze as compared to the rest. Linear
regression is used to find the line that is the best fit to establish a relationship between
variables.
Both correlation and regression analysis are done to quantify the strength of
the relationship between two variables by using numbers. Graphically,
correlation and regression analysis can be visualized using scatter plots.
∑𝑛1(𝑥𝑖 − 𝑥 ) (𝑦𝑖 − 𝑦)
𝑟𝑥𝑦 =
√∑𝑛1 (𝑥𝑖 − 𝑥 )2 ∑𝑛1 (𝑦𝑖 − 𝑦)2
Correlation Regression
Regression is used to
Correlation is used to numerically describe
determine whether how a dependent
variables are related or variable changes with
not. a change in an
independent variable
Correlation Regression
Regression is used to
Correlation uses a
show the impact of a
signed numerical value
unit change in the
to estimate the strength
independent variable
of the relationship
on the dependent
between the variables.
variable.
The least-squares
The Pearson's
method is the best
coefficient is the best
technique to determine
measure of correlation.
the regression line.