Professional Documents
Culture Documents
Simple Linear Regression: MMA1402 - Regression and Time Series Modeling
Simple Linear Regression: MMA1402 - Regression and Time Series Modeling
Simple Linear Regression: MMA1402 - Regression and Time Series Modeling
Nanang Susyanto
Department of Mathematics, UGM
! = #! + #" % + &
Fitted line "!= −27877.06 + 126.33x “Is there a (linear) relationship between overhead and
office size in the population?”
(fitted) residual
What is the distribution of the parameter estimates?
Degrees of freedom: à Needs distributional assumption
Normal Model
!/ = #0 + #1 %/ + &/ with &/ ∼ , 0, / 2 , 0. 0. 2.
• Distribution of !/ is…
• variance / 2 : r.v. of errors about the line 4 = #0 + #1 %
• Least squares estimation of / 2 : dividing the sum of squares of the
residuals by the degrees of freedom
“Is there a (linear) relationship between overhead and office size in the
population?”
Assessing whether #1 = 0:
1. Confidence intervals
2. Hypothesis tests
Distribution of least squares estimator
• Estimator vs estimate
• Recall:
734
#61 = =⋯
733
• Recall
• 95% CI:
• margin of error:
• Interpretation:
• Conclusion:
Hypothesis tests
• p-value:
• If p-value < 0.05
• If p-value ≥ 0.05
Example from audit SLR model