Anda di halaman 1dari 17

Outline:MRA:Inference

I.SamplingDistributionoftheOLS Estimation
II.TestingHypothesisaboutaSinglePopulationParameter
tTest
III.ConfidenceInterval
IV.TestingHypothesisAboutaSingleLinear Combinationof
theParameters
V.TestingMultipleLinearRestrictions:FTest
VI.MLEstimationandLRStatistic

4.MultipleRegressionAnalysis:
Inference
Read Wooldrige (2013), Chapter 4

I. Distribution II. T-test


4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

I.SamplingDistributionsofthe
OLSEstimations

CLMAssumptions
Dependontheunderlyingdistributionoftheerrors.

Sofar,weknowthatgiventheGaussMarkov
assumptions,OLSisBLUE.

theu thing!

MLR.6NormalityAssumption

Inordertodoclassicalhypothesistesting,we
needtoaddanotherassumption normality.

u Normal(0,2)
Theerroru isindependentofexplanatoryvariablesx1,,xk andisnormally
distributed withmeanzeroandvariance2

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

TheNormalityofy

MLR.6incorporates twoassumptions
1. MLR.4 Zero Conditional Mean
E(u|x1,,xk) = E(u) = 0
2. MLR.5 Homoskedasticity
Var(u|x1,,xk) = Var(u) = 2

Withtheassumptiononnormality
u Normal(0,2),
y|x N(0 +1x1 +2x2++kxk,2)
E(y|x)
=0 +1x1 +2x2++kxk
VAR(y|x) =2

Assumptions MLR.1 MLR.6 are called the


classical linear model assumptions. (CLM
assumptions)

Largesampleswillletusdropnormalityassumption.

MinimumVarianceUnbiasedEstimators

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

The homoskedastic normal distribution with a single


explanatory variable

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

Theorem4.1(NormalSamplingDistributions) UndertheCLM
assumptions,conditionalonx1,x2,,xk,

~ Normal[j,Var( )]

f(y|x)

.
.

E(y|x) = 0 + 1x

Normal
distributions

x1
I. Distribution II. T-test

x2
III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

II.TestingHypothesisabout
asinglej

Theorem4.2:tDistribution
UndertheCLMassumptionsMLR.1 MLR.6

Giventhepopulationmodel

y=0 +1x1 +2x2++kxk +u

Wewanttotesthypothesisaboutaparticularj

Example:
log(wage) = 0 + 1educ + 2exper + 3tenure + u

Show:tDistributionforthestandardizedestimators
Hint:

Note that j are unknown features of the population.

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

tdf

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

10

tstatisticor tratio

NullHypothesis:H0 :j =0
*Wehypothesizethatthetrueparametervalueiszero.

Itisthetratioundertheassumptionofthenullhypothesis.

Example
log(wage) = 0 + 1educ + 2exper + 3tenure + u

featuresoftratio
(1) hasthesamesignas .

H0: 1=0

(2) large large .

This is an economically interesting hypothesis.


Question: Interpret H0 intuitively.

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

(3) largese( ) small .

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

11

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

12

OnesidedAlternatives

SignificanceLevel
If we want to have only a 5% probability of rejecting H0 if it is
really true, then we say our significance level is 5%
Generally, we choose = 5%

log(wage)=0 +1educ +2exper +3tenure+u


NullHypothesis:

H0:1=0
Drawagraphofthesamplingdistributionoftwithnk1
degreesoffreedom

Weneedtodecideonrelevantalternativehypothesiswhether
thepopulationvalueispositiveornegative.
AlternativeHypothesis:

H1:1>0

Wewantsufficientlylarge positivevalueof

Thisisanonesidedalternative.

I. Distribution II. T-test

III. CI

inorder

torejectH0 infavorofH1.

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

13

One-Sided Alternatives

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

14

Rejectionrule

yi = 0 + 1xi1 + + kxik + ui

H0 : j = 0
H1 : j > 0

Suppose =5%
H0: j = 0
H1: j > 0
Rejectionrule: >c

Fail to reject

reject

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

15

c:criticalvalue
cisthe95th percentileinthetdistributionwithnk1degreesof
freedom.

