SlideShare a Scribd company logo
Multiple Regression Analysis




          Economics 20 - Prof. Anderson   1
Multiple Regression Analysis
  y = β0 + β1x1 + β2x2 + . . . βkxk +
 u




              Economics 20 - Prof. Anderson   1
Multiple Regression Analysis
  y = β0 + β1x1 + β2x2 + . . . βkxk +
 u

 2. Inference

              Economics 20 - Prof. Anderson   1
Assumptions of the Classical
Linear Model (CLM)
   So far, we know that 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 σ2: u ~ Normal(0,σ2)

               Economics 20 - Prof. Anderson   2
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(β0 + β1x1 +…+ βkxk, σ2)
   While for now we just assume normality,
  clear that sometimes not the case
   Large samples will let us drop normality

              Economics 20 - Prof. Anderson   3
The homoskedastic normal distribution with
a single explanatory variable
                          y
 f(y|x)


                                               . E(y|x) = β + β x
                   .
                                                             0   1




                Normal
                distribution
                s
          x1       x2
               Economics 20 - Prof. Anderson             4
Normal Sampling Distributions




           Economics 20 - Prof. Anderson   5
The t Test




             Economics 20 - Prof. Anderson   6
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: βj=0
   If accept null, then accept that xj has no
  effect on y, controlling for other x’s

                Economics 20 - Prof. Anderson   7
The t Test (cont)




            Economics 20 - Prof. Anderson   8
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: βj > 0 and H1: βj < 0 are one-sided
   H1: βj ≠ 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   9
One-Sided Alternatives (cont)
   Having picked a significance level, α, we
  look up the (1 – α)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   10
One-Sided Alternatives (cont)
yi = β0 + β1xi1 + … + βkxik + ui

H0: βj = 0                                       H1: βj > 0

Fail to reject
                                                        reject
                   (1 − α)                                 α

                            0                       c
                 Economics 20 - Prof. Anderson              11
One-sided vs Two-sided
   Because the t distribution is symmetric,
  testing H1: βj < 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 α/2 and reject H1: βj ≠ 0 if
  the absolute value of the t statistic > c
                Economics 20 - Prof. Anderson   12
Two-Sided Alternatives
 yi = β0 + β1Xi1 + … + βkXik + ui

 H0: βj = 0                                  H1: βj ≠ 0
                fail to reject

reject                                               reject
     α/2            (1 − α)                            α/2

           -c               0                    c
                 Economics 20 - Prof. Anderson           13
Summary for H0: βj = 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 α % level”
   If we fail to reject the null, we typically say
  “xj is statistically insignificant at the α %
  level”

                Economics 20 - Prof. Anderson   14
Testing other hypotheses
  A more general form of the t statistic
  recognizes that we may want to test
  something like H0: βj = aj
  In this case, the appropriate t statistic is




                Economics 20 - Prof. Anderson   15
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 - α) % confidence interval is defined as




                  Economics 20 - Prof. Anderson   16
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   17
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: βj = 0 for
  you, in columns labeled “t”, “P > |t|” and
  “[95% Conf. Interval]”, respectively

                Economics 20 - Prof. Anderson   18
Testing a Linear Combination
   Suppose instead of testing whether β1 is equal to a
  constant, you want to test if it is equal to another
  parameter, that is H0 : β1 = β2
  Use same basic procedure for forming a t statistic




                 Economics 20 - Prof. Anderson   19
Testing Linear Combo (cont)




           Economics 20 - Prof. Anderson   20
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   21
Example:
   Suppose you are interested in the effect of
  campaign expenditures on outcomes
   Model is voteA = β0 + β1log(expendA) +
  β2log(expendB) + β3prtystrA + u
  H0: β1 = - β2, or H0: θ1 = β1 + β2 = 0
  β1 = θ1 – β2, so substitute in and rearrange
  ⇒ voteA = β0 + θ1log(expendA) +
  β2log(expendB - expendA) + β3prtystrA + u
               Economics 20 - Prof. Anderson   22
Example (cont):
   This is the same model as originally, but
  now you get a standard error for β1 – β2 = θ1
  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:
     β1 = 1 + β2 ; β1 = 5β2 ; β1 = -1/2β2 ; etc

                   Economics 20 - Prof. Anderson   23
Multiple Linear Restrictions
   Everything we’ve done so far has involved
  testing a single linear restriction, (e.g. β1 = 0
  or β1 = β2 )
   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   24
