Biostatistics
Instructor: H M Nawaz Mehar
Regression
Regression
Regression
Regression Equation
𝑌 = 𝑎 + 𝑏𝑋
𝑌 = 𝛽0 + 𝛽1𝑋 + 𝜀
Dependent Variable Independent Variable
Intercept Slope
Error
Order 1 equation
Dependent & Independent Variables
Linear Regression
Linear Model
Slope & Intercept
Error Term
Estimation
Estimation
𝑌 = 𝛽0 + 𝛽1𝑋 + 𝜀
𝛽0=
𝑌 𝑋2− 𝑋 𝑋𝑌
𝑛 𝑋2− 𝑋 2
𝛽1=
𝑛 𝑋𝑌− 𝑋 𝑌
𝑛 𝑋2− 𝑋 2
𝑆𝑆𝐸 =
𝑖=1
𝑛
𝑌𝑖 − 𝑌𝑖
2
Interpretation
Interpretation
Interpretation
• SST = SSR + SSE
• SST = Total sum of square
• SSR = Regression sum of squares
• SSE = Error sum of squares
• The fit of the estimated regression line would be best if every value of the
dependent variable y falls on the regression line.
• If SSE = 0 i.e. e = (y – ŷ) = 0 then SST = SSR.
• For the perfect fit of the regression model, the ratio of SSR to SST must be equal
to unity.
• If SSE = 0 then the model would be perfect.
• If SSE would be larger, the fit of the regression line would be poor.
Interpretation

Biostatistics - Linear Regression .pptx