Question:Supposethereareeightobservationsandoneindependent
variable.Whatisthecriticalvalue?

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

16

Example Onetailedtest

AlternativeHypothesis H1:j <0

EffectofACTscoresonGPA
=0.5681+0.1021ACT
(s.e.)(0.92842)(0.03569)
{tstat}{0.611933}{2.863324}

Example: effect of smoking on infant birth weight.


bwght:
cigs:
faminc:

bwght = 0 + 1cigs + 2faminc + u


H1 : 1 < 0 (Why?)

Choose =5%;DF=6;c=1.943
Question:Whatcanyousayaboutthestatistical
significanceof and ?

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

Rejecting rule: < -c

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

17

Effectofcigs scoresonbwght
log()=4.769 0.00449cigs
(s.e.)(.0054)(.000849)
{tstat}{888.3}{5.2898}
n=1388;R2 =.02

Choose =5%;DF=1386

Question:Whatcanyousayaboutthestatisticalsignificanceof
and ?

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

18

Eviews:log(bwght)ccigs

Example Onetailedtest

infant birth weight in pound;


number of cigarettes smoked while pregnant
annual family income.

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

19

Dependent Variable: LOG(BWGHT)


Method: Least Squares
Sample: 1 1388
Included observations: 1388
Variable
Coefficient
C
4.769404
CIGS
-0.004491
R-squared
0.019789
Adjusted R-squared
0.019082
S.E. of regression
0.188834
Sum squared resid
49.42255
Log likelihood
345.1507
Durbin-Watson stat
1.93082

Std. Error
t-Statistic
0.005369
888.2632
0.000849
-5.289769
Mean dependent var
S.D. dependent var
Akaike info criterion
Schwarz criterion
F-statistic
Prob(F-statistic)

I. Distribution II. T-test

IV. Linear Combination V. F-Test

III. CI

Prob.
0
0
4.760031
0.190662
-0.494453
-0.486909
27.98166
0
VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

20

Two-Sided Alternatives

TwoSidedAlternatives

yi = 0 + 1Xi1 + + kXik + ui
Goal:totestthenullhypothesis
H0 :j =0
againstatwosidedalternative:
H1 :j 0

H0 : j = 0
H1 : j 0

fail to reject

Rejectionrule: | |>c

reject

Choosing =5%
Notethatforatwotailedtest,cischosentomakethe
areaineachtailequal2.5%

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

-c
21

I. Distribution II. T-test

H0:j =0
H1:j 0

xj isstatisticallysignificantatthe5%level.
xj isstatisticallydifferentfromzeroatthe5%level.

IfH0 isnotrejected,wesaythat
xj isstatisticallyinsignificantatthe5%level
Technically,dontsay thatH0isacceptedatthe5%level.

III. CI

IV. Linear Combination V. F-Test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

EffectofACTscoresonGPA
=0.5681+0.1021ACT
(s.e.)(0.92842)(0.03569)
{tstat}{0.611933}{2.863324}
n=8;R2=.577424

H0:0 =0;H1:0 0
=.61193
Choose =5%;nk1=6;c=2.447
Question:DowerejectH0?

H0:1 =0;H1:1 0
t1^ =2.863
Question:DowerejectH0?

IfH0 isrejectedinfavorH1,wesaythat

I. Distribution II. T-test

reject

22

Example:GPA ACT

Howtosayit?
Given

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

23

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

24

Testingotherhypothesisaboutj
Example:Effectofeduc onlog(wage)
log()=0.284+0.092educ +.0041exper +0.022tenure
(s.e.)
(.10419)(.00733)(.001723)(.003094)
{tstat}{2.73}{12.56}{2.39}{7.13}
n=526; R2=0.316013

H0 : j = 0.1
H1 : j aj
where aj is the hypothesized value

Theappropriatetstatisticis

H0:1 =0.1and H1:1 0.1


t=(0.092 0.1)/0.00733= 1.079127
=5%df =522c=1.960

Letaj=1.If|t| >c,werejectH0 infavorofH1.


Howdowesaythis?

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

25

Rules ofThumb:
=1%forafewthousand
=5%forafewhundred
=10%forasmallsample sayn=30

