WK3 Lecture 1 - Introduction to Regression

Regression Models

Simple liner regression is a sloped line fitted to the values with two parameters.
On the other hand an intercept only model shows a fitted value, the mean of y. It's a straight line only measuring one parameter.

General Equation of a Straight Line

Generally the equation of slope is

y=b_0-b_1x$$$b_0= y\ intercept = value\ of\ y\ when\ x\ is\ 0$ $b_1= slope = change\ in\ y\ when\ x\ increases\ by\ 1 = \frac {\Delta y} {\Delta x}$ ![LINE_EQUATION.png\|center](/img/user/Statistical%20Data%20Analysis/Images/LINE_EQUATION.png) # Equation of a Regression Line The equation for simple linear regression of a population is: $$Y=\beta_0+\beta_1 X+\epsilon

where:
Y=Response variable
X=Explanatory variable
β0=Intercept (y when x=0)
β1=Slope (Increase in y when x increases by 1)
ϵ=error which is assumed in a normal distribution (ϵi N(O,σ2))

If β0=0 then...

The problem is that we don't observe β1 (population parameter), we only observe β1 (estimate of the slope based on sample). Sometimes β1 is small so the question becomes how far from 0 does the slope have to be before we accept x and y aren't related?

Null and Alternative Hypotheses

Null Hypothesis (H0) is what we believe unless we find evidence, (H0) is presumed true until evidence is found that it is false.
H0=(β1=0) or in other words, there is no association between x and y

Alternative Hypothesis(H1) is what is believed if evidence is found to reject the null hypothesis.
H1=(β10), there's an association between x and y

P-Values

Slope


back to contents | previous lecture | next lecture

Powered by Forestry.md