SlideShare a Scribd company logo
Economics 20 - Prof. Anderson 1
Multiple Regression Analysis
y = b0 + b1x1 + b2x2 + . . . bkxk + u
2. Inference
Gauss Markov Assumptions
Economics 20 - Prof. Anderson 2
Economics 20 - Prof. Anderson 3
Assumptions of the Classical
Linear Model (CLM)
Given the Gauss-Markov assumptions,
OLS is BLUE,
In order to do classical hypothesis testing,
we need to add another assumption (beyond
the Gauss-Markov assumptions)
Assume that u is independent of x1, x2,…, xk
and u is normally distributed with zero
mean and variance s2: u ~ Normal(0,s2)
Economics 20 - Prof. Anderson 4
CLM Assumptions (cont)
Under CLM, OLS is not only BLUE, but is
the minimum variance unbiased estimator
We can summarize the population
assumptions of CLM as follows
y|x ~ Normal(b0 + b1x1 +…+ bkxk, s2)
While for now we just assume normality,
clear that sometimes not the case
Large samples will let us drop normality
Economics 20 - Prof. Anderson 5
.
.
x1 x2
The homoskedastic normal distribution with
a single explanatory variable
E(y|x) = b0 + b1x
y
f(y|x)
Normal
distributions
Economics 20 - Prof. Anderson 6
Normal Sampling Distributions
  
 
   
errorstheofncombinatiolinearais
itbecausenormallyddistributeisˆ
0,1Normal~ˆ
ˆ
thatso,ˆ,Normal~ˆ
st variableindependentheofvaluessamplethe
onlconditionas,assumptionCLMUnder the
jb
b
bb
bbb
j
jj
jjj
sd
Var

