



Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!




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:
deviation of the sampling distribution of Y
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
0
E(Y ) = μ
Y 0
1
E(Y ) ± μ
Y 0
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 signi cance level. For eg.
with a 5% signi cance level would reject the null hp if
In this case, the population mean is said to be stastically signi cantly different
from the HP value at the 5% signi cance 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
β
1
β
1
0
β =
1
β vs. β =
1,0 1
β
1,
β
1
β
1
β
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
Con dence interval for has 2 equivalent de nition:
with a 5% signi cance level.
that is, in 95% of possible samples that might be drawn, the con dence 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 con dence level of 95%.
The 95% con dence interval can be used to construct a 95% con dence 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% con dence 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 coef cient multiplying in this regressor or, more complactly,
the coef cient 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
i
1 if str in
0 if str in
i < 20
ith
i ≥ 20
ith
i
i
β +
0
β D +
i i
u i =
i
1, .., n
i
β
1
i
β
1
β
1
i
i
i
β +
0
u
i
i
E(u ∣D ) =
i i
i
i
i i
0
β
0
y = i
β +
0
β +
1
u
i
i
i I
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.
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
i
i
i
0 β =
1
i
i
β
1
β
1
i
u
i
i
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 ef cient 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 ef cient) Linear conditionally Unbiased
Estimator.
linear condition: → ( is linear)
unbiased: → ( is conditionally unbiased)
homoskedasticity
Student t distribution with m degrees of freedom is de ned 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