IV. Linear Combination V. F-Test

IV. Linear Combination V. F-Test

VI. ML&LR

26

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

RejectionRule: pvalue<
Thisimpliesthatsmallpvaluesareevidenceagainstthe
null.

TwoNotes
1.Reportedpvalue fortestingthenullhypothesisH0 isusually
againsttwosidedalternatives.
2.Foronesidedalternative,thepvalueisequaltotwosidedpvalue
divided by2.

Mathematically,
Lett:valueoftheteststatistic
Tbeatdistributedrandomvariable
pvalue=P(|T|>|t|)

III. CI

III. CI

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

pvalue forthettest:
Itisthesmallestsignificancelevel atwhichwereject the
nullhypothesis,H0,giventheobservedvalueoftstatistic.

I. Distribution II. T-test

I. Distribution II. T-test

ARejectionRule

Whatisthecorrect significancelevel?

Since|t|<c,dowerejectH0?

27

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

28

Eviews:RegressGPAonACT

Example:TheeffectofACTonGPA
Dependent Variable: GPA
Method: Least Squares

=0.5681+0.1021ACT
(s.e.)(0.92842)(0.03569)
{tstat}{0.611933}{2.863324}
pvalue[0.563][0.0287]
n=8;R2=.577424

Sample: 1 8
Included observations: 8

At=2% ; use p-value concept.


DowerejectH0: 1 =0?
Howaboutforonesidedalternative?
DowerejectH0: 1 =0?

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

29

EconomicSignificanceversusStatisticalSignificance
Statisticalsignificancereferstothesizeof
Economicsignificancereferstothesizeof .

Notes
(1)Smallsamplewithaslargepvalueas0.20couldbesatisfactory.
(2)Largesamplewithlargepvaluemaysuggestreinvestigation.
(3)Alargecoefficientwithsmallpvaluebutwrongsignisaproblem.

III. CI

IV. Linear Combination V. F-Test

0.568132

Std. Error
0.928421

t-Statistic
0.611933

Prob.
0.563

ACT

0.102198

0.035692

2.863324

0.0287

R-squared

0.577424

Mean dependent var

3.2125

Adjusted R-squared

0.506994

S.D. dependent var

S.E. of regression

0.269173

Akaike info criterion

0.425395

Sum squared resid

0.434725

Schwarz criterion

0.445255

0.383359

Log likelihood

0.298422

F-statistic

8.198622

Durbin-Watson stat

2.268603

Prob(F-statistic)

0.028677

I. Definition II. Derivation III. R-Squared

IV. EV&Var

1. The Simple Regression Model . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

30

log()=0.284+0.092educ +.0041exper +0.022tenure


(s.e.)
(.10419)(.00733)(.001723)(.003094)
{tstat}{2.73}{12.56}{2.39}{7.13}
pvalue
[0.0066][0][0.0171][0]
n=526; R2=0.316013

Sowhichsignificanceismoreimportant?

I. Distribution II. T-test

Coefficient

Example:Hourlywagemodel

Economicsignificance:alarge
Statisticalsignificance:a large

Variable

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

Iseachoftheexplanatoryvariablesstatisticallysignificantat
the5%significancelevel?
Howabouttheeconomicsignificance?

31

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

32

III.ConfidenceIntervals

Example:Find95%CIforthereturnoneducation:
=0.092;s.e( )=0.0073andc=1.960
The95%confidenceintervalis(7.8%,10.6%)

Confidenceintervalsarealsocalledintervalestimates.
Giventhreequantities, ,se( )andc,a 95%confidence
intervalisgivenby

Once a confidence interval is constructed, it is easy to carry out


a two tailed hypothesis testing.
H0: 1 = 0 and H1: 1 0
t-stat = 12.56 compared with c =1.96.
Note that aj=0 is not in the confidence interval.

c*s.e.( )
Pr(lowerbound j upperbound)=0.95

90%CI:
95%CI:
99%CI:

Derivation:

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

34

IV.TestingHypothesisaboutaSingle
LinearCombinationofj

Ifrandomsampleswereobtainedoverandoveragain,
withupperandlowerboundscomputedovertime,the
unknownjwouldliewithintheintervalfor95%ofthe
samples.

