Professional Documents
Culture Documents
Regression With Single Regressor: Simple Linear Regression Stock and Watson (Chapter 5)
Regression With Single Regressor: Simple Linear Regression Stock and Watson (Chapter 5)
HYPOTHESIS TESTING:STEP 1
Specify null hypothesis and alternative hypothesis
H0: the null hypothesis
H1: the alternative Hypothesis
HYPOTHESIS TESTING:STEP 2
HYPOTHESIS TESTING:STEP 3
t=
Where 1,0 is the value of 1 hypothesized under the
null. Since under null hypothesis 1 = 0, then 1,0 = 0
(like California Test Score example)
When
HYPOTHESIS TESTING
EXAMPLE (CALIFORNIA DATA)
R2 = 0.05
SER = 18.6
(9.46) (0.48)
Regression software reports the standard errors:
SE() = 0.48 and SE( ) = 9.46
BINARY/DUMMY
VARIABLES
Binary/dummy variables take only two
possible values (0 or 1)
Binary/dummy variables are used in simple
linear regression to test the difference
between two means
BINARY VARIABLE:
EXAMPLE
Suppose there are two groups (60 men and
40 women). Are their mean earnings
significantly different?
Solutions
Method 1: Test for the difference between
two means using the t test
Method 2: Specify a simple linear
regression with binary variable
SOLUTION:METHOD 1
Test for the differences between the two means using the t test
Men
Women
Number of observations
Sample Mean
Sample standard deviation
: =
: (assume a two-sided test)
t
Ys Yl
ss2
ns
sl2
nl
Ys Yl
SE(Ys Yl )
SOLUTION: METHOD 2