Lecture 3 Learning to Use Regression Analysis اقتصادسنجيا © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies,

Slides:



Advertisements
Similar presentations
Copyright © Cengage Learning. All rights reserved.
Advertisements

Chapter 12 Keynesian Business Cycle Theory: Sticky Wages and Prices.
Copyright © 2006 Pearson Addison-Wesley. All rights reserved. Lecture 2: Econometrics (Chapter 2.1–2.7)
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Introductory Mathematics & Statistics for Business
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
STATISTICS HYPOTHESES TEST (III) Nonparametric Goodness-of-fit (GOF) tests Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering.
1 The Academic Profession and the Managerial University: An International Comparative Study from Japan Akira Arimoto Research Institute for Higher Education.
BUS 220: ELEMENTARY STATISTICS
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
Determine Eligibility Chapter 4. Determine Eligibility 4-2 Objectives Search for Customer on database Enter application signed date and eligibility determination.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Overview of Lecture Partitioning Evaluating the Null Hypothesis ANOVA
Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
1 Correlation and Simple Regression. 2 Introduction Interested in the relationships between variables. What will happen to one variable if another is.
1 Discreteness and the Welfare Cost of Labour Supply Tax Distortions Keshab Bhattarai University of Hull and John Whalley Universities of Warwick and Western.
Solve Multi-step Equations
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
EC220 - Introduction to econometrics (chapter 1)
Chapter 4: Basic Estimation Techniques
Copyright © Cengage Learning. All rights reserved.
3/2003 Rev 1 I – slide 1 of 33 Session I Part I Review of Fundamentals Module 2Basic Physics and Mathematics Used in Radiation Protection.
Chapter 3 Learning to Use Regression Analysis Copyright © 2011 Pearson Addison-Wesley. All rights reserved. Slides by Niels-Hugo Blunch Washington and.
Secondary Data, Literature Reviews, and Hypotheses
Chapter 4 Systems of Linear Equations; Matrices
Quantitative Methods II
ABC Technology Project
VOORBLAD.
2009 Foster School of Business Cost Accounting L.DuCharme 1 Determining How Costs Behave Chapter 10.
EC220 - Introduction to econometrics (review chapter)
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
© 2012 National Heart Foundation of Australia. Slide 2.
Statistical Analysis SC504/HS927 Spring Term 2008
Lecture Unit Multiple Regression.
Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1 Section 5.4 Polynomials in Several Variables Copyright © 2013, 2009, 2006 Pearson Education, Inc.
Science as a Process Chapter 1 Section 2.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
Polynomial Functions of Higher Degree
Januar MDMDFSSMDMDFSSS
Chapter 2 Functions and Graphs
Determining How Costs Behave
Statistical Inferences Based on Two Samples
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Copyright © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 15 2 k Factorial Experiments and Fractions.
Intracellular Compartments and Transport
PSSA Preparation.
Chapter 11: The t Test for Two Related Samples
Experimental Design and Analysis of Variance
Essential Cell Biology
Simple Linear Regression Analysis
Copyright © 2012 by Nelson Education Limited. Chapter 13 Association Between Variables Measured at the Interval-Ratio Level 13-1.
Correlation and Linear Regression
Multiple Regression and Model Building
Copyright © 2011 Pearson Education, Inc. Logarithmic Functions Chapter 11.
BCOR 1020 Business Statistics Lecture 24 – April 17, 2008.
What Is Hypothesis Testing?
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Six.
Managerial Economics Demand Estimation & Forecasting.
Roger B. Hammer Assistant Professor Department of Sociology Oregon State University Conducting Social Research Ordinary Least Squares Regression.
Dr. Yoke Muelgini, M.Sc. Jurusan Ekonomi dan Studi Pembangunan Fakultas Ekonomi dan Bisnis Universitas Lampung 2012 FEB Unila Course on ESP 434 Monetary.
Lecture 7: What is Regression Analysis? BUEC 333 Summer 2009 Simon Woodcock.
Presentation transcript:

Lecture 3 Learning to Use Regression Analysis اقتصادسنجيا © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 1

Steps in Applied Regression Analysis The first step is choosing the dependent variable – this step is determined by the purpose of the research (see Chapter 11 for details) After choosing the dependent variable, its logical to follow the following sequence: 1. Review the literature and develop the theoretical model 2. Specify the model: Select the independent variables and the functional form 3. Hypothesize the expected signs of the coefficients 4. Collect the data. Inspect and clean the data 5. Estimate and evaluate the equation 6. Document the results © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 2

