Docsity

Hypothesis test linear model one regressor, Schemi e mappe concettuali di Econometria

Toggle sidebar
bg1
Hypothesis Tests and
Confidence Intervals -One
regressor cp 5
Organization
In general t-Statistic has the form:
Testing HP population mean
The null hypothesis that the mean of Y is a specic value can be written as:
and the 2-sided alternative is
We compute the hp test in 3 steps:
1. Compute standard error ehich is an estimator of the standard
deviation of the sampling distribution of Y
2. Compute a t-statistic
3. compute the p-value which is the smallest signicance level at which the null
hyphotesis could be rejected. The p-value is te probability of obtaining a
statistic, by random sampling variation, at least ad different from the null
hypothesis value ad is the statistic actually observed, assuming that the null
hypothesis is correct.
t-statistic has a normal distribution in large sample under the null HP, the p-
value 2sided is , where
is the value of the t-statistic actually computed
t= =
standarderrorof theestimator
estimator−hypothesizedvalue
se( )Y
ˉ
( −µ )Y
ˉY0
µ
Y0
H :
0E(Y) = µ
Y0
H :
1E(Y) ± µ
Y0
,SE( )Y
ˉY
ˉ
t=
SE( )Y
ˉ
−µ Y
ˉY0
2Φ(−∣t∣)
act
tact
Hypothesis Tests and Confidence Intervals -One regressor cp 5
1
pf3
pf4
pf5

Anteprima parziale del testo

Scarica Hypothesis test linear model one regressor e più Schemi e mappe concettuali in PDF di Econometria solo su Docsity!

Hypothesis Tests and

Confidence Intervals -One

regressor cp 5

Organization

In general t-Statistic has the form:

Testing HP population mean

The null hypothesis that the mean of Y is a specic value can be written as:

and the 2-sided alternative is

We compute the hp test in 3 steps:

  1. Compute standard error ehich is an estimator of the standard

deviation of the sampling distribution of Y

  1. Compute a t-statistic
  2. compute the p-value which is the smallest signicance level at which the null

hyphotesis could be rejected. The p-value is te probability of obtaining a

statistic, by random sampling variation, at least ad different from the null

hypothesis value ad is the statistic actually observed, assuming that the null

hypothesis is correct.

t-statistic has a normal distribution in large sample under the null HP, the p-

value 2sided is , where

is the value of the t-statistic actually computed

t = =

standard error of the estimator

estimator−hypothesized value

se( Y)

ˉ

( Y−μ )

ˉ

Y 0

μ

Y 0

H :

0

E(Y ) = μ

Y 0

H :

1

E(Y ) ± μ

Y 0

Y , SE( )

Y

t =

SE( Y)

ˉ

Y−μ

ˉ

Y 0

2Φ(−∣t ∣)

act

t

act

is the cumulative standard normal distribution (table)

Alternatively the third step can be test with the desired signicance level. For eg.

with a 5% signicance level would reject the null hp if

In this case, the population mean is said to be stastically signicantly different

from the HP value at the 5% signicance level.

HP about the Slope

At a theorical level, the critical feature justifying the foregoing procedure testing

procedure for the population mean is that, in large samples, the sampling

distribution of is approximately normal.

also has a normal samplig distribution in large samples, hp about the true value

of the slope can be testing in the same approach:

Compute the standard error of

where

compute the t-statistics

Compute the p value, the probability of observing a value of at least as

different from as the estimate actually computed , assuming that the

null hp is correct:

denotes the probability computed under the null HP

In the second equality follows by dividing by and is the value of the t-

statistic actually computes

∣t ∣ >

act

1

Y

β

^

1

β

1

H :

0

β =

1

β vs. β =

1,0 1 

β

1,

SE

β

^

1

β

^

1

SE

β

^

1

σ^

β

^

1

2

σ^ =

β

^

1

2

n

1

[ (X − ) ]

n

1

∑

i=

n

i

X

ˉ

2 2

(X − )

n−

1

∑

i=

n

i

X

ˉ

2

uˉ

i

2

t =

SE( β)

^

1

β −β

^

1 1,

