Faculty of Pharmacy
What is Regression?
•Regressionisthemeasureoftheaverage
relationshipbetweentwoormorevariables.
•RegressionAnalysismeasuresthenatureand
extentoftherelationshipbetweentwoormore
variables,thusenablesustomakepredictions.
93
Faculty of Pharmacy
Application of Regression
•Degree&Natureofrelationship
•Estimationofrelationship
•Prediction
•UsefulinEconomic&BusinessResearch
94
Faculty of Pharmacy
Obtaining Regression Equations
10
3
Regression
Equation
Using Normal
Equation
Using Regression
Coefficient
Using Actual
values of X
and Y
Using
deviations from
actual means
Using r, σx,
σy
Using
deviations
from
Assumed
Means
Faculty of Pharmacy
Regression Equations in Individual Series Using Normal
Equations
10
4
•ThismethodisalsocalledasLeastSquareMethod.
•Inthismethod,regressionequationscanbecalculatedby
solvingtwonormalequations:
•ForregressionequationYonX:Y=a+bX
•Σ????????????=????????????????????????+????????????Σ????????????
•Σ????????????????????????=????????????Σ????????????+????????????Σ????????????
2
•AnotherMethod:
•????????????
????????????????????????=
????????????∑????????????????????????−∑????????????∑????????????
∑????????????
2
−
∑????????????
2
•HereaistheY–intercept,indicatestheminimumvalueof
YforX=0
•bistheslopeoftheline,indicatestheabsoluteincreasein
YforaunitincreaseinX.
Faculty of Pharmacy
Regression Equations in Individual Series Using Normal
Equations
10
5
•ForregressionequationXonY:X=a+bY
•ΣX=????????????????????????+????????????ΣY
•Σ????????????????????????=????????????ΣY+????????????ΣY
2
•AnotherMethod:
•????????????
????????????????????????=
????????????∑????????????????????????−∑????????????∑????????????
∑????????????
2
−
∑????????????
2
•HereaistheX–intercept,indicatesthe
minimumvalueofXforY=0
•bistheslopeoftheline,indicatestheabsolute
increaseinXforaunitincreaseinY.
Faculty of Pharmacy
Regression Equations Using Regression Coefficients
(Using Actual Values)
10
6
•RegressionEquationofYonX
????????????−�????????????=????????????????????????????????????(????????????−�????????????)
•RegressionEquationofXonY
????????????−�????????????=????????????????????????????????????(????????????−�????????????)
Faculty of Pharmacy
Regression Equations Using Regression Coefficients
(Using Deviations Actual Values)
10
7
•RegressionEquationofYonX
????????????−�????????????=????????????????????????????????????(????????????−�????????????)
????????????
????????????????????????=
∑????????????????????????
∑????????????
2•RegressionEquationofXonY
????????????−�????????????=????????????????????????????????????????????????−�????????????
????????????
????????????????????????=
∑????????????????????????
∑????????????
2