1 Lab Five. 2 Lessons to be Learned “Look before you leap” “Look before you leap” Get a feel for the data using graphical techniques, i.e. exploratory.

Slides:



Advertisements
Similar presentations
COINTEGRATION 1 The next topic is cointegration. Suppose that you have two nonstationary series X and Y and you hypothesize that Y is a linear function.
Advertisements

Augmented Dickey-Fuller Test Equation Dependent Variable: D(LGDPI) Method: Least Squares Sample (adjusted): Included observations: 44 after adjustments.
AUTOCORRELATION 1 The third Gauss-Markov condition is that the values of the disturbance term in the observations in the sample be generated independently.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Three Ending Tuesday, September 11 (Note: You must go over these slides and complete every.
Chapter 4 Using Regression to Estimate Trends Trend Models zLinear trend, zQuadratic trend zCubic trend zExponential trend.
LOGO Analysis of Unemployment Qi Li Trung Le David Petit Brian Weinberg Dwaraka Polakam Doug Skipper-Dotta Team #4.
NBA Statistical Analysis Econ 240A. Intro. to Econometrics. Fall Group 3 Lu Mao Ying Fan Matthew Koson Ryan Knefel Eric Johnson Tyler Nelson Grop.
Angela Sordello Christopher Friedberg Can Shen Hui Lai Hui Wang Fang Guo.
Factors Determining the Price Of Used Mid- Compact Size Vehicles Team 4.
1 Lecture Twelve. 2 Outline Failure Time Analysis Linear Probability Model Poisson Distribution.
TAKE HOME PROJECT 2 Group C: Robert Matarazzo, Michael Stromberg, Yuxing Zhang, Yin Chu, Leslie Wei, and Kurtis Hollar.
Marietta College Week 14 1 Tuesday, April 12 2 Exam 3: Monday, April 25, 12- 2:30PM Bring your laptops to class on Thursday too.
1 Econ 240 C Lecture 3. 2 Part I Modeling Economic Time Series.
1 Econ 240 C Lecture White noise inputoutput 1/(1 – z) White noise input output Random walkSynthesis 1/(1 – bz) White noise input output.
Is There a Difference?. How Should You Vote? Is “Big Government” better?Is “Big Government” better? –Republicans want less government involvement. –Democrats.
Global Warming: Is It True? Peter Fuller Odeliah Greene Amanda Smith May Zin.
1 Econ 240 C Lecture Time Series Concepts Analysis and Synthesis.
Determents of Housing Prices. What & WHY Our goal was to discover the determents of rising home prices and to identify any anomies in historic housing.
Car Sales Analysis of monthly sales of light weight vehicles. Laura Pomella Karen Chang Heidi Braunger David Parker Derek Shum Mike Hu.
1 Econ 240 C Lecture 3. 2 Time Series Concepts Analysis and Synthesis.
Why Can’t I Afford a Home? By: Philippe Bonnan Emelia Bragadottir Troy Dewitt Anders Graham S. Matthew Scott Lingli Tang.
1 Motor Vehicle Accidents Hunjung Kim Melissa Manfredonia Heidi Braunger Yaming Liu Jo-Yu Mao Grace Lee December 1, 2005 Econ 240A Project.
CAViaR : Conditional Value at Risk By Regression Quantiles Robert Engle and Simone Manganelli U.C.S.D. July 1999.
1 Econ 240A Power 7. 2 This Week, So Far §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and HypothesisTesting.
Violent Crime in America ECON 240A Group 4 Thursday 3 December 2009.
Lecture Week 3 Topics in Regression Analysis. Overview Multiple regression Dummy variables Tests of restrictions 2 nd hour: some issues in cost of capital.
Alcohol Consumption Allyson Cady Dave Klotz Brandon DeMille Chris Ross.
California Expenditure VS. Immigration By: Daniel Jiang, Keith Cochran, Justin Adams, Hung Lam, Steven Carlson, Gregory Wiefel Fall 2003.
So far, we have considered regression models with dummy variables of independent variables. In this lecture, we will study regression models whose dependent.
1 Lecture One Econ 240C. 2 Outline Pooling Time Series and Cross- Section Review: Analysis of Variance –one-way ANOVA –two-way ANOVA Pooling Examples.
GDP Published by: Bureau of Economic Analysis Frequency: Quarterly Period Covered: prior quarter Volatility: Moderate Market significance: very high Web.
MLB STATS Group SIX Astrid AmsallemJoel De Martini Naiwen ChangQi He Wenjie HuangWesley Thibault.
1 Lecture One Econ 240C. 2 Einstein’s blackboard, Theory of relativity, Oxford, 1931.
7.1 Lecture #7 Studenmund(2006) Chapter 7 Objective: Applications of Dummy Independent Variables.
1 Power Fifteen Analysis of Variance (ANOVA). 2 Analysis of Variance w One-Way ANOVA Tabular Regression w Two-Way ANOVA Tabular Regression.
1 Econ 240A Power 7. 2 Last Week §Normal Distribution §Lab Three: Sampling Distributions §Interval Estimation and HypothesisTesting.
Zhen Tian Jeff Lee Visut Hemithi Huan Zhang Diana Aguilar Yuli Yan A Deep Analysis of A Random Walk.
1 Power Fifteen Analysis of Variance (ANOVA). 2 Analysis of Variance w One-Way ANOVA Tabular Regression w Two-Way ANOVA Tabular Regression.
U.S. Tax Revenues and Policy Implications A Time Series Approach Group C: Liu He Guizi Li Chien-ju Lin Lyle Kaplan-Reinig Matthew Routh Eduardo Velasquez.
Matt Mullens Gulsah Gunenc Alex Keyfes Gaoyuan Tian Andrew Booth.
DURBIN–WATSON TEST FOR AR(1) AUTOCORRELATION
FORECASTING WITH REGRESSION MODELS TREND ANALYSIS BUSINESS FORECASTING Prof. Dr. Burç Ülengin ITU MANAGEMENT ENGINEERING FACULTY FALL 2011.
Predicting volatility: a comparative analysis between GARCH Models and Neural Network Models MCs Student: Miruna State Supervisor: Professor Moisa Altar.
What decides the price of used cars? Group 1 Jessica Aguirre Keith Cody Rui Feng Jennifer Griffeth Joonhee Lee Hans-Jakob Lothe Teng Wang.
A N E MPIRICAL A NALYSIS OF P ASS -T HROUGH OF O IL P RICES TO I NFLATION : E VIDENCE FROM N IGERIA. * AUWAL, Umar Department of Economics, Ahmadu Bello.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Five Ending Wednesday, September 26 (Note: Exam 1 is on September 27)
Lecturer: Kem Reat, Viseth, PhD (Economics)
Electric Utility Cost Data for Electricity Generation by Nerlove and Christensen-Greene Data is similar to Electric Utility data described in McGuigan.
1 Economics 240A Power Eight. 2 Outline n Maximum Likelihood Estimation n The UC Budget Again n Regression Models n The Income Generating Process for.
Chapter 5 Demand Estimation Managerial Economics: Economic Tools for Today’s Decision Makers, 4/e By Paul Keat and Philip Young.
Exam 1 Review. Data referenced throughout review The Federal Trade Commission annually rates varieties of domestic cigarettes according to their tar,
NONPARAMETRIC MODELING OF THE CROSS- MARKET FEEDBACK EFFECT.
SPURIOUS REGRESSIONS 1 In a famous Monte Carlo experiment, Granger and Newbold fitted the model Y t =  1 +  2 X t + u t where Y t and X t were independently-generated.
Regression Analysis Relationship with one independent variable.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Four Ending Wednesday, September 19 (Assignment 4 which is included in this study guide.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Environmental Modeling Basic Testing Methods - Statistics III.
2010, ECON Hypothesis Testing 1: Single Coefficient Review of hypothesis testing Testing single coefficient Interval estimation Objectives.
FUNCTIONAL FORMS OF REGRESSION MODELS Application 5.
Air pollution is the introduction of chemicals and biological materials into the atmosphere that causes damage to the natural environment. We focused.
MEASURES OF GOODNESS OF FIT The sum of the squares of the actual values of Y (TSS: total sum of squares) could be decomposed into the sum of the squares.
EC208 – Introductory Econometrics. Topic: Spurious/Nonsense Regressions (as part of chapter on Dynamic Models)
With the support of the European Commission 1 Competitiveness of the SME’s in Albania A review of the business conditions with a focus on financing conditions.
Partial Equilibrium Framework Empirical Evidence for Argentina ( )
T HE SAT S CORES TELL A STORY OF THE U.S. D EMOGRAPHIC ECON 240A.
WSUG M AY 2012 EViews, S-Plus and R Damian Staszek Bristol Water.
Chapter 4 Basic Estimation Techniques
Introduction to Econometrics, 5th edition Chapter 12: Autocorrelation
Table 4. Regression Statistics for the Model
Presentation transcript:

1 Lab Five

2 Lessons to be Learned “Look before you leap” “Look before you leap” Get a feel for the data using graphical techniques, i.e. exploratory data analysis Get a feel for the data using graphical techniques, i.e. exploratory data analysis In statistics, we do not what the “truth” is, so keep an open mind In statistics, we do not what the “truth” is, so keep an open mind Try different models, e.g. if linear does not work, try log-log Try different models, e.g. if linear does not work, try log-log Shifting the regression line by shifting the intercept if the data may fall into different classes Shifting the regression line by shifting the intercept if the data may fall into different classes

3 Lab 5 Data : “Fortune 500” Top 50 RankCompanyIndustryRevenue $M 1General MotorsMotor Vehicles and Parts Wal-Mart StoresGeneral Merchandisers Exxon MobilPetroleum Refining Ford MotorMotor Vehicles and Parts General ElectricDiversified Financials Intl. Business MachinesComputers, Office Equipment CitigroupDiversified Financials AT&TTelecommunications Philip MorrisTobacco BoeingAerospace Bank of America Corp.Commercial banks SBC CommunicationsTelecommunications Hewlett-PackardComputers, Office Equipment KrogerFood and Drug Stores State Farm Insurance CosInsurance; P&C(mutual) Sears RoebuckGeneral Merchandisers American International GroupInsurance; P&C(stock) EnronPipelines TIAA-CREFInsurance: Life, Health(mutual) Compaq ComputerComputers, Office Equipment38525

4 Exploratory Data Analysis

5 Smallest = Q1 = Median = Q3 = Largest = IQR = Outliers: , , , , , 87548, 82005, GM citigroup AT&T Aetna

6 Plot of Assets Vs. Revenue

7

8 Dependent Variable: ASSETS Method: Least Squares Sample: 1 50 Included observations: 50 VariableCoefficientStd. Errort-StatisticProb. REVENUE C R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criterion Sum squared resid 1.38E+1 Schwarz criterion Log likelihood F-statistic Durbin-Watson stat Prob(F-statistic)

9 Exploratory data Analysis

10 Transformation: Ln Assets = a+b Ln Revenue + e

11 Finance Vs. Trade?

12

13 Dependent Variable: LNASSETS Method: Least Squares Sample: 1 50 Included observations: 50 VariableCoefficientStd. Errort-StatisticProb. LNSALES C R-squared Mean dependent var Adjusted R-squared S.D. dependent var S.E. of regression Akaike info criterion Sum squared resid Schwarz criterion Log likelihood F-statistic Durbin-Watson stat Prob(F-statistic)

14 Table 1: Industry and Number of Firms Industry # of Firms Aerospace1 Chemicals1 Commercial Banks3 Computers, Office Equipment3 Diversified Financials3 Electronics, Electrical Equipment 1 Entertainment1 Food and Drug Stores3 General Merchandisers5 Health Care1 Insurance5 Mail, Package, Freight Delivery1 Motor Vehicles and Parts2 Network Communications1 Petroleum Refining3 Pharmaceuticals2 Pipelines1 Securities2 Semiconductors1 Soaps, Cosmetics1 Specialty Retailers2 Telecommunications4 Tobacco1 Wholesalers2 Industry# of Firms Aerospace1 Chemicals1 Commercial Banks3 Computers, Office Equipment3 Diversified Financials3 Electronics, Electrical Equipment 1 Entertainment1 Food and Drug Stores3 General Merchandisers5 Health Care1 Insurance5 Mail, Package, Freight Delivery1 Motor Vehicles and Parts2 Network Communications1 Petroleum Refining3 Pharmaceuticals2 Pipelines1 Securities2 Semiconductors1 Soaps, Cosmetics1 Specialty Retailers2 Telecommunications4 Tobacco1 Wholesalers2 Industry# of Firms Aerospace1 Chemicals1 Commercial Banks3 Computers, Office Equipment3 Diversified Financials3 Electronics, Electrical Equipment 1 Entertainment1 Food and Drug Stores3 General Merchandisers5 Health Care1 Insurance5 Mail, Package, Freight Delivery1 Motor Vehicles and Parts2 Network Communications1 Petroleum Refining3 Pharmaceuticals2 Pipelines1 Securities2 Semiconductors1 Soaps, Cosmetics1 Specialty Retailers2 Telecommunications4 Tobacco1 Wholesalers2

15 Ln-ln Regression with Industry Dummies

16 Log likelihood F-statistic Durbin-Watson stat Prob(F-statistic) Log likelihood F-statistic Durbin-Watson stat Prob(F-statistic)

17

18

19 Wald Test: Null Hypothesis

20 Wald Test Results: reject Null Wald Test: Equation: Untitled Null Hypothesis:C(3)=C(18) C(6)=C(18) C(12)=C(18) F-statistic Probability Chi-square Probability

21 Wald Test: drop insurance from Group

22 Wald Test results: Accept Null Wald Test: Equation: Untitled Null Hypothesis:C(3)=C(18) C(6)=C(18) F-statistic Probability Chi-square Probability

23 Wald Test: Equivalent to a Likelihood Ratio test Equation with all the dummies Equation with all the dummies R 2 = R 2 = SSR = SSR = Ln Likelihood = Ln Likelihood = Estimate 25 regression parameters Estimate 25 regression parameters Equation with Finance Group Dummy replacing banks, divfinanc, and securities Equation with Finance Group Dummy replacing banks, divfinanc, and securities R 2 = R 2 = SSR = SSR = Ln Likelihood = Ln Likelihood = Estimate 23 regression parameters Estimate 23 regression parameters

24 Likelihood Ratio Test Likelihood ratio = λ = Likelihood (constrained)/Likelihood(unconstrained) Likelihood ratio = λ = Likelihood (constrained)/Likelihood(unconstrained) Where -2 lnλ is distributed as Chi square Where -2 lnλ is distributed as Chi square -2 ln λ = -2 [ln Lik(const) – ln Lik(unconst) -2 ln λ = -2 [ln Lik(const) – ln Lik(unconst) =2[ln Lik(unconst) –ln Lik(const)] =2[ln Lik(unconst) –ln Lik(const)] =2[ – ( )] =2( ) =2[ – ( )] =2( ) -2ln λ = ln λ =

25

26 Chi Square Test 2 Degrees of Freedom % 1.19 Our Chi Square statistic

27 F-test statistic Explained sum of squares from the banks, divfinance and securities dummies equals SSR (regression #2) – SSR(regression #1) = – = Explained sum of squares from the banks, divfinance and securities dummies equals SSR (regression #2) – SSR(regression #1) = – = Degrees of freedom 2 Degrees of freedom 2 Explained mean square = 0.073/2 = Explained mean square = 0.073/2 = Unexplained mean square from regression #1 = /(n-k) = /25 Unexplained mean square from regression #1 = /(n-k) = /25 F 2, 25 = / =0.302 F 2, 25 = / =0.302

28 F 2, 23 Test; accept null c(3)=c(6)=c(18) F 2,23 statistic 5% Our F statistic = 0.302

29 Wald Test results: Accept Null Wald Test: Equation: Untitled Null Hypothesis:C(3)=C(18) C(6)=C(18) F-statistic Probability Chi-square Probability

30 Eviews Help