Step 1: Review the Literature and Develop the Theoretical Model Perhaps counter intuitively, a strong theoretical foundation is the best start for any empirical project Reason: main econometric decisions are determined by the underlying theoretical model Useful starting points: – Journal of Economic Literature or a business oriented publication of abstracts – Internet search, including Google Scholar – EconLit, an electronic bibliography of economics literature (for more details go to © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 3

Step 2: Specify the Model: Independent Variables and Functional Form After selecting the dependent variable, the specification of a model involves choosing the following components: 1. the independent variables and how they should be measured, 2. the functional (mathematical) form of the variables, and 3. the properties of the stochastic error term © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 4

Step 2: Specify the Model: Independent Variables and Functional Form (cont.) A mistake in any of the three elements results in a specification error For example, only theoretically relevant explanatory variables should be included Even so, researchers frequently have to make choices –also denoted imposing their priors Example: when estimating a demand equation, theory informs us that prices of complements and substitutes of the good in question are important explanatory variables But which complementsand which substitutes? © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 5

Step 2: Specify the Model: Independent Variables and Functional Form (cont.) Once the variables are selected, its important to hypothesize the expected signs of the regression coefficients Example: demand equation for a final consumption good First, state the demand equation as a general function: (3.2) The signs above the variables indicate the hypothesized sign of the respective regression coefficient in a linear model. © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 6

Step 4: Collect the Data & Inspect and Clean the Data A general rule regarding sample size is the more observations the better as long as the observations are from the same general population! The reason for this goes back to notion of degrees of freedom (mentioned first in Section 2.4) When there are more degrees of freedom: Every positive error is likely to be balanced by a negative error (see Figure 3.2) The estimated regression coefficients are estimated with a Precision © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 7

Figure 3.1 Mathematical Fit of a Line to Two Points © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 8

Figure 3.2 Statistical Fit of a Line to Three Points © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 9

Step 4: Collect the Data & Inspect and Clean the Data (vcont.) Estimate model using the data in Table 2.2 to get: Inspecting the dataobtain a printout or plot (graph) of the data Reason: to look for outliers – An outlier is an observation that lies outside the range of the rest of the observations Examples: – Does a student have a 7.0 GPA on a 4.0 scale? – Is consumption negative? © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 10

Step 5: Estimate and Evaluate the Equation Once steps 1–4 have been completed, the estimation part is quick – using Eviews or Stata to estimate an OLS regression takes less than a second! The evaluation part is more tricky, however, involving answering the following questions: – How well did the equation fit the data? – Were the signs and magnitudes of the estimated coefficients as expected? Afterwards may add sensitivity analysis (see Section 6.4 for details) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 11

Step 6: Document the Results A standard format usually is used to present estimated regression results: (3.3) The number in parentheses under the estimated coefficient is the estimated standard error of the estimated coefficient, and the t-value is the one used to test the hypothesis that the true value of the coefficient is different from zero on (more this later!) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 12

Case Study: Using Regression Analysis to Pick Restaurant Locations Background: You have been hired to determine the best location for the next Woodys restaurant (a moderately priced, 24- hour, family restaurant chain) Objective: How to decide location using the six basic steps of applied regression analysis, discussed earlier? © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 13

Step 1: Review the Literature and Develop the Theoretical Model Background reading about the restaurant industry Talking to various experts within the firm – All the chains restaurants are identical and located in suburban, retail, or residential environments – So, lack of variation in potential explanatory variables to help determine location – Number of customers most important for locational decision Dependent variable: number of customers (measured by the number of checks or bills) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 14

Step 2: Specify the Model: Independent Variables and Functional Form More discussions with in-house experts reveal three major determinants of sales: – Number of people living near the location – General income level of the location – Number of direct competitors near the location © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 15

Step 2: Specify the Model: Independent Variables and Functional Form Based on this, the exact definitions of the independent variables you decide to include are: – N = Competition: the number of direct competitors within a two mile radius of the Woodys location – P = Population: the number of people living within a three-mile radius of the location – I = Income: the average household income of the population measured in variable P With no reason to suspect anything other than linear functional form and a typical stochastic error term, thats what you decide to use © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 16

Step 3: Hypothesize the Expected Signs of the Coefficients After talking some more with the in-house experts and thinking some more, you come up with the following: (3.4) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 17

Step 4: Collect the Data & Inspect and Clean the Data You manage to obtain data on the dependent and independent variables for all 33 Woodys restaurants Next, you inspect the data The data quality is judged as excellent because: Each manager measures each variable identically All restaurants are included in the sample All information is from the same year The resulting data is as given in Tables 3.1 and 3.3 in the book ( using Eviews and Stata, respectively) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 18

Step 5: Estimate and Evaluate the Equation You take the data set and enter it into the computer You then run an OLS regression (after thinking the model over one last time!) The resulting model is: (3.5) Estimated coefficients are as expected and the fit is reasonable Values for N, P, and I for each potential new location are then obtained and plugged into (3.5) to predict Y © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 19

Step 6: Document the Results The results summarized in Equation 3.5 meet our documentation requirements Hence, you decide that theres no need to take this step any further © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 20

Table 3.1a Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 21

Table 3.1b Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 22

Table 3.1a Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 23

Table 3.2a Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 24

Table 3.2b Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 25

Table 3.3 Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 26

Table 3.3b Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 27

Table 3.4a Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 28

Table 3.4b Data for the Woodys Restaurants Example (Using the Eviews Program) © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 29

Key Terms from Lecture 04 The six steps in applied regression analysis Dummy variable Cross-sectional data set Specification error Degrees of freedom © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 30

The End of Lecture 3 Practice Makes Perfect: Learning to Use Regression Analysis © Dr. Yoke Muelgini, M.Sc. FEB Unila, 2012 Department of Economics and Development Studies, Faculty of Economics and Business, University of Lampung 31