Economics 20 - Prof. Anderson 7
The t Test
 
 
1:freedomofdegreestheNote
ˆbyestimatetohavewebecause
normal)(vsondistributiaisthisNote
~ˆ
ˆ
sassumptionCLMUnder the
22
1
j



kn
t
t
se kn
j
j
ss
b
bb
Economics 20 - Prof. Anderson 8
The t Test (cont)
Knowing the sampling distribution for the
standardized estimator allows us to carry
out hypothesis tests
Start with a null hypothesis
For example, H0: bj=0
If do not reject null, then xj has no effect on
y, controlling for other x’s
Economics 20 - Prof. Anderson 9
The t Test (cont)
 
0
ˆj
H,hypothesisnullaccept the
owhether tdeterminetorulerejectiona
withalongstatisticourusethenwillWe
ˆ
ˆ
:ˆforstatisticthe""
formtoneedfirsteour test wperformTo
t
se
tt
j
j
j
b
b
b b

Economics 20 - Prof. Anderson 10
t Test: One-Sided Alternatives
Besides our null, H0, we need an alternative
hypothesis, H1, and a significance level
H1 may be one-sided, or two-sided
H1: bj > 0 and H1: bj < 0 are one-sided
H1: bj  0 is a two-sided alternative
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%
Economics 20 - Prof. Anderson 11
One-Sided Alternatives (cont)
Having picked a significance level, a, we
look up the (1 – a)th percentile in a t
distribution with n – k – 1 df and call this c,
the critical value
We can reject the null hypothesis if the t
statistic is greater than the critical value
If the t statistic is less than the critical value
then we fail to reject the null
Economics 20 - Prof. Anderson 12
yi = b0 + b1xi1 + … + bkxik + ui
H0: bj = 0 H1: bj > 0
c0
a1  a
One-Sided Alternatives (cont)
Fail to reject
reject
Economics 20 - Prof. Anderson 13
One-sided vs Two-sided
Because the t distribution is symmetric,
testing H1: bj < 0 is straightforward. The
critical value is just the negative of before
We can reject the null if the t statistic < –c,
and if the t statistic > than –c then we fail to
reject the null
For a two-sided test, we set the critical
value based on a/2 and reject H1: bj  0 if
the absolute value of the t statistic > c
Economics 20 - Prof. Anderson 14
yi = b0 + b1Xi1 + … + bkXik + ui
H0: bj = 0 H1: bj > 0
c0
a/21  a
-c
a/2
Two-Sided Alternatives
reject reject
fail to reject
Economics 20 - Prof. Anderson 15
Summary for H0: bj = 0
Unless otherwise stated, the alternative is
assumed to be two-sided
If we reject the null, we typically say “xj is
statistically significant at the a % level”
If we fail to reject the null, we typically say
“xj is statistically insignificant at the a %
level”
Economics 20 - Prof. Anderson 16
Testing other hypotheses
A more general form of the t statistic
recognizes that we may want to test
something like H0: bj = aj
In this case, the appropriate t statistic is
 
 
teststandardfor the0
where,ˆ
ˆ



j
j
jj
a
se
a
t
b
b
Economics 20 - Prof. Anderson 17
Confidence Intervals
Another way to use classical statistical testing is
to construct a confidence interval using the same
critical value as was used for a two-sided test
A (1 - a) % confidence interval is defined as
 
ondistributiain
percentile
2
-1theiscwhere,ˆˆ
1







kn
jj
t
sec
a
bb
Economics 20 - Prof. Anderson 18
Computing p-values for t tests
An alternative to the classical approach is
to ask, “what is the smallest significance
level at which the null would be rejected?”
So, compute the t statistic, and then look up
what percentile it is in the appropriate t
distribution – this is the p-value
p-value is the probability we would observe
the t statistic we did, if the null were true
Economics 20 - Prof. Anderson 19
Stata and p-values, t tests, etc.
Most computer packages will compute the
p-value for you, assuming a two-sided test
If you really want a one-sided alternative,
just divide the two-sided p-value by 2
Stata provides the t statistic, p-value, and
95% confidence interval for H0: bj = 0 for
you, in columns labeled “t”, “P > |t|” and
“[95% Conf. Interval]”, respectively
Economics 20 - Prof. Anderson 20
Testing a Linear Combination
Suppose instead of testing whether b1 is equal to a
constant, you want to test if it is equal to another
parameter, that is H0 : b1 = b2
Use same basic procedure for forming a t statistic
 21
21
ˆˆ
ˆˆ
bb
bb



se
t
Economics 20 - Prof. Anderson 21
Testing Linear Combo (cont)
   
       
        
 2112
2
1
12
2
2
2
121
212121
2121
ˆ,ˆofestimateaniswhere
2ˆˆˆˆ
ˆ,ˆ2ˆˆˆˆ
then,ˆˆˆˆ
Since
bb
bbbb
bbbbbb
bbbb
Covs
ssesese
CovVarVarVar
Varse



Economics 20 - Prof. Anderson 22
Testing a Linear Combo (cont)
So, to use formula, need s12, which
standard output does not have
Many packages will have an option to get
it, or will just perform the test for you
In Stata, after reg y x1 x2 … xk you would
type test x1 = x2 to get a p-value for the test
More generally, you can always restate the
problem to get the test you want
Economics 20 - Prof. Anderson 23
Example (cont):
Now you get a standard error for b1 – b2 =
q1 directly from the basic regression
Any linear combination of parameters
could be tested in a similar manner
Other examples of hypotheses about a
single linear combination of parameters:
 b1 = 1 + b2 ; b1 = 5b2 ; b1 = -1/2b2 ; etc
Economics 20 - Prof. Anderson 24
Multiple Linear Restrictions
Everything we’ve done so far has involved
testing a single linear restriction, (e.g. b1 = 0
or b1 = b2 )
However, we may want to jointly test
multiple hypotheses about our parameters
A typical example is testing “exclusion
restrictions” – we want to know if a group
of parameters are all equal to zero
Economics 20 - Prof. Anderson 25
Testing Exclusion Restrictions
Now the null hypothesis might be
something like H0: bk-q+1 = 0, ... , bk = 0
The alternative is just H1: H0 is not true
Can’t just check each t statistic separately,
because we want to know if the q
parameters are jointly significant at a given
level – it is possible for none to be
individually significant at that level
Economics 20 - Prof. Anderson 26
Exclusion Restrictions (cont)
To do the test we need to estimate the “restricted
model” without xk-q+1,, …, xk included, as well as
the “unrestricted model” with all x’s included
Intuitively, we want to know if the change in SSR
is big enough to warrant inclusion of xk-q+1,, …, xk
 
 
edunrestrictisurandrestrictedisr
where,
1


knSSR
qSSRSSR
F
ur
urr
Economics 20 - Prof. Anderson 27
The F statistic
The F statistic is always positive, since the
SSR from the restricted model can’t be less
than the SSR from the unrestricted
Essentially the F statistic is measuring the
relative increase in SSR when moving from
the unrestricted to restricted model
q = number of restrictions, or dfr – dfur
n – k – 1 = dfur
Economics 20 - Prof. Anderson 28
The F statistic (cont)
To decide if the increase in SSR when we
move to a restricted model is “big enough”
to reject the exclusions, we need to know
about the sampling distribution of our F stat
Not surprisingly, F ~ Fq,n-k-1, where q is
referred to as the numerator degrees of
freedom and n – k – 1 as the denominator
degrees of freedom
Economics 20 - Prof. Anderson 29
0 c
a1  a
f(F)
F
The F statistic (cont)
reject
fail to reject
Reject H0 at a
significance level
if F > c
Economics 20 - Prof. Anderson 30
The R2 form of the F statistic
Because the SSR’s may be large and unwieldy, an
alternative form of the formula is useful
We use the fact that SSR = SST(1 – R2) for any
regression, so can substitute in for SSRu and SSRur
 
   
edunrestrictisurandrestrictedisr
againwhere,
11 2
22



knR
qRR
F
ur
rur
Economics 20 - Prof. Anderson 31
Overall Significance
A special case of exclusion restrictions is to test
H0: b1 = b2 =…= bk = 0
Since the R2 from a model with only an intercept
will be zero, the F statistic is simply
   11 2
2


knR
kR
F
Economics 20 - Prof. Anderson 32
General Linear Restrictions
The basic form of the F statistic will work
for any set of linear restrictions
First estimate the unrestricted model and
then estimate the restricted model
In each case, make note of the SSR
Imposing the restrictions can be tricky –
will likely have to redefine variables again
Economics 20 - Prof. Anderson 33
F Statistic Summary
Just as with t statistics, p-values can be
calculated by looking up the percentile in
the appropriate F distribution
Stata will do this by entering: display
fprob(q, n – k – 1, F), where the appropriate
values of F, q,and n – k – 1 are used
If only one exclusion is being tested, then F
= t2, and the p-values will be the same

More Related Content

What's hot

Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regression
Elkana Rorio
 
Chapter13
Chapter13Chapter13
Chapter13
rwmiller
 
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, InterpolationApplied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Brian Erandio
 
The kolmogorov smirnov test
The kolmogorov smirnov testThe kolmogorov smirnov test
The kolmogorov smirnov test
Subhradeep Mitra
 
Es272 ch5a
Es272 ch5aEs272 ch5a
Principle of Least Square, its Properties, Regression line and standard error...
Principle of Least Square, its Properties, Regression line and standard error...Principle of Least Square, its Properties, Regression line and standard error...
Principle of Least Square, its Properties, Regression line and standard error...
Ali Lodhra
 
Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11
Almaszabeen Badekhan
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | Edureka
Edureka!
 
Lecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized AlgorithmsLecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized Algorithms
Anshul Yadav
 
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12   the chi squared-test handoutC2 st lecture 12   the chi squared-test handout
C2 st lecture 12 the chi squared-test handout
fatima d
 
Arithmetic and geometric mean
Arithmetic and geometric meanArithmetic and geometric mean
Arithmetic and geometric mean
RekhaChoudhary24
 
Chapter05
Chapter05Chapter05
Chapter05
rwmiller
 
Lecture 04
Lecture 04Lecture 04
Non Linear Equation
Non Linear EquationNon Linear Equation
Non Linear Equation
MdAlAmin187
 
Statistical Assignment Help
Statistical Assignment HelpStatistical Assignment Help
Statistical Assignment Help
Statistics Homework Helper
 
Probability and Random Variables
Probability and Random VariablesProbability and Random Variables
Probability and Random Variables
Subhobrata Banerjee
 
Business statistics homework help
Business statistics homework helpBusiness statistics homework help
Business statistics homework help
Statistics Help Desk
 
Lesson 6 coefficient of determination
Lesson 6   coefficient of determinationLesson 6   coefficient of determination
Lesson 6 coefficient of determination
MehediHasan1023
 
Simple regression model
Simple regression modelSimple regression model
Simple regression model
MidoTami
 
Chi square using excel
Chi square using excelChi square using excel
Chi square using excel
vermaumeshverma
 

What's hot (20)

Ordinary least squares linear regression
Ordinary least squares linear regressionOrdinary least squares linear regression
Ordinary least squares linear regression
 
Chapter13
Chapter13Chapter13
Chapter13
 
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, InterpolationApplied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
Applied Numerical Methods Curve Fitting: Least Squares Regression, Interpolation
 
The kolmogorov smirnov test
The kolmogorov smirnov testThe kolmogorov smirnov test
The kolmogorov smirnov test
 
Es272 ch5a
Es272 ch5aEs272 ch5a
Es272 ch5a
 
Principle of Least Square, its Properties, Regression line and standard error...
Principle of Least Square, its Properties, Regression line and standard error...Principle of Least Square, its Properties, Regression line and standard error...
Principle of Least Square, its Properties, Regression line and standard error...
 
Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11Econometrics- lecture 10 and 11
Econometrics- lecture 10 and 11
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | Edureka
 
Lecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized AlgorithmsLecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized Algorithms
 
C2 st lecture 12 the chi squared-test handout
C2 st lecture 12   the chi squared-test handoutC2 st lecture 12   the chi squared-test handout
C2 st lecture 12 the chi squared-test handout
 
Arithmetic and geometric mean
Arithmetic and geometric meanArithmetic and geometric mean
Arithmetic and geometric mean
 
Chapter05
Chapter05Chapter05
Chapter05
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
 
Non Linear Equation
Non Linear EquationNon Linear Equation
Non Linear Equation
 
Statistical Assignment Help
Statistical Assignment HelpStatistical Assignment Help
Statistical Assignment Help
 
Probability and Random Variables
Probability and Random VariablesProbability and Random Variables
Probability and Random Variables
 
Business statistics homework help
Business statistics homework helpBusiness statistics homework help
Business statistics homework help
 
Lesson 6 coefficient of determination
Lesson 6   coefficient of determinationLesson 6   coefficient of determination
Lesson 6 coefficient of determination
 
Simple regression model
Simple regression modelSimple regression model
Simple regression model
 
Chi square using excel
Chi square using excelChi square using excel
Chi square using excel
 

Viewers also liked

Country report on semi-structured interviews with temporary migrants - the Ne...
Country report on semi-structured interviews with temporary migrants - the Ne...Country report on semi-structured interviews with temporary migrants - the Ne...
Country report on semi-structured interviews with temporary migrants - the Ne...
EURA-NET project
 
ICAR-IFPRI questionnaire development -Devesh Roy, IFPRI
ICAR-IFPRI questionnaire development -Devesh Roy, IFPRIICAR-IFPRI questionnaire development -Devesh Roy, IFPRI
ICAR-IFPRI questionnaire development -Devesh Roy, IFPRI
International Food Policy Research Institute- South Asia Office
 
Group 6
Group 6Group 6
Group 6
Ha Nguyen
 
Semi-structured interviews for educational research
Semi-structured interviews for educational research Semi-structured interviews for educational research
Semi-structured interviews for educational research
Tünde Varga-Atkins
 
Adler clark 4e ppt 10
Adler clark 4e ppt 10Adler clark 4e ppt 10
Adler clark 4e ppt 10
arpsychology
 
Causal Research
Causal ResearchCausal Research
Causal Research
shwetasharma
 
Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...
Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...
Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...
Edureka!
 

Viewers also liked (7)

Country report on semi-structured interviews with temporary migrants - the Ne...
Country report on semi-structured interviews with temporary migrants - the Ne...Country report on semi-structured interviews with temporary migrants - the Ne...
Country report on semi-structured interviews with temporary migrants - the Ne...
 
ICAR-IFPRI questionnaire development -Devesh Roy, IFPRI
ICAR-IFPRI questionnaire development -Devesh Roy, IFPRIICAR-IFPRI questionnaire development -Devesh Roy, IFPRI
ICAR-IFPRI questionnaire development -Devesh Roy, IFPRI
 
Group 6
Group 6Group 6
Group 6
 
Semi-structured interviews for educational research
Semi-structured interviews for educational research Semi-structured interviews for educational research
Semi-structured interviews for educational research
 
Adler clark 4e ppt 10
Adler clark 4e ppt 10Adler clark 4e ppt 10
Adler clark 4e ppt 10
 
Causal Research
Causal ResearchCausal Research
Causal Research
 
Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...
Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...
Hadoop Interview Questions and Answers | Big Data Interview Questions | Hadoo...
 

Similar to ICAR-IFPRI: Multiple regressions prof anderson inference lecture - Devesh Roy

Chapter4
Chapter4Chapter4
Chapter4
Vu Vo
 
qm2CHAP12.ppt
qm2CHAP12.pptqm2CHAP12.ppt
qm2CHAP12.ppt
HieuNguyen477759
 
Estimation rs
Estimation rsEstimation rs
Estimation rs
meharahutsham
 
Materi_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdfMateri_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdf
Hasan Dwi Cahyono
 
Chapter 14 Part I
Chapter 14 Part IChapter 14 Part I
Chapter 14 Part I
Matthew L Levy
 
whitehead-logistic-regression.ppt
whitehead-logistic-regression.pptwhitehead-logistic-regression.ppt
whitehead-logistic-regression.ppt
19DSMA012HarshSingh
 
Reg
RegReg
Chapter6.pdf.pdf
Chapter6.pdf.pdfChapter6.pdf.pdf
Chapter6.pdf.pdf
ROBERTOENRIQUEGARCAA1
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptx
akashayosha
 
Hypothesis
HypothesisHypothesis
Hypothesis
BabulShaikh1
 
Two-Variable (Bivariate) RegressionIn the last unit, we covered
Two-Variable (Bivariate) RegressionIn the last unit, we covered Two-Variable (Bivariate) RegressionIn the last unit, we covered
Two-Variable (Bivariate) RegressionIn the last unit, we covered
LacieKlineeb
 
stats_ch12.pdf
stats_ch12.pdfstats_ch12.pdf
stats_ch12.pdf
shermanullah
 
Basic of Hypothesis Testing TEKU QM
Basic of Hypothesis Testing TEKU QMBasic of Hypothesis Testing TEKU QM
Basic of Hypothesis Testing TEKU QM
Prof Handley Mpoki Mafwenga
 
Likelihoodist vs. significance tester w bernoulli trials
Likelihoodist vs. significance tester w bernoulli trialsLikelihoodist vs. significance tester w bernoulli trials
Likelihoodist vs. significance tester w bernoulli trials
jemille6
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.ppt
Solomonkiplimo
 
dougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptxdougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptx
Jorge329435
 
1.02.Mathematical_background.pptx
1.02.Mathematical_background.pptx1.02.Mathematical_background.pptx
1.02.Mathematical_background.pptx
PrachiDawer1
 
Semana7 dn
Semana7 dnSemana7 dn
Semana7 dn
Jorge Obando
 
Powerpoint2.reg
Powerpoint2.regPowerpoint2.reg
Powerpoint2.reg
Mili Sabarots
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 

Similar to ICAR-IFPRI: Multiple regressions prof anderson inference lecture - Devesh Roy (20)

Chapter4
Chapter4Chapter4
Chapter4
 
qm2CHAP12.ppt
qm2CHAP12.pptqm2CHAP12.ppt
qm2CHAP12.ppt
 
Estimation rs
Estimation rsEstimation rs
Estimation rs
 
Materi_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdfMateri_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdf
 
Chapter 14 Part I
Chapter 14 Part IChapter 14 Part I
Chapter 14 Part I
 
whitehead-logistic-regression.ppt
whitehead-logistic-regression.pptwhitehead-logistic-regression.ppt
whitehead-logistic-regression.ppt
 
Reg
RegReg
Reg
 
Chapter6.pdf.pdf
Chapter6.pdf.pdfChapter6.pdf.pdf
Chapter6.pdf.pdf
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptx
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Two-Variable (Bivariate) RegressionIn the last unit, we covered
Two-Variable (Bivariate) RegressionIn the last unit, we covered Two-Variable (Bivariate) RegressionIn the last unit, we covered
Two-Variable (Bivariate) RegressionIn the last unit, we covered
 
stats_ch12.pdf
stats_ch12.pdfstats_ch12.pdf
stats_ch12.pdf
 
Basic of Hypothesis Testing TEKU QM
Basic of Hypothesis Testing TEKU QMBasic of Hypothesis Testing TEKU QM
Basic of Hypothesis Testing TEKU QM
 
Likelihoodist vs. significance tester w bernoulli trials
Likelihoodist vs. significance tester w bernoulli trialsLikelihoodist vs. significance tester w bernoulli trials
Likelihoodist vs. significance tester w bernoulli trials
 
Hypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.pptHypothesis Testing techniques in social research.ppt
Hypothesis Testing techniques in social research.ppt
 
dougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptxdougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptx
 
1.02.Mathematical_background.pptx
1.02.Mathematical_background.pptx1.02.Mathematical_background.pptx
1.02.Mathematical_background.pptx
 
Semana7 dn
Semana7 dnSemana7 dn
Semana7 dn
 
Powerpoint2.reg
Powerpoint2.regPowerpoint2.reg
Powerpoint2.reg
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
 

More from International Food Policy Research Institute- South Asia Office

Bed Planting - Climate Smart Agriculture
Bed Planting - Climate Smart AgricultureBed Planting - Climate Smart Agriculture
Bed Planting - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Alternate Wetting and Drying - Climate Smart Agriculture
Alternate Wetting and Drying - Climate Smart AgricultureAlternate Wetting and Drying - Climate Smart Agriculture
Alternate Wetting and Drying - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Drip Irrigation - Climate Smart Agriculture
Drip Irrigation - Climate Smart AgricultureDrip Irrigation - Climate Smart Agriculture
Drip Irrigation - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Protected Agriculture - Climate Smart Agriculture
Protected Agriculture - Climate Smart AgricultureProtected Agriculture - Climate Smart Agriculture
Protected Agriculture - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Sustainable Land Management - Climate Smart Agriculture
Sustainable Land Management - Climate Smart AgricultureSustainable Land Management - Climate Smart Agriculture
Sustainable Land Management - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Strip Planting - Climate Smart Agriculture
Strip Planting - Climate Smart AgricultureStrip Planting - Climate Smart Agriculture
Strip Planting - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
8. Dr Rao.pdf
8. Dr Rao.pdf8. Dr Rao.pdf
13. Manish Patel.pdf
13. Manish Patel.pdf13. Manish Patel.pdf
15. Smita Sirohi.pdf
15. Smita Sirohi.pdf15. Smita Sirohi.pdf
6. CD Mayee.pdf
6. CD Mayee.pdf6. CD Mayee.pdf
10. Keshavulu_1.pdf
10. Keshavulu_1.pdf10. Keshavulu_1.pdf
12. Swati Nayak.pdf
12. Swati Nayak.pdf12. Swati Nayak.pdf
16. Dr Anjani.pdf
16. Dr Anjani.pdf16. Dr Anjani.pdf
9. Malavika Dadlani_1.pdf
9. Malavika Dadlani_1.pdf9. Malavika Dadlani_1.pdf
7. Neeru Bhooshan.pdf
7. Neeru Bhooshan.pdf7. Neeru Bhooshan.pdf
4. Raj Ganesh.pdf
4. Raj Ganesh.pdf4. Raj Ganesh.pdf
11. Surinder K Tikoo_1.pdf
11. Surinder K Tikoo_1.pdf11. Surinder K Tikoo_1.pdf
3. DK Yadava.pdf
3. DK Yadava.pdf3. DK Yadava.pdf
14. Paresh Verma_1.pdf
14. Paresh Verma_1.pdf14. Paresh Verma_1.pdf

More from International Food Policy Research Institute- South Asia Office (20)

Bed Planting - Climate Smart Agriculture
Bed Planting - Climate Smart AgricultureBed Planting - Climate Smart Agriculture
Bed Planting - Climate Smart Agriculture
 
Alternate Wetting and Drying - Climate Smart Agriculture
Alternate Wetting and Drying - Climate Smart AgricultureAlternate Wetting and Drying - Climate Smart Agriculture
Alternate Wetting and Drying - Climate Smart Agriculture
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
 
Drip Irrigation - Climate Smart Agriculture
Drip Irrigation - Climate Smart AgricultureDrip Irrigation - Climate Smart Agriculture
Drip Irrigation - Climate Smart Agriculture
 
Protected Agriculture - Climate Smart Agriculture
Protected Agriculture - Climate Smart AgricultureProtected Agriculture - Climate Smart Agriculture
Protected Agriculture - Climate Smart Agriculture
 
Sustainable Land Management - Climate Smart Agriculture
Sustainable Land Management - Climate Smart AgricultureSustainable Land Management - Climate Smart Agriculture
Sustainable Land Management - Climate Smart Agriculture
 
Strip Planting - Climate Smart Agriculture
Strip Planting - Climate Smart AgricultureStrip Planting - Climate Smart Agriculture
Strip Planting - Climate Smart Agriculture
 
8. Dr Rao.pdf
8. Dr Rao.pdf8. Dr Rao.pdf
8. Dr Rao.pdf
 
13. Manish Patel.pdf
13. Manish Patel.pdf13. Manish Patel.pdf
13. Manish Patel.pdf
 
15. Smita Sirohi.pdf
15. Smita Sirohi.pdf15. Smita Sirohi.pdf
15. Smita Sirohi.pdf
 
6. CD Mayee.pdf
6. CD Mayee.pdf6. CD Mayee.pdf
6. CD Mayee.pdf
 
10. Keshavulu_1.pdf
10. Keshavulu_1.pdf10. Keshavulu_1.pdf
10. Keshavulu_1.pdf
 
12. Swati Nayak.pdf
12. Swati Nayak.pdf12. Swati Nayak.pdf
12. Swati Nayak.pdf
 
16. Dr Anjani.pdf
16. Dr Anjani.pdf16. Dr Anjani.pdf
16. Dr Anjani.pdf
 
9. Malavika Dadlani_1.pdf
9. Malavika Dadlani_1.pdf9. Malavika Dadlani_1.pdf
9. Malavika Dadlani_1.pdf
 
7. Neeru Bhooshan.pdf
7. Neeru Bhooshan.pdf7. Neeru Bhooshan.pdf
7. Neeru Bhooshan.pdf
 
4. Raj Ganesh.pdf
4. Raj Ganesh.pdf4. Raj Ganesh.pdf
4. Raj Ganesh.pdf
 
11. Surinder K Tikoo_1.pdf
11. Surinder K Tikoo_1.pdf11. Surinder K Tikoo_1.pdf
11. Surinder K Tikoo_1.pdf
 
3. DK Yadava.pdf
3. DK Yadava.pdf3. DK Yadava.pdf
3. DK Yadava.pdf
 
14. Paresh Verma_1.pdf
14. Paresh Verma_1.pdf14. Paresh Verma_1.pdf
14. Paresh Verma_1.pdf
 

Recently uploaded

SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
khuleseema60
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 

Recently uploaded (20)

SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025MDP on air pollution of class 8 year 2024-2025
MDP on air pollution of class 8 year 2024-2025
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 

ICAR-IFPRI: Multiple regressions prof anderson inference lecture - Devesh Roy

  • 1. Economics 20 - Prof. Anderson 1 Multiple Regression Analysis y = b0 + b1x1 + b2x2 + . . . bkxk + u 2. Inference
  • 2. Gauss Markov Assumptions Economics 20 - Prof. Anderson 2
  • 3. Economics 20 - Prof. Anderson 3 Assumptions of the Classical Linear Model (CLM) Given the Gauss-Markov assumptions, OLS is BLUE, In order to do classical hypothesis testing, we need to add another assumption (beyond the Gauss-Markov assumptions) Assume that u is independent of x1, x2,…, xk and u is normally distributed with zero mean and variance s2: u ~ Normal(0,s2)
  • 4. Economics 20 - Prof. Anderson 4 CLM Assumptions (cont) Under CLM, OLS is not only BLUE, but is the minimum variance unbiased estimator We can summarize the population assumptions of CLM as follows y|x ~ Normal(b0 + b1x1 +…+ bkxk, s2) While for now we just assume normality, clear that sometimes not the case Large samples will let us drop normality
  • 5. Economics 20 - Prof. Anderson 5 . . x1 x2 The homoskedastic normal distribution with a single explanatory variable E(y|x) = b0 + b1x y f(y|x) Normal distributions
  • 6. Economics 20 - Prof. Anderson 6 Normal Sampling Distributions          errorstheofncombinatiolinearais itbecausenormallyddistributeisˆ 0,1Normal~ˆ ˆ thatso,ˆ,Normal~ˆ st variableindependentheofvaluessamplethe onlconditionas,assumptionCLMUnder the jb b bb bbb j jj jjj sd Var 
  • 7. Economics 20 - Prof. Anderson 7 The t Test     1:freedomofdegreestheNote ˆbyestimatetohavewebecause normal)(vsondistributiaisthisNote ~ˆ ˆ sassumptionCLMUnder the 22 1 j    kn t t se kn j j ss b bb
  • 8. Economics 20 - Prof. Anderson 8 The t Test (cont) Knowing the sampling distribution for the standardized estimator allows us to carry out hypothesis tests Start with a null hypothesis For example, H0: bj=0 If do not reject null, then xj has no effect on y, controlling for other x’s
  • 9. Economics 20 - Prof. Anderson 9 The t Test (cont)   0 ˆj H,hypothesisnullaccept the owhether tdeterminetorulerejectiona withalongstatisticourusethenwillWe ˆ ˆ :ˆforstatisticthe"" formtoneedfirsteour test wperformTo t se tt j j j b b b b 
  • 10. Economics 20 - Prof. Anderson 10 t Test: One-Sided Alternatives Besides our null, H0, we need an alternative hypothesis, H1, and a significance level H1 may be one-sided, or two-sided H1: bj > 0 and H1: bj < 0 are one-sided H1: bj  0 is a two-sided alternative 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%
  • 11. Economics 20 - Prof. Anderson 11 One-Sided Alternatives (cont) Having picked a significance level, a, we look up the (1 – a)th percentile in a t distribution with n – k – 1 df and call this c, the critical value We can reject the null hypothesis if the t statistic is greater than the critical value If the t statistic is less than the critical value then we fail to reject the null
  • 12. Economics 20 - Prof. Anderson 12 yi = b0 + b1xi1 + … + bkxik + ui H0: bj = 0 H1: bj > 0 c0 a1  a One-Sided Alternatives (cont) Fail to reject reject
  • 13. Economics 20 - Prof. Anderson 13 One-sided vs Two-sided Because the t distribution is symmetric, testing H1: bj < 0 is straightforward. The critical value is just the negative of before We can reject the null if the t statistic < –c, and if the t statistic > than –c then we fail to reject the null For a two-sided test, we set the critical value based on a/2 and reject H1: bj  0 if the absolute value of the t statistic > c
  • 14. Economics 20 - Prof. Anderson 14 yi = b0 + b1Xi1 + … + bkXik + ui H0: bj = 0 H1: bj > 0 c0 a/21  a -c a/2 Two-Sided Alternatives reject reject fail to reject
  • 15. Economics 20 - Prof. Anderson 15 Summary for H0: bj = 0 Unless otherwise stated, the alternative is assumed to be two-sided If we reject the null, we typically say “xj is statistically significant at the a % level” If we fail to reject the null, we typically say “xj is statistically insignificant at the a % level”
  • 16. Economics 20 - Prof. Anderson 16 Testing other hypotheses A more general form of the t statistic recognizes that we may want to test something like H0: bj = aj In this case, the appropriate t statistic is     teststandardfor the0 where,ˆ ˆ    j j jj a se a t b b
  • 17. Economics 20 - Prof. Anderson 17 Confidence Intervals Another way to use classical statistical testing is to construct a confidence interval using the same critical value as was used for a two-sided test A (1 - a) % confidence interval is defined as   ondistributiain percentile 2 -1theiscwhere,ˆˆ 1        kn jj t sec a bb
  • 18. Economics 20 - Prof. Anderson 18 Computing p-values for t tests An alternative to the classical approach is to ask, “what is the smallest significance level at which the null would be rejected?” So, compute the t statistic, and then look up what percentile it is in the appropriate t distribution – this is the p-value p-value is the probability we would observe the t statistic we did, if the null were true
  • 19. Economics 20 - Prof. Anderson 19 Stata and p-values, t tests, etc. Most computer packages will compute the p-value for you, assuming a two-sided test If you really want a one-sided alternative, just divide the two-sided p-value by 2 Stata provides the t statistic, p-value, and 95% confidence interval for H0: bj = 0 for you, in columns labeled “t”, “P > |t|” and “[95% Conf. Interval]”, respectively
  • 20. Economics 20 - Prof. Anderson 20 Testing a Linear Combination Suppose instead of testing whether b1 is equal to a constant, you want to test if it is equal to another parameter, that is H0 : b1 = b2 Use same basic procedure for forming a t statistic  21 21 ˆˆ ˆˆ bb bb    se t
  • 21. Economics 20 - Prof. Anderson 21 Testing Linear Combo (cont)                       2112 2 1 12 2 2 2 121 212121 2121 ˆ,ˆofestimateaniswhere 2ˆˆˆˆ ˆ,ˆ2ˆˆˆˆ then,ˆˆˆˆ Since bb bbbb bbbbbb bbbb Covs ssesese CovVarVarVar Varse   
  • 22. Economics 20 - Prof. Anderson 22 Testing a Linear Combo (cont) So, to use formula, need s12, which standard output does not have Many packages will have an option to get it, or will just perform the test for you In Stata, after reg y x1 x2 … xk you would type test x1 = x2 to get a p-value for the test More generally, you can always restate the problem to get the test you want
  • 23. Economics 20 - Prof. Anderson 23 Example (cont): Now you get a standard error for b1 – b2 = q1 directly from the basic regression Any linear combination of parameters could be tested in a similar manner Other examples of hypotheses about a single linear combination of parameters:  b1 = 1 + b2 ; b1 = 5b2 ; b1 = -1/2b2 ; etc
  • 24. Economics 20 - Prof. Anderson 24 Multiple Linear Restrictions Everything we’ve done so far has involved testing a single linear restriction, (e.g. b1 = 0 or b1 = b2 ) However, we may want to jointly test multiple hypotheses about our parameters A typical example is testing “exclusion restrictions” – we want to know if a group of parameters are all equal to zero
  • 25. Economics 20 - Prof. Anderson 25 Testing Exclusion Restrictions Now the null hypothesis might be something like H0: bk-q+1 = 0, ... , bk = 0 The alternative is just H1: H0 is not true Can’t just check each t statistic separately, because we want to know if the q parameters are jointly significant at a given level – it is possible for none to be individually significant at that level
  • 26. Economics 20 - Prof. Anderson 26 Exclusion Restrictions (cont) To do the test we need to estimate the “restricted model” without xk-q+1,, …, xk included, as well as the “unrestricted model” with all x’s included Intuitively, we want to know if the change in SSR is big enough to warrant inclusion of xk-q+1,, …, xk     edunrestrictisurandrestrictedisr where, 1   knSSR qSSRSSR F ur urr
  • 27. Economics 20 - Prof. Anderson 27 The F statistic The F statistic is always positive, since the SSR from the restricted model can’t be less than the SSR from the unrestricted Essentially the F statistic is measuring the relative increase in SSR when moving from the unrestricted to restricted model q = number of restrictions, or dfr – dfur n – k – 1 = dfur
  • 28. Economics 20 - Prof. Anderson 28 The F statistic (cont) To decide if the increase in SSR when we move to a restricted model is “big enough” to reject the exclusions, we need to know about the sampling distribution of our F stat Not surprisingly, F ~ Fq,n-k-1, where q is referred to as the numerator degrees of freedom and n – k – 1 as the denominator degrees of freedom
  • 29. Economics 20 - Prof. Anderson 29 0 c a1  a f(F) F The F statistic (cont) reject fail to reject Reject H0 at a significance level if F > c
  • 30. Economics 20 - Prof. Anderson 30 The R2 form of the F statistic Because the SSR’s may be large and unwieldy, an alternative form of the formula is useful We use the fact that SSR = SST(1 – R2) for any regression, so can substitute in for SSRu and SSRur       edunrestrictisurandrestrictedisr againwhere, 11 2 22    knR qRR F ur rur
  • 31. Economics 20 - Prof. Anderson 31 Overall Significance A special case of exclusion restrictions is to test H0: b1 = b2 =…= bk = 0 Since the R2 from a model with only an intercept will be zero, the F statistic is simply    11 2 2   knR kR F
  • 32. Economics 20 - Prof. Anderson 32 General Linear Restrictions The basic form of the F statistic will work for any set of linear restrictions First estimate the unrestricted model and then estimate the restricted model In each case, make note of the SSR Imposing the restrictions can be tricky – will likely have to redefine variables again
  • 33. Economics 20 - Prof. Anderson 33 F Statistic Summary Just as with t statistics, p-values can be calculated by looking up the percentile in the appropriate F distribution Stata will do this by entering: display fprob(q, n – k – 1, F), where the appropriate values of F, q,and n – k – 1 are used If only one exclusion is being tested, then F = t2, and the p-values will be the same