Hypothesis Testing & t-Tests Flashcards

1
Q

What is hypothesis testing?

A

It is used to determine whether a regression coefficient (𝛽𝑗) is statistically significant

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 2 types of hypothesis?

A

H0 (null hypothesis): the coefficient is not significant (e.g 𝛽1
= 0)

H1 (alternative hypothesis): the coefficient is significant (e.g 𝛽1 doesn’t = 0)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the general structure of hypothesis testing?

A

1) state the null and alternative hypothesis

2) compute the Test Statistic (e.g t-statistic)

3) compare to a critical value (from the statistical table)

4) make a decision:

  • if t is greater than the critical value = reject H0

if t is smaller = fail to reject H0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the T test?

A

Most commonly used test

used to check if an estimated coefficient (𝛽^𝑗) is significantly different from 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

T test formula

A

t= Ξ²^jβˆ’Ξ²0 / SE(Ξ²^j)

​β^j = estimated coefficient

Ξ²0 = hypothesised value (usually 0)
​
SE(Ξ²^j) = standard error of Ξ²^j

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Give an example of a T-test

A

lets use the the following wage regression:

wage =Ξ²0 + Ξ²1 (education) + u

from the OLS we get:

Ξ²1 = 2.5, SE(Ξ²^1) = 0.8

We test:

H0 : Ξ²1 = 0 (education has no effect on wages)

H1 : Ξ²1 =/ 1 (does affect wages)

Now work out the T statstic:

t = (2.5-0)/ 0.8 = 3.125

Compare to the critical value

at the 5% significance level (2 tailed) it is roughly 2

as 3.123<2 we reject H0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is a two tailed t test used for?

A

Used when testing whether a coefficient is significantly different from 0, without specifying direction (increase or decrease). The significance level is split across both tails of the t-distribution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

when is a one tailed test used?

A

Used when you are testing for a specific direction (increase or decrease but not both)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a confidence interval?

A

it is a range of values that we expect the true coefficient (Ξ²j) to be with a certain level of confidence
​

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the formula for a confidence interval?

A

Ξ²^j​ +or - (t a/2 x SE(Ξ²^j​))

Ξ²^j​ = estimated confidence interval

SE(Ξ²^j​) = standard error of Ξ²^j​

ta/2 = critical value from the t-table (depends on confidence level)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

give an example of using confidence intervals

A

Let’s say we estimate the following regression model:

wage =𝛽0+𝛽1(education)+u

We get the estimated coefficient and standard error:

𝛽^1=2.5

𝑆𝐸(𝛽^1)=0.8

Using a 95% confidence interval (𝑑𝛼/2=2) we calculate:

2.5Β±(2Γ—0.8)

2.5Β±1.6

[0.9,4.1]

This means that we are 95% confident that the true effect of education on wages is between 0.9 and 4.1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

how can we use confidence intervals to test the hypothesis?

A

We check if zero is inside the confidence interval:

βœ… If 0 is NOT in the CI (e.g., [0.9, 4.1]) β†’ We reject
𝐻0, meaning 𝛽1 is statistically significant.

🚫 If 0 IS inside the CI (e.g., [-1.2, 3.8]) β†’ We fail to reject
𝐻0, meaning there is not enough evidence that 𝛽1
is different from zero.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly