unit 3 - ch 13 - simple linear regression (slr) Flashcards
Underlying all is for slr is
chance
Chance
Correlation is passive (is)
Chance is application (of)
Are they moving in tandem (x and y)
Data always varies during to reason or chance
Chance is foundation in which regression is built
number of sales for six salesperson (SP)
We don’t know how much each salesperson sold
Number of sales → Y variable
Guess each salesperson’s sales?
Rule: You must guess the same number for each person
Your guess?
The mode → 10 (guess 6 times)
Right 2/6 times
How much error with each guess?
E = Y-10 (guess)
total error –> ess –> error sum of the square
Ess mode = sigma (Y-10)^2
comparison of guesses
We want to limit our losses but it’s like golf.. It’s not that we’re gonna hit a hole in one but what we want is to make multiple good shots to eventually get to the whole
Limit your losses not just a whole in one
Not really really wrong
Guessing the mean is this.. Limiting our losses
Substitute the word usually for average
How much better can we do than guessing we build off of this
predictions
Guessing to predictions
X is new here
Is the x variable and y variable correlated?
Use fx function to get r value
r = 0.92.18
Use fx function for intercept
b = 2.0909
Use fx function for the slope
m = 0.8182
Line of best fit
line
y = mx + b
regression equation (line of best fit)
y hat = b + mx
y hat = predicted value
b = y-intercept
m = slope
example
y hat = 2.0909 + 0.8182(x)
FM = full model
Using all predictive variables (x variables)
In SLR = 1 predictive variable (FM)
Chance model had no predictive variable
Full model all predictive variables
Line of best fit
SLR: common business practices
Predicting and/or forecasting
>Hiring decisions
>Inventory cycles
>Future sales
Understanding underlying elements
>Marketing strategy
> Operation efficiency
Supplement executive creativity
> Reveal new insights
SLR: Looking for relationships, making associations, drawing conclusions
Example of assumptions:
Outfit → Purchasing Power
Job → Disposition
Car → Personality
residuals (there is no perfect model)
Residuals woo!!!
Residual is another name for error
line of best fit - on exam (multiple questions)
memorize the picture in notes!!!!!!!!!
Line of best fit not perfect fit
Only would happen if there would be a perfect correlation
If r = +/- 1 or e = 0 there would be a perfect fit