Testing Exclusion Restrictions
   Now the null hypothesis might be
  something like H0: βk-q+1 = 0, ... , βk = 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   25
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




                 Economics 20 - Prof. Anderson   26
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   27
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   28
The F statistic (cont)
f(F)                                      Reject H0 at α
        fail to reject                     significance
                                          level
                                           if F > c
                                    reject
       (1 − α)               α
 0                    c                            F
                   Economics 20 - Prof. Anderson       29
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




                Economics 20 - Prof. Anderson   30
Overall Significance
  A special case of exclusion restrictions is to test
  H0: β1 = β2 =…= βk = 0
  Since the R2 from a model with only an intercept
  will be zero, the F statistic is simply




                  Economics 20 - Prof. Anderson   31
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   32
Example:
  Use same voting model as before
  Model is voteA = β0 + β1log(expendA) +
  β2log(expendB) + β3prtystrA + u
  now null is H0: β1 = 1, β3 = 0
  Substituting in the restrictions: voteA = β0
  + log(expendA) + β2log(expendB) + u, so
  Use voteA - log(expendA) = β0 +
  β2log(expendB) + u as restricted model
               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

               Economics 20 - Prof. Anderson   34

More Related Content

What's hot

Diagnostic methods for Building the regression model
Diagnostic methods for Building the regression modelDiagnostic methods for Building the regression model
Diagnostic methods for Building the regression model
Mehdi Shayegani
 
Spanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimationSpanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimation
jemille6
 
Nec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random processNec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random process
Dr Naim R Kidwai
 
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluationA. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
jemille6
 
Regression
Regression  Regression
Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009ayimsevenfold
 
Introduction to Discrete Random Variables
Introduction to Discrete Random VariablesIntroduction to Discrete Random Variables
Introduction to Discrete Random Variables
JJkedst
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
nszakir
 
Probability Distributions for Discrete Variables
Probability Distributions for Discrete VariablesProbability Distributions for Discrete Variables
Probability Distributions for Discrete Variables
getyourcheaton
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
Michael Ogoy
 
Spurious correlation (updated)
Spurious correlation (updated)Spurious correlation (updated)
Spurious correlation (updated)
jemille6
 
161783709 chapter-04-answers
161783709 chapter-04-answers161783709 chapter-04-answers
161783709 chapter-04-answers
Firas Husseini
 
Econometrics 2017-graduate-3
Econometrics 2017-graduate-3Econometrics 2017-graduate-3
Econometrics 2017-graduate-3
Arthur Charpentier
 
Statistics and probability pp
Statistics and  probability ppStatistics and  probability pp
Statistics and probability pp
Ruby Vidal
 
Probability and probability distributions ppt @ bec doms
Probability and probability distributions ppt @ bec domsProbability and probability distributions ppt @ bec doms
Probability and probability distributions ppt @ bec doms
Babasab Patil
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributionsmandalina landy
 
Chap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distributionChap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distribution
Judianto Nugroho
 
Lecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized AlgorithmsLecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized AlgorithmsAnshul Yadav
 
Statistics lecture 5 (ch4)
Statistics lecture 5 (ch4)Statistics lecture 5 (ch4)
Statistics lecture 5 (ch4)
jillmitchell8778
 
8 random variable
8 random variable8 random variable
8 random variable
Juan Apolinario Reyes
 

What's hot (20)

Diagnostic methods for Building the regression model
Diagnostic methods for Building the regression modelDiagnostic methods for Building the regression model
Diagnostic methods for Building the regression model
 
Spanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimationSpanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimation
 
Nec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random processNec 602 unit ii Random Variables and Random process
Nec 602 unit ii Random Variables and Random process
 
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluationA. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
A. Spanos Probability/Statistics Lecture Notes 5: Post-data severity evaluation
 
Regression
Regression  Regression
Regression
 
Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009Chapter 2 discrete_random_variable_2009
Chapter 2 discrete_random_variable_2009
 
Introduction to Discrete Random Variables
Introduction to Discrete Random VariablesIntroduction to Discrete Random Variables
Introduction to Discrete Random Variables
 
Chapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random VariablesChapter 4 part3- Means and Variances of Random Variables
Chapter 4 part3- Means and Variances of Random Variables
 
Probability Distributions for Discrete Variables
Probability Distributions for Discrete VariablesProbability Distributions for Discrete Variables
Probability Distributions for Discrete Variables
 
Mean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random VariableMean, variance, and standard deviation of a Discrete Random Variable
Mean, variance, and standard deviation of a Discrete Random Variable
 