Forsmallsamples,theexactcriticalvalue(c)shouldbe
checked.
IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

Considerthemodel
log(wage)=0 +1jc +2univ +3exper +u
jc
univ

RuleofThumb: Forlargesamples,a95%CIwould
approximatelyequalto
2*s.e.( )

III. CI

0.0921.645(.0073)
0.0921.960(.0073)
0.092 2.576(.0073)

I. Distribution II. T-test

33

Interpretation

I. Distribution II. T-test

Forotherlevelsofconfidenceintervals,

35

:#ofyearsattendingatwoyearcollege.
:#ofyearsattendingafouryearcollege.

log()=1.472+0.0667jc +0.0769univ +0.0049exper


s.e.
(0.27)(0.31)(0.035)(0.008)
tstat[69.91] [9.77]
[33.30]
[31.39]
pvalue{0}{0}
{0}
{0}
n=6,763
R2 =0.222

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

36

Testwhetherayearatajuniorcollegewortha
yearatafouryearcollege
Hypothesis
Hypothesis
H0 :1 =2
H1 :1 <2

Twomethodsoffindingtstatistic:
1)findse( )directly.
2)tricktofindse( )fromEviews.

Similarly,
H0 :1 2=0
H1 :1 2<0]

Method(1)
Needtoknow , ,andse(

).

Findse( ) =[Var( )]1/2 directly

Acaseofttest:

In the estimation output, go to View/Covariance Matrix

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

37

Method(2)

Define:

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

38

Example:tricktotestH0:1=0

1 =1 2
1 =1 +2(*)

log(wage)=0 +1jc +2(univ +jc) +3exper +u


Regresslog(wage)onjc,totcoll andexper

log()=1.472 0.0102jc +0.0769totcoll +0.049exper


(s.e.)(0.021)(0.0068)(0.0023)(0.0002)
[tstat][69.91][1.47][33.30][31.40]
{pvalue}
{0}{0.1422}{0}{0}
n=6763 R2 =0.222

thenplug(*) into
log(wage)=0 +1jc +2univ +3exper +u
log(wage)=0 +1jc +2(univ+jc) +3exper +u
se( )

I. Distribution II. T-test

Findse( )whenestimatingtheaboveequation

Canwerejectthenullhypothesisatthe10%significancelevel?

Comparetotheoriginalequation

log()=1.472+0.0667jc +0.0769univ +0.0049exper

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

39

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

40

MultipleRestrictions

V.TestingMultipleLinearRestrictions

Considersalarymodelofbaseballplayers
salary
=1993totalsalary(dollars)
years
=yearsinleague(years)
gamesyr
=averagegamesplayedperyear(game)
bavg
=battingaverage(strikes)
hrunsyr
=homerunsperyear(runs)
rbisyr
=runsbattedperyear(runs)

log( )=11.10+.0689years +.0126gamesyr+.00098bavg +.0144hrunsyr +.0108rbisyr


(s.e.)(0.29)*(0.0121)*(0.0026)*(0.00110)(0.0161)(0.0072)
{pvalue}{0}{0}{0}{.3758}{.3695}{.1344}
n=353; SSR=183.2;R2=.627803

Question:Canweconcludethatbavg,hrunsyr andrbisyr together


havenoeffectonsalary?
Inotherwords,aretheyjointlyinsignificant?

MultipleRestrictions:
H0 :3 =0,4 =0,5 =0
H1 :H0 isnottrue
Thisiscalledajointormultiplehypothesistest.

AjointhypothesisisdonebyFtest,i.e.,comparingSSR inthemodels
withandwithoutvariablesinquestion bavg,hrunsyr andrbisyr.

Singlerestrictions:Dobavg,hrunsyr andrbisyr individuallyhavestatistical


significance?
I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

I. Distribution II. T-test

41

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

SSR:SumofSquaredResiduals

42

Restrictedvs.Unrestricted

Themodelwithallvariables unrestrictedmodel:
log()= + years + gamesyr + bavg + hrunsyr + rbisyr
SSRu =183.186,Ru2 =0.6278,n=353
Themodelwithoutthreevariables restrictedmodel:
log()= + years + gamesyr
SSRR =198.391,RR2 =0.5971,n=353

