Week1 - A - Steps in Regression Analysis Flashcards
Statement of the Problem -1
Linear regression attempts to model the _______ between two variables by fitting a ______ _______ to observed data.
Statement of the Problem -1
Linear regression attempts to model the relationship between two variables by fitting a linear equation to observed data.
Statement of the Problem/General -2
True-False: Linear Regression is a supervised machine learning algorithm.
A) TRUE
B) FALSE
Statement of the Problem/General - 2
Solution: (A)
Yes, Linear regression is a supervised learning algorithm because it uses true labels for training. Supervised learning algorithm should have input variable(s) (x) and an output variable (Y) for each example.
Statement of the Problem/General -3
Which of the following methods do we use to find the best fit line for data in Linear Regression?
A) Least Square Error
B) Maximum Likelihood
C) Logarithmic Loss
D) Both A and B
Statement of the Problem/General -3
Solution: (A)
In linear regression, we try to minimize the least square errors of the model to identify the line of best fit.
Statement of the Problem/General - 4
Which of the following is true about Residuals ?
A) Lower is better
B) Higher is better
C) A or B depend on the situation
D) None of these
Statement of the Problem/General - 4
Solution: (A)
Residuals refer to the error values of the model. Therefore lower residuals are desired.
Statement of the Problem/General - 5
Name 2 goals of creating a problem statement in a Regression Analysis excercise.
Statement of the Problem/General - 5
- Outline the problem , variables and potential responses
- If regression is the appropriate method for analysis
Statement of the Problem/General - 6
There are 9 steps outlined to conduct a regression Analysis excercise. Define Step 1:
Statement of the Problem/General - 6
- Statement of the problem
Statement of the Problem/General - 7
Define the next step in regression analysis exercise
- Statement of the problem
Statement of the Problem/General - 7
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
Steps in Regression Analysis
Define the next step in a regression analysis exercise.
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
Steps in Regression Analysis
- Define the next step in regression analysis exercise
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
Steps in Regression Analysis
Define the next step in a regression analysis exercise.
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
Steps in Regression Analysis
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
Steps in Regression Analysis
Define the next step in a regression analysis exercise.
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
Steps in Regression Analysis
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
Steps in Regression Analysis
Define the next step in a regression analysis exercise.
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
Steps in Regression Analysis
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
- Model fitting
Steps in Regression Analysis
Define the next step in a regression analysis exercise.
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
- Model fitting
Steps in Regression Analysis
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
- Model fitting
- Model validation (diagnostics)
Steps in Regression Analysis
Define the next step in a regression analysis exercise.
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
- Model fitting
- Model Validation (diagnostics)
Steps in Regression Analysis
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
- Model fitting
- Model Validation (diagnostics)
- Refine the model and iterate from step 3
Steps in Regression Analysis
Define the next step in a regression analysis exercise.
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
- Model fitting
- Model Validation (diagnostics)
- Refine the model and iterate from step 3
Steps in Regression Analysis
- Statement of the problem
- Using regression for: Diagnostic, Predictive, or Prescriptive analytics?
- Selection of potentially relevant response and explanatory variables
- Data collection (Internal data external data, purchased data, experiments, etc)
- Choice of fitting method: Ordinary least squares(OLS), Generalized least squares, MLE, etc)
- Model fitting
- Model Validation (diagnostics)
- Refine the model and iterate from step 3
- Use of the model
Business Examples:
Name X-independent Variable(s) and possible Dependent Variable
- odometer reading
- age of car
- Used car price
- condition
- odometer reading - X-independent Variable
- age of car - X-independent Variable
- Used car price - Y - Dependent Variable
- condition - X-independent Variable