Method of modelingrelationships between a response variable Y and one or more predictorsX
2. Explain one variableY with one or more variablesX
3. A way of “fitting a line through the data”
Relationship Analysis
Regression helps in understanding the relationship between variables. It can show whether and how strongly one variable (dependent variable) is affected by changes in another variable or multiple variables (independent variables)
Predictive Modeling
One of the primary reasons is to make predictions or forecasts based on historical data. For example, predicting sales based on advertising spending or predicting housing prices based on features like location, size, and amenities.
Goal of Fitting a Line
The goal of regression analysis is to find the best-fitting line that summarizes the relationship between the independent variable(s) and the dependent variable. This line is called the regression line or the line of best fit.
Regression Modeling Steps:
Specify (hypothesize) the form of the model
Estimate unknown model parameters
Evaluate the model for: percentage of variation in Y explained (R^2) and statistical significance of the relationship between Y and X