Question :IstheincreaseinSSRlargeenoughtowarranttherejectionofH0 :3 =
4 =5 =0whenmovingfromtheunrestrictedtorestrictedmodel?

RejectionRule: F>C
c:the95th percentileintheFq,nk1 distribution(=5%)
IfthenullH0 isrejected,thenvariablesarejointlysignificant.

Example:H0 :3 =0,4 =0,5 =0


SSRR =198.311
SSRU =183.186

Fstatistic:

(droppingbavg,hrunsyr,rbisyr)

n=353

F=[(198.3183.1)/3]/(183.1/347)=9.55
=5%
=1%

q=numeratordegreesoffreedom=dfR dfU
nk1=denominatordegreesoffreedom=dfU
I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

43

c=2.60
c=3.78

I. Distribution II. T-test

III. CI

fromtheF3,347 dist.
fromtheF3,347 dist.

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

44

R2formoftheFStatistic

The F statistic
f(F)

fail to reject
Reject H0 at
significance level
if F > c

F=[(.6278.5971)/3]/[(1.6278)/347]=9.55
UsingEviews:Intheestimationoutput window,
chooseView/CoefficientTests/RedundantVariables.Then,
typeinthevariablethatisredundant,bavg hrunsyr rbisyr and
clickOK

reject

0
I. Distribution II. T-test

F3, 347 distribution

2.66
III. CI

Example:H0 :3 =4 =5 =0
RR2 =0.5971
SSRR =198.311
SSRU =183.186;n=353
Ru2 =0.6278

IV. Linear Combination V. F-Test

VI. ML&LR

45

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

46

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

F-Test View/Coefficient Tests/Redundant Variables

Regress log(salary) on years, gamesyr, bavg, hrunsyr and rbisyr

Redundant Variables: BAVG HRUNSYR RBISYR

Estimation output

Dependent Variable: LSALARY5


Sample: 1 353
Included observations: 353
Variable

Coefficient

Std. Error

t-Statistic

Prob.

11.19242

0.288823

38.75184

YEARS

0.068863

0.012115

5.684295

GAMESYR

0.012552

0.002647

4.742442

BAVG

0.000979

0.001104

0.886811

0.3758

HRUNSYR

0.014429

0.016057

0.898642

0.3695

RBISYR

0.010766

0.007175

1.500458

0.1344

R-squared
Adjusted R-squared

0.62244

S.D. dependent var

1.182466

Akaike info criterion

2.215907

Sum squared resid

183.1863

Schwarz criterion

2.281626

F-statistic

117.0603

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

Coefficient

13.49218

Prob(F-statistic)

0.000004

Variable

Mean dependent var

1.26539

0.000004

Probability

Included observations: 353

0.726577

Durbin-Watson stat

Probability

28.00528

Dependent Variable: LSALARY

0.627803

-385.1076

9.550251

Log likelihood ratio


Test Equation:

S.E. of regression
Log likelihood

F-statistic

47

Std. Error

t-Statistic

Prob.

11.2238

0.108312

103.6247

YEARS

0.071318

0.012505

5.703153

GAMESYR

0.020174

0.001343

15.02341

R-squared

0.597072

Mean dependent var

13.49218

Adjusted R-squared

0.594769

S.D. dependent var

1.182466

S.E. of regression

0.752731

Akaike info criterion

2.278245

Sum squared resid

198.3115

Log likelihood

-399.11

Durbin-Watson stat

I. Distribution II. T-test

1.193944

III. CI

Schwarz criterion

2.311105

F-statistic

259.3204

Prob(F-statistic)

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

48

RelationshipBetweenFandtstatistics
F1,nk1=t2nk1

PvalueforFtests
Apvalueisthesmallestsignificancelevelatwhichthenull
hypothesiswouldberejected.

pvalue=P(Fv >F)

F:actualvalueoftheteststatistic
Fv :Frandomvariable

Example:(Salarymodelofbaseballplayers)
H0 :5=0(parameterofrbisyr)
Whatarerestrictedandunrestrictedequations?