Spurious correlation (updated)
Spurious correlation (updated)Spurious correlation (updated)
Spurious correlation (updated)
 
161783709 chapter-04-answers
161783709 chapter-04-answers161783709 chapter-04-answers
161783709 chapter-04-answers
 
Econometrics 2017-graduate-3
Econometrics 2017-graduate-3Econometrics 2017-graduate-3
Econometrics 2017-graduate-3
 
Statistics and probability pp
Statistics and  probability ppStatistics and  probability pp
Statistics and probability pp
 
Probability and probability distributions ppt @ bec doms
Probability and probability distributions ppt @ bec domsProbability and probability distributions ppt @ bec doms
Probability and probability distributions ppt @ bec doms
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Chap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distributionChap04 discrete random variables and probability distribution
Chap04 discrete random variables and probability distribution
 
Lecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized AlgorithmsLecture 2-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized Algorithms
 
Statistics lecture 5 (ch4)
Statistics lecture 5 (ch4)Statistics lecture 5 (ch4)
Statistics lecture 5 (ch4)
 
8 random variable
8 random variable8 random variable
8 random variable
 

Similar to Presentation

Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Omnia A. Abdullah
 
qm2CHAP12.ppt
qm2CHAP12.pptqm2CHAP12.ppt
qm2CHAP12.ppt
HieuNguyen477759
 
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
jemille6
 
dougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptxdougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptx
Jorge329435
 
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
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptx
akashayosha
 
Ali, Redescending M-estimator
Ali, Redescending M-estimator Ali, Redescending M-estimator
Ali, Redescending M-estimator
Muhammad Ali
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data Analysis
NBER
 
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptxBIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
Payaamvohra1
 
On non-negative unbiased estimators
On non-negative unbiased estimatorsOn non-negative unbiased estimators
On non-negative unbiased estimators
Pierre Jacob
 
Chapter1
Chapter1Chapter1
Estimation rs
Estimation rsEstimation rs
Estimation rs
meharahutsham
 
Slides ensae-2016-9
Slides ensae-2016-9Slides ensae-2016-9
Slides ensae-2016-9
Arthur Charpentier
 
After quiz 2
After quiz 2After quiz 2
After quiz 2
Gopi Saiteja
 
Linear Regression
Linear RegressionLinear Regression
Linear Regression
Michael770443
 
4_logit_printable_.pdf
4_logit_printable_.pdf4_logit_printable_.pdf
4_logit_printable_.pdf
Elio Laureano
 
