Professional Documents
Culture Documents
xi x1 x2 xn
covX; Y EXEXYEY
i1
n
x EX y EY f x; y
a na
x y
i1
n
covX;Y
r p
varXvarY
axi a xi
i1
n
i1
i1
i1
xi yi xi yi
i1
n
i1
i1
axi byi a xi b yi
i1
n
a bxi na b xi
i1
i1
xi
x1 x2 xn
x i1n
n
varaX bY cZ a2 varX
xi x 0
b2 varY c2 varZ
i1
2
f xi ; yj f xi ; y1 f xi ; y2 f xi ; y3
i1 j1
i1
f x1 ; y1 f x1 ; y2 f x1 ; y3
f x2 ; y1 f x2 ; y2 f x2 ; y3
xi f xi x f x
x
i1
EgX gx f x
x
Eg1 X g2 X g1x g2 x f x
x
g1x f x g2 x f x
x
Normal Probabilities
Xm
N0; 1
s
2
If X N(m, s ) and a is a constant, then
a m
PX a P Z
s
If X Nm; s2 and a and b are constants; then
am
bm
Z
Pa X b P
s
s
If X N(m, s2), then Z
Eg1 X Eg2 X
E(c) c
E(cX ) cE(X )
E(a cX ) a cE(X )
var(X ) s2 E[X E(X )]2 E(X2) [E(X )]2
var(a cX ) E[(a cX) E(a cX)]2 c2var(X )
Marginal and Conditional Distributions
f x f x; y
f y f x; y
SR2
SR3
SR4
SR5
SR6
y
x
f xjy PX xjY y
f x; y
f y
f x; y f x f y
f x
f y
f y
Sxi xyi y
S xi x2
b1 y b2 x
Elasticity
percentage change in y Dy=y Dy x
h
percentage change in x Dx=x Dx y
h
DEy=Ey DEy x
x
b2
Dx=x
Dx Ey
Ey
Sxi x2
Swi xi 1;
Sw2i 1=Sxi x2
xi x
Swi 0;
S^e2i
N 2
Prediction
y0 b1 b2 x0 e0 ; ^y0 b1 b2 x0 ; f ^y0 y0
"
#
q
1
x0 x2
2
b
bf
var f s
^ 1
var
;
se
f
N Sxi x2
A (1 a) 100% confidence interval, or prediction
interval, for y0
^y0 tc se f
Goodness of Fit
Syi y2 S^yi y2 S^e2i
SST SSR SSE
SSR
SSE
1
corry; ^y2
R2
SST
SST
Log-Linear Model
lny b1 b2 x e; b
ln y b1 b2 x
100 b2
% change in y given a one-unit change in x:
^yn expb1 b2 x
^yc expb1 b2 xexp^
s2 =2
Prediction interval:
h
i
h
i
b tc se f ; exp ln
by tc se f
exp lny
t-distribution
bk bk
tN2 ; k 1; 2
sebk
Interval Estimates
P[b2 tcse(b2) b2 b2 tcse(b2)] 1 a
Hypothesis Testing
Components of Hypothesis Tests
1. A null hypothesis, H0
2. An alternative hypothesis, H1
3. A test statistic
4. A rejection region
5. A conclusion
If the null hypothesis H0 : b2 c is true, then
t
b2 c
tN2
seb2
^e2i
NK
sebk
q
b
varb
k
When H0 is true
Joint F-tests
SSER SSEU =J
SSEU =N K
To test the overall significance of the model the null and alternative
hypotheses and F statistic are
F
H0 : b2 0; b3 0; : : : ; bK 0
H1 : at least one of the bk is nonzero
F
SST SSE=K 1
SSE=N K
H0 : g1 0
H0 : g1 g2 0
Model Selection
AIC ln(SSE=N) 2K=N
SC ln(SSE=N) K ln(N)=N
Collinearity and Omitted Variables
yi b1 b2 xi2 b3 xi3 ei
s2
varb2
2
1 r23 xi2 x2 2
When x3 is omitted;
biasb2
Eb2
b
covx2 ; x3
b2 b3
b
varx2
Heteroskedasticity
var(yi) var(ei) si2
General variance function
s2i expa1 a2 zi2 aS ziS
Breusch-Pagan and White Tests for H0: a2 a3 aS 0
When H0 is true x2 N R2 x2S1
Goldfeld-Quandt test for H0 : s2M s2R versus H1 : s2M 6 s2R
When H0 is true F s
^ 2M =^
s2R FNM KM ;NR KR
Transformed model for varei s2i s2 xi
p
p
p
p
yi = xi b1 1= xi b2 xi = xi ei = xi
Estimating the variance function
Test using LM T R2
yt b1 b2 xt et
AR(1) error
ln^e2i
lns2i
Grouped data
varei s2i
vi a1 a2 zi2 aS ziS vi
(
s2M i 1; 2; . . . ; NM
s2R i 1; 2; . . . ; NR
et ret1 vt
bit b1 ui random
h
i1=2
b
b
t bFE;k bRE;k varb
FE;k varbRE;k