Interpretation:
(1) Fstat=9.550251pvalue=.000004
(2) Multicollinearity
R23 =0.159512
(bavg)
2
(hrunsyr)
R 4 =.826496
R25 =.895780
(rbisyr)

I. Distribution II. T-test

III. CI

t=1.50
F=2.25

IV. Linear Combination V. F-Test

VI. ML&LR

I. Distribution II. T-test

49

F-Test: View/Coefficient Tests/Redundant Variables.


F-statistic

2.251375

Probability

0.134405

Log likelihood ratio

2.282906

Probability

0.130807

Included observations: 353


Variable

Coefficient

Std. Error

t-Statistic

Prob.

11.02091

0.265719

41.4758

YEARS

0.067732

0.012113

5.591799

GAMESYR

0.015759

0.001564

10.0789

BAVG

0.001419

0.001066

1.330995

0.1841

HRUNSYR

0.035943

0.007241

4.963996

R-squared

0.625388

Mean dependent var

13.49218

Adjusted R-squared

0.621082

S.D. dependent var

1.182466

S.E. of regression

0.727882

Akaike info criterion

2.216709

Sum squared resid

184.3749

Schwarz criterion

2.271474

F-statistic

145.2403

Log likelihood

-386.2491

Durbin-Watson stat

I. Distribution II. T-test

1.244041

III. CI

Prob(F-statistic)

IV. Linear Combination V. F-Test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

50

OverallSignificanceofaRegression
H0 :1 =2 ==k = 0

F1, n-k-1 = t2n-k-1 ; 2.25=(1.50)2

Sample: 1 353

(pvalue=0.1344)
(pvalue=0.1344)

F1,nk1=t2nk1
2.25=(1.50)2

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

Dependent Variable: LSALARY

Fstatisticcanbeusedtotestsignificanceofasinglevariable.

Unrestrictedmodel
y=0 +1x1 +2x2++kxk +u
findSSRu,Ru2
Restrictedmodel
y=0 +u
R2R=0sincethereisnoxtoexplainy.
Thus,theactualFvalueis

Example: Find overall


significance of the
salary model of
baseball players.
H0: 1=2 ==5=0
R2 = .627803; q=5;
n=353
F = 117.06
p-value = 0.0

kisthenumberofregressors.

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

51

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

52

Eviews reports the F-statistic for testing overall significance.

TestingGeneralLinearRegressions

Dependent Variable: LSALARY


Sample: 1 353

Considerahedonicpricemodel

Included observations: 353


Variable

Coefficient

Std. Error

t-Statistic

Prob.

11.19242

0.288823

38.75184

YEARS

0.068863

0.012115

5.684295

GAMESYR

0.012552

0.002647

4.742442

BAVG

0.000979

0.001104

0.886811

0.3758

HRUNSYR

0.014429

0.016057

0.898642

0.3695

RBISYR

0.010766

0.007175

1.500458

0.1344

R-squared
Adjusted R-squared

0.627803

Mean dependent var

13.49218

0.62244

S.D. dependent var

1.182466

S.E. of regression

0.726577

Akaike info criterion

2.215907

Sum squared resid

183.1863

Schwarz criterion

2.281626

Log likelihood
Durbin-Watson stat

I. Distribution II. T-test

-385.1076
1.26539

III. CI

F-statistic

price
assess
lotsize
sqrft
bdrms

=houseprice
=assessedhousingvalue
=sizeofthelot(feet)
=squarefootage
=numberofbedrooms

Wewouldliketotestwhethertheassessedhousingpriceisarational
valuation.
H0 :1=1,2=0,3=0,4=0

117.0603

Prob(F-statistic)

IV. Linear Combination V. F-Test

log( )=.264+1.043log(assess)+.0074log(lotsize).1032log(sqrft) +.0338bdrms

0
VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

53

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

54

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

Regress lprice on lassess, llotsize, lsqrft and bdrms

FTestandSSRs
H0 :1=1,2=0,3=0,4=0

Dependent Variable: LPRICE


Sample: 1 88
Included observations: 88
Variable

log(price)=0 +1log(assess)+2log(lotsize)+3log(sqrft) +4bdrms+u