β

^

1

β

1,

( β )

^

i

act

p − value = P r

[∣ −

H

0

β

^

1

β ∣ > 1

β

^

1

act

β ∣] = 1,

= P r [∣ ∣ >

H 0

SE(β

^

1

β −β

^

1 1,

∣ ∣] =

SE( β)

^

1

β −β

^

1

act

1,

= P r (∣t∣ >

H 0

∣t ∣),

act

P r H

0

SE( β )

^

1

t

act

^

Condence interval for has 2 equivalent denition:

  1. It is the set of values that cannot be rejected using a two-sided hypothesis test

with a 5% signicance level.

  1. It is an interval that has a 95% probability of containing the true value of ,

that is, in 95% of possible samples that might be drawn, the condence interval

will contain the true value of. Because this interval contains the true value in

95% of all samples, it is said to have a condence level of 95%.

The 95% condence interval can be used to construct a 95% condence interval

for the predicted effect of a general change in X

Consider changing X by a given amount. The expected change in Y associated

with this change in is

95% condence interval for :

Regression When X is binary variable

The population regression model with as the regressor is:

Because is not continuous, it is not useful to think og as a slope; indeed,

because can take on only two values, there is “no line”, so it makes no sense to

talk about slope. Thus we will not refer o as the slope, instead, we will simply

refer to as the coefcient multiplying in this regressor or, more complactly,

the coefcient on.

→

Because the conditional expectation of when is

that is is the population mean value of test score when str

is high

→

when that is is the populationn mean value of

test scres when the srt is low.

β

1

β

1

β

1

β

1

Δx

X β Δx.

1

β Δx

1

[( β −

^

1

1.96SE( β ))Δx, ( +

^

1

β

^

1

1.96SE( β ))Δx]

^

1

D =

i

1 if str in

0 if str in

i < 20

ith

i ≥ 20

ith

D

i

Y =

i

β +

0

β D +

i i

u i =

i

1, .., n

D

i

β

1

D

i

β

1

β

1

D

i

D

i

Y =

i

β +

0

u

i

(D =

i

E(u ∣D ) =

i i

0 Y

i

D =

i

E(Y ∣D =

i i

  1. = β

0

β

0

y = i

β +

0

β +

1

u

i

(D =

i

E(Y ∣D =

i I

  1. = β +

0

β

1

β +

0

β

1

The difference between 2 mean is

In other words is the difference between the conditional expectation of when

and when →

Because is the difference in the population means, it makes sense that the OLS

estimator is the difference between the sample averages of in the two groups.

Heteroskedasticity and Homoskedasticity

In the distribution of conditional we know have mean zero. The variance of

this conditional distribution does not depend on then the errors are said to be

homoskedastic.

The error term is homoskedastic if the variance of the conditional distribution

constant for in particular does not depend on.

Otherwise the error term is heteroskedastic

(β +

0

β ) −

1

β =

0

β

1

β

1

Y

i

D =

i

1 D =

i

0 β =

1

E(Y ∣D =

i

1) − E(Y ∣D =

i

β

1

β

1

Y

i

u

i

X

i

X

i

u

i

u ∣X i i

i = 1, .., n X i

OLS estimator is unbiased, is consistent has a variance that is inversely proportional

to n, and has a normal sampling distribution when the sample size is large.

There are some estimator more efcient than other.

Gauss-Markov theorem for

If the three last squares assumption hold and if the error is homoskedastic then the

OLS estimator is the Best (more efcient) Linear conditionally Unbiased

Estimator.

linear condition: → ( is linear)

unbiased: → ( is conditionally unbiased)

homoskedasticity

t-Statistic and Student t-distribution

Student t distribution with m degrees of freedom is dened to be the distribution of

where

Z is a random variable with a standard normal distribution

W is a random variable with a chi-squared distribution with m degree of freedom

Z and W are indipendent

β

^

1

β

^

1

β =

1

∑ a Y

i=

n

i i

β

1

E( β ∣X , ..., X ) =

1 1 n

β

1

β

1

E(u u ∣X X ) =

i j i n

0 i =

j

m

W

Z