(Theory)1 A statistical hypothesis is (TFTFTF.docx
 (Theory)1 A statistical hypothesis is (TFTFTF.docx (Theory)1 A statistical hypothesis is (TFTFTF.docx
(Theory)1 A statistical hypothesis is (TFTFTF.docx
aryan532920
 
Categorical data analysis full lecture note PPT.pptx
Categorical data analysis full lecture note  PPT.pptxCategorical data analysis full lecture note  PPT.pptx
Categorical data analysis full lecture note PPT.pptx
MinilikDerseh1
 
Chapter11
Chapter11Chapter11
Chapter11
Richard Ferreria
 

Similar to Presentation (20)

Discrete Mathematics - All chapters
Discrete Mathematics - All chapters Discrete Mathematics - All chapters
Discrete Mathematics - All chapters
 
qm2CHAP12.ppt
qm2CHAP12.pptqm2CHAP12.ppt
qm2CHAP12.ppt
 
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
Mayo Slides: Part I Meeting #2 (Phil 6334/Econ 6614)
 
dougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptxdougherty5e_C02G06_2016_04_19.pptx
dougherty5e_C02G06_2016_04_19.pptx
 
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
 
Advanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptxAdvanced Econometrics L5-6.pptx
Advanced Econometrics L5-6.pptx
 
Ali, Redescending M-estimator
Ali, Redescending M-estimator Ali, Redescending M-estimator
Ali, Redescending M-estimator
 
Big Data Analysis
Big Data AnalysisBig Data Analysis
Big Data Analysis
 
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptxBIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
 
On non-negative unbiased estimators
On non-negative unbiased estimatorsOn non-negative unbiased estimators
On non-negative unbiased estimators
 
Chapter1
Chapter1Chapter1
Chapter1
 
Estimation rs
Estimation rsEstimation rs
Estimation rs
 
Powerpoint2.reg
Powerpoint2.regPowerpoint2.reg
Powerpoint2.reg
 
Slides ensae-2016-9
Slides ensae-2016-9Slides ensae-2016-9
Slides ensae-2016-9
 
After quiz 2
After quiz 2After quiz 2
After quiz 2
 
Linear Regression
Linear RegressionLinear Regression
Linear Regression
 
4_logit_printable_.pdf
4_logit_printable_.pdf4_logit_printable_.pdf
4_logit_printable_.pdf
 
(Theory)1 A statistical hypothesis is (TFTFTF.docx
 (Theory)1 A statistical hypothesis is (TFTFTF.docx (Theory)1 A statistical hypothesis is (TFTFTF.docx
(Theory)1 A statistical hypothesis is (TFTFTF.docx
 
Categorical data analysis full lecture note PPT.pptx
Categorical data analysis full lecture note  PPT.pptxCategorical data analysis full lecture note  PPT.pptx
Categorical data analysis full lecture note PPT.pptx
 
Chapter11
Chapter11Chapter11
Chapter11
 

More from Joshua Kim

Final Josh Kim Counterpoint Educause December 09
Final Josh Kim Counterpoint Educause December 09Final Josh Kim Counterpoint Educause December 09
Final Josh Kim Counterpoint Educause December 09
Joshua Kim
 
flip camera and google presenter
flip camera and google presenterflip camera and google presenter
flip camera and google presenterJoshua Kim
 
Lecture on Education System for Sociology 1
Lecture on Education System for Sociology 1Lecture on Education System for Sociology 1
Lecture on Education System for Sociology 1
Joshua Kim
 
Lecture On The Family
Lecture On The FamilyLecture On The Family
Lecture On The FamilyJoshua Kim
 
Becoming an Educational Change
Becoming an Educational ChangeBecoming an Educational Change
Becoming an Educational Change
Joshua Kim
 
Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08
Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08
Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08
Joshua Kim
 
The 21st Century Campus: Are We There Yet? Challenges and Opportunities for ...
The 21st Century Campus: Are We There Yet?  Challenges and Opportunities for ...The 21st Century Campus: Are We There Yet?  Challenges and Opportunities for ...
The 21st Century Campus: Are We There Yet? Challenges and Opportunities for ...Joshua Kim
 

More from Joshua Kim (8)

Final Josh Kim Counterpoint Educause December 09
Final Josh Kim Counterpoint Educause December 09Final Josh Kim Counterpoint Educause December 09
Final Josh Kim Counterpoint Educause December 09
 
flip camera and google presenter
flip camera and google presenterflip camera and google presenter
flip camera and google presenter
 
Lecture on Education System for Sociology 1
Lecture on Education System for Sociology 1Lecture on Education System for Sociology 1
Lecture on Education System for Sociology 1
 
Lecture On The Family
Lecture On The FamilyLecture On The Family
Lecture On The Family
 
Becoming an Educational Change
Becoming an Educational ChangeBecoming an Educational Change
Becoming an Educational Change
 
keynote_jing
keynote_jingkeynote_jing
keynote_jing
 
Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08
Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08
Shigeru Miyagawa talk at Dartmouth on OpenCourseWare 11/7/08
 
The 21st Century Campus: Are We There Yet? Challenges and Opportunities for ...
The 21st Century Campus: Are We There Yet?  Challenges and Opportunities for ...The 21st Century Campus: Are We There Yet?  Challenges and Opportunities for ...
The 21st Century Campus: Are We There Yet? Challenges and Opportunities for ...
 

Recently uploaded

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
ShivajiThube2
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 

Recently uploaded (20)

Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 

Presentation

  • 1. Multiple Regression Analysis Economics 20 - Prof. Anderson 1
  • 2. Multiple Regression Analysis y = β0 + β1x1 + β2x2 + . . . βkxk + u Economics 20 - Prof. Anderson 1
  • 3. Multiple Regression Analysis y = β0 + β1x1 + β2x2 + . . . βkxk + u 2. Inference Economics 20 - Prof. Anderson 1
  • 4. Assumptions of the Classical Linear Model (CLM) So far, we know that 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 σ2: u ~ Normal(0,σ2) Economics 20 - Prof. Anderson 2
  • 5. 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(β0 + β1x1 +…+ βkxk, σ2) While for now we just assume normality, clear that sometimes not the case Large samples will let us drop normality Economics 20 - Prof. Anderson 3
  • 6. The homoskedastic normal distribution with a single explanatory variable y f(y|x) . E(y|x) = β + β x . 0 1 Normal distribution s x1 x2 Economics 20 - Prof. Anderson 4
  • 7. Normal Sampling Distributions Economics 20 - Prof. Anderson 5
  • 8. The t Test Economics 20 - Prof. Anderson 6
  • 9. 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: βj=0 If accept null, then accept that xj has no effect on y, controlling for other x’s Economics 20 - Prof. Anderson 7
  • 10. The t Test (cont) Economics 20 - Prof. Anderson 8
  • 11. 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: βj > 0 and H1: βj < 0 are one-sided H1: βj ≠ 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 9
  • 12. One-Sided Alternatives (cont) Having picked a significance level, α, we look up the (1 – α)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 10
  • 13. One-Sided Alternatives (cont) yi = β0 + β1xi1 + … + βkxik + ui H0: βj = 0 H1: βj > 0 Fail to reject reject (1 − α) α 0 c Economics 20 - Prof. Anderson 11
  • 14. One-sided vs Two-sided Because the t distribution is symmetric, testing H1: βj < 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 α/2 and reject H1: βj ≠ 0 if the absolute value of the t statistic > c Economics 20 - Prof. Anderson 12
  • 15. Two-Sided Alternatives yi = β0 + β1Xi1 + … + βkXik + ui H0: βj = 0 H1: βj ≠ 0 fail to reject reject reject α/2 (1 − α) α/2 -c 0 c Economics 20 - Prof. Anderson 13
  • 16. Summary for H0: βj = 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 α % level” If we fail to reject the null, we typically say “xj is statistically insignificant at the α % level” Economics 20 - Prof. Anderson 14
  • 17. Testing other hypotheses A more general form of the t statistic recognizes that we may want to test something like H0: βj = aj In this case, the appropriate t statistic is Economics 20 - Prof. Anderson 15
  • 18. 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 - α) % confidence interval is defined as Economics 20 - Prof. Anderson 16
  • 19. 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 17
  • 20. 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: βj = 0 for you, in columns labeled “t”, “P > |t|” and “[95% Conf. Interval]”, respectively Economics 20 - Prof. Anderson 18
  • 21. Testing a Linear Combination Suppose instead of testing whether β1 is equal to a constant, you want to test if it is equal to another parameter, that is H0 : β1 = β2 Use same basic procedure for forming a t statistic Economics 20 - Prof. Anderson 19
  • 22. Testing Linear Combo (cont) Economics 20 - Prof. Anderson 20
  • 23. 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 21
  • 24. Example: Suppose you are interested in the effect of campaign expenditures on outcomes Model is voteA = β0 + β1log(expendA) + β2log(expendB) + β3prtystrA + u H0: β1 = - β2, or H0: θ1 = β1 + β2 = 0 β1 = θ1 – β2, so substitute in and rearrange ⇒ voteA = β0 + θ1log(expendA) + β2log(expendB - expendA) + β3prtystrA + u Economics 20 - Prof. Anderson 22
  • 25. Example (cont): This is the same model as originally, but now you get a standard error for β1 – β2 = θ1 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:  β1 = 1 + β2 ; β1 = 5β2 ; β1 = -1/2β2 ; etc Economics 20 - Prof. Anderson 23
  • 26. Multiple Linear Restrictions Everything we’ve done so far has involved testing a single linear restriction, (e.g. β1 = 0 or β1 = β2 ) 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 24
  • 27. Testing Exclusion Restrictions Now the null hypothesis might be something like H0: βk-q+1 = 0, ... , βk = 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 25
  • 28. 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 Economics 20 - Prof. Anderson 26
  • 29. 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 27
  • 30. 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 28
  • 31. The F statistic (cont) f(F) Reject H0 at α fail to reject significance level if F > c reject (1 − α) α 0 c F Economics 20 - Prof. Anderson 29
  • 32. 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 Economics 20 - Prof. Anderson 30
  • 33. Overall Significance A special case of exclusion restrictions is to test H0: β1 = β2 =…= βk = 0 Since the R2 from a model with only an intercept will be zero, the F statistic is simply Economics 20 - Prof. Anderson 31
  • 34. 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 32
  • 35. Example: Use same voting model as before Model is voteA = β0 + β1log(expendA) + β2log(expendB) + β3prtystrA + u now null is H0: β1 = 1, β3 = 0 Substituting in the restrictions: voteA = β0 + log(expendA) + β2log(expendB) + u, so Use voteA - log(expendA) = β0 + β2log(expendB) + u as restricted model Economics 20 - Prof. Anderson 33
  • 36. 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 Economics 20 - Prof. Anderson 34