n=88,SSRU=1.822,R2=.773
log(price) log(assess)=0 +u
n=88,SSRR=1.880,R2=0.0
TheFstatisticis
F=[(1.8801.822)/4]/(1.822/83)=.661
pvalue=0.61616
Whatcanyousay?

Coefficient

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

55

Prob.

0.263744

0.569665

0.462982

0.6446

1.043065

0.151446

6.887373

LLOTSIZE

0.007438

0.038561

0.192886

0.8475

LSQRFT

-0.10324

0.13843

-0.745779

0.4579

BDRMS

0.033839

0.022098

1.531301

0.1295

0.772809

Adjusted R-squared

I. Distribution II. T-test

t-Statistic

LASSESS

R-squared

InEviews:0=c(1); =c(2);
UsingEviews:Intheestimationoutput window,
chooseView/CoefficientTests/Wald:CoefficientRestrictions. Then,
typeinnullhypothesis,c(2)=1,c(3)=0,c(4)=0,c(5) and
clickOK

Std. Error

5.63318

S.D. dependent var

0.303573

S.E. of regression

0.148142

Akaike info criterion

-0.92615

Sum squared resid

1.821529

Schwarz criterion

-0.78539

Log likelihood

45.75048

F-statistic

70.58276

Durbin-Watson stat

2.048495

Prob(F-statistic)

I. Distribution II. T-test

0.76186

Mean dependent var

III. CI

IV. Linear Combination V. F-Test

0
VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

56

Using Eviews:
In the estimation output window,
choose View/Coefficient Tests/Wald: Coefficient Restrictions Then,
type in null hypothesis, c(2)=1, c(3)=0, c(4)=0, c(5) and
click OK

VI.MLEstimationandLRStatistic

Wald Test:
Equation: Untitled
Null Hypothesis:

Assumethattheerrorisnormallydistributedwithmeanzeroand
variance2,i.e.,u N(0,2).

Giventhekvariablemodel,
y=0 +1x1 +2x2 ++kxk +u

ThevariableyisalsonormallydistributedwithmeanE(y|x)and
variance2.

C(2)=1
C(3)=0
C(4)=0
C(5)=0

F-statistic

0.667772

Probability

0.61616

Chi-square

2.671087

Probability

0.614283

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

y|x N(0 +1x1 +2x2++kxk,2)


E(y|x)=0 +1x1 +2x2++kxk
VAR(y|x)=2

I. Distribution II. T-test

57

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

58

Multiple Regression Analysis: Inference

LogLikelihoodFunction

PDFandLikelihoodFunction

Thedensityfunctionofanormallydistributedvariablewithgiven
meanandvarianceis

Theloglikelihoodfunctionis

Wecanobtainthefirstorderconditions(k+2)similartothose(k+1)of
themethodofleastsquares.Thus,theMLestimators arethesame
asLSestimators .

Themethodofmaximumlikelihoodconsistsinestimatingtheunknown
parametersinsuchamannerthattheprobabilityofobservingthegiven
ysisashighaspossible.

Thelikelihoodfunctionisthejointdensityofthenvalues.
LF
=f(y1,y2,,ynE(y|x),2)
= [f(yi)]=f(y1)f(y2) f(yn)

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

59

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

60

BaseballExample

TestofMultipleRestrictions
Wecanuselog(LF)totestformultiplerestrictions.Giventhebaseball
equation.

Themodelwithallvariables unrestrictedmodel:
log()= + years + gamesyr + bavg + hrunsyr + rbisyr
loglikelihood(Lur)=385.1076,Ru2 =0.6278,n=353

Themodelwithoutthreevariables restrictedmodel:
log( )= + years + gamesyr
loglikelihood(Lr) =399.11,RR2 =0.5971,n=353

LR=2(LurLr) 2(3)
=2(385.1076+399.11)=28.0048

Thecriticalvalueofthe99thpercentileinthechisquaredistributionwith
3degreesoffreedomisc=11.34.Thus,werejectthenullhypothesisasin
FTestandLMTest.

log(salary)=0 +1years +2gamesyr+3bavg +4hrunsyr +5rbisyr+u

Thejointnullhypothesisis
H0:3 =0,4 =0,5 =0

