Professional Documents
Culture Documents
Regression
Regression
Residual = Observed –
predicted value
e=y–ŷ
Example No:00
Example No:00 Using online Regression calulator : https://www.socscistatistics.com/tests/regression/default.aspx
EXAMPLE 2: https://www.socscistatistics.com/tests/regression/default.aspx)
https://home.ubalt.edu/ntsbarsh/business-stat/otherapplets/MultRgression.htm
Multiple Regression
• Multiple regression analysis is a powerful technique used for predicting
the unknown value of a variable(Response/Dependent ) from the
known value of two or more variables- also called the
predictors(Independent variables).
• More precisely, multiple regression analysis helps us to predict the
value of Y for given values of X1, X2, …, Xk.
For example the yield of rice per acre depends upon quality of seed,
fertility of soil, fertilizer used, temperature, rainfall. If one is
interested to study the joint affect of all these variables on rice yield,
one can use this technique.
• An additional advantage of this technique is it also enables us to study
the individual influence of these variables on yield.
EXAMPLE 2 :
•Consider the data set "mtcars"
available in the R environment.
It gives a comparison between
different car models in terms
of mileage per gallon (mpg),
cylinder displacement("disp"),
horse power("hp"), weight of
the car("wt") and some more
parameters
.The goal of the model is to
establish the relationship
between "mpg" as a response
variable with "disp","hp" and
"wt" as predictor variables. We
create a subset of these
variables from the mtcars data
set for this purpose.
Researcher : Dr. P.Kundu
[Ph.D,M.Phil,MBA,MCA,]
Logistic Regression
⮚ print(summary(am.data)
⮚ plot(am.data)
more example : https://stats.idre.ucla.edu/r/dae/logit-regression/
Description of
mtcars dataset