ThelikelihoodratiostatisticisLR=2(LurLr) 2q
where
Lur istheloglikelihoodvaluefortheunrestrictedmodel,
Lr istheloglikelihoodvaluefortherestrictedmodel.

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

61

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

62

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

F-Test View/Coefficient Tests/Redundant Variables

Regress log(salary) on years, gamesyr, bavg, hrunsyr and rbisyr

Estimation output

Redundant Variables: BAVG HRUNSYR RBISYR

Dependent Variable: LSALARY


Sample: 1 353

F-statistic

9.550251

Probability

0.000004

Included observations: 353

Log likelihood ratio

28.00528

Probability

0.000004

Variable

Test Equation:

Coefficient

Std. Error

t-Statistic

Prob.

11.19242

0.288823

38.75184

Dependent Variable: LSALARY

YEARS

0.068863

0.012115

5.684295

Included observations: 353

GAMESYR

0.012552

0.002647

4.742442

Variable

BAVG

0.000979

0.001104

0.886811

0.3758

HRUNSYR
RBISYR

0.014429
0.010766

R-squared
Adjusted R-squared
S.E. of regression

Log likelihood
I. Distribution II. T-test

Prob.

103.6247

0.3695

YEARS

0.071318

0.012505

5.703153

0.1344

GAMESYR

0.020174

0.001343

15.02341

R-squared

0.597072

Mean dependent var

13.49218

Mean dependent var

13.49218

S.D. dependent var

1.182466

Adjusted R-squared

0.594769

S.D. dependent var

1.182466

0.726577

Akaike info criterion

2.215907

S.E. of regression

0.752731

Akaike info criterion

2.278245

Schwarz criterion

2.281626

Sum squared resid

198.3115

Schwarz criterion

2.311105

F-statistic

117.0603

Log likelihood

-399.11

F-statistic

259.3204

Durbin-Watson stat

1.193944

Prob(F-statistic)

1.26539

III. CI

1.500458

t-Statistic

0.108312

0.62244

-385.1076

Durbin-Watson stat

0.007175

0.898642

Std. Error

11.2238

0.627803

183.1863

Sum squared resid

0.016057

Coefficient

Prob(F-statistic)

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

63

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

64

The un-colored cells are concepts that we have already learned.


The concepts in red cells will be learned in due course.

Whathavewelearned?

Dependent Variable: WAGE


Method: Least Squares
Date: 05/17/03 Time: 14:22

Eviews
1)Ftest:Wald/CoefficientRestriction
2)Ftest:RedundantVariables
3)Ftest:OverallSignificanceofvariables
4)pvaluesandtstatistics
5)LogLikelihoodRatio(LR)Test

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

Sample: 1 526
Included observations: 526

VI. ML&LR

65

RecapofMRA:Inference
Sampling Distribution of the OLS Estimation
Testing Hypothesis about a Single Population Parameter
t Test
Confidence Interval
Testing Hypothesis About a Single Linear Combination of
the Parameters
Testing Multiple Linear Restrictions : F-Test
ML Estimation and LR Statistic

III. CI

IV. Linear Combination V. F-Test

Coefficient

Std. Error

t-Statistic

Prob.

-2.87274

0.728964

-3.940844

0.0001

EDUC

0.598965

0.051284

11.67948

0
0.0645

EXPER

0.02234

0.012057

1.852849

TENURE

0.169269

0.021645

7.820361

R-squared

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

I. Distribution II. T-test

Variable

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

67

0.306422

Mean dependent var

5.896103
3.693086

Adjusted R-squared

0.302436

S.D. dependent var

S.E. of regression

3.084476

Akaike info criterion

5.098216

Sum squared resid

4966.303

Schwarz criterion

5.130652

Log likelihood

-1336.83

F-statistic

76.87317

Durbin-Watson stat

1.791222

Prob(F-statistic)

I. Distribution II. T-test

III. CI

IV. Linear Combination V. F-Test

VI. ML&LR

4. Multiple Regression Analysis: Inference . Quantitative Methods of Economic Analysis . 2949605 . Chairat Aemkulwat

66

Anda mungkin juga menyukai