1 Ka-fu Wong University of Hong Kong EViews Commands that are useful for Assignment #2.

Slides:



Advertisements
Similar presentations
Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
Advertisements

EViews Student Version. Today’s Workshop Basic grasp of how EViews manages data Creating Workfiles Importing data Running regressions Performing basic.
Answer "What If" Questions
Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)
Polynomial Functions and Models Lesson 4.2. Review General polynomial formula a 0, a 1, …,a n are constant coefficients n is the degree of the polynomial.
Forecasting Models With Linear Trend. Linear Trend Model If a modeled is hypothesized that has only linear trend and random effects, it will be of the.
Applied Econometrics Second edition
IT Cadre 2006 Increase Student Learning with a Histogram Chart.
Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 16: Analyzing.
Analyzing Bivariate Data With Fathom * CFU Using technology with a set of contextual linear data to examine the line of best fit; determine and.
Heteroskedasticity Prepared by Vera Tabakova, East Carolina University.
Ch11 Curve Fitting Dr. Deshi Ye
Linear Regression Using Excel 2010 Linear Regression Using Excel ® 2010 Managerial Accounting Prepared by Diane Tanner University of North Florida Chapter.
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.
© 2010 Pearson Prentice Hall. All rights reserved Regression Interval Estimates.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Modeling Cycles By ARMA
Analyzing and Forecasting Time Series Data
BA 555 Practical Business Analysis
1 Ka-fu Wong University of Hong Kong An Introduction to EViews 4.1 (Student version)
Data Analysis with Eviews. A. Entering Data Sample Excel Worksheet filename : ubook years:
Exercise 7.1 a. Find and report the four seasonal factors for quarter 1, 2, 3 and 4 sn1 = 1.191, sn2 = 1.521, sn3 = 0.804, sn4 = b. What is the.
Gordon Stringer, UCCS1 Regression Analysis Gordon Stringer.
Assuming that you have already created a JMP data file.
Chapter 11 Multiple Regression.
Data Tutorial Tutorial on Types of Graphs Used for Data Analysis, Along with How to Enter Them in MS Excel Carryn Bellomo University of Nevada, Las Vegas.
Diagnostics - Choice. Model Diagnostics 1.Explains data well –R-Squared, and adjusted R-Squared 2.Residuals follow a white noise, as specified in the.
EViews. Agenda Introduction EViews files and data Examining the data Estimating equations.
Regression Basics For Business Analysis If you've ever wondered how two or more things relate to each other, or if you've ever had your boss ask you to.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 11 Regression.
Introduction to Linear Regression and Correlation Analysis
1 1 Slide Simple Linear Regression Part A n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n.
Excel Simple Computation. Compute the Mean Place the cursor over a cell, click, and type. Pressing the enter key moves to the next cell. Here I typed.
Chapter 16: Time-Series Analysis
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Fitting Exponentials and Polynomials to Data Lesson 11.7.
Regression Regression relationship = trend + scatter
Multiple Regression Petter Mostad Review: Simple linear regression We define a model where are independent (normally distributed) with equal.
EViews Training Basic Forecasting Note: Data and workfiles for this tutorial are provided in: Data: Data.xls Results: Results.wf1 Practice Workfile: Data.wf1.
WFM 6311: Climate Risk Management © Dr. Akm Saiful Islam WFM 6311: Climate Change Risk Management Akm Saiful Islam Lecture-7:Extereme Climate Indicators.
Example 13.2 Quarterly Sales of Johnson & Johnson Regression-Based Trend Models.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
Revision: Pivot Table 1. Histogram 2. Trends 3. Linear 4. Exponential
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Correlation Coefficient -used as a measure of correlation between 2 variables -the closer observed values are to the most probable values, the more definite.
CSC350: Learning Management Systems COMSATS Institute of Information Technology (Virtual Campus)
Example 16.5 Regression-Based Trend Models | 16.1a | 16.2 | 16.3 | 16.4 | 16.6 | 16.2a | 16.7 | 16.7a | 16.7b16.1a a16.7.
Correlation – Recap Correlation provides an estimate of how well change in ‘ x ’ causes change in ‘ y ’. The relationship has a magnitude (the r value)
Chapter 10: Determining How Costs Behave 1 Horngren 13e.
05. Data from Bloomberg Add-in. Launch Bloomberg and Press GO.
Dr. C. Ertuna1 Required Textbook “Econometrics: By Example " Gujarati Palgrave-Macmillian 2011.
Chap 8 Heteroskedasticity
Chapter 9 Minitab Recipe Cards. Contingency tests Enter the data from Example 9.1 in C1, C2 and C3.
Chapter 4 Minitab Recipe Cards. Correlation coefficients Enter the data from Example 4.1 in columns C1 and C2 of the worksheet.
CSC350: Learning Management Systems COMSATS Institute of Information Technology (Virtual Campus)
Introduction to Eviews Eviews Workshop September 6, :30 p.m.-3:30 p.m.
3-1Forecasting Weighted Moving Average Formula w t = weight given to time period “t” occurrence (weights must add to one) The formula for the moving average.
Input dataClick ToolsClick Data Analysis Click Regression Enter range of data from Column B in Input Y Range Enter range of data from Column A in Input.
Plotting in Excel Ken youssefi Engineering 10.
CHAPTER 12 More About Regression
The Multiple Regression Model
Fitting Exponentials and Polynomials to Data
Using Excel to Make a Graph
F - Ratio Table Degrees of Freedom for the Factor
Section 3.3 Linear Regression
Simple Linear Regression
Eviews Tutorial for Labor Economics Lei Lei
Section 2: Linear Regression.
CHAPTER 12 More About Regression
Ch 4.1 & 4.2 Two dimensions concept
Presentation transcript:

1 Ka-fu Wong University of Hong Kong EViews Commands that are useful for Assignment #2

2 Download and open the Excel file containing the data We are going to use Canada-US real exchange rate as an example. Dated observations from 1970:01 to 2006:11

3 Enter or read data in Eviews File > New > Workfile 3. Click OK. 1. Choose “Monthly”. 2. Specify 1970:01 and 2006:11

4 Enter or read data in Eviews Choose Quick>Empty Group(Edit Series)

5 Enter or read data in Eviews Key in data

6 Enter or read data in Eviews Copy the data from Excel (B16:B458 together) to the Workfile Default series names

7 Renaming the series First minimize the data sheet Highlight ser01 and right click mouse, and choose rename

8 Rename the series ser01

9 Check if the variable names has been changed

10 Save data and results frequently to avoide loss of data File>SaveAs Enter rer1.wf1

11 Plot a line graph of the data (against date) and call it Figure1

12 Double click figure1 to see the plot

13 Generate the variable TIME and its relatives TIME=1 for 1970m01 and 2 for 1970m02, etc.

14 Generate the variable TIME and its relatives TIME2, TIME3, TIME4, TIME5

15 Select sample from 1970m01 to 2000m12 for regression analysis (fitting the trend line)

16 Fit a linear trend using Least Squares and put the result to Table1

17 Double click table1 to see the regression result

18 Fit Polynomial trend line of various degree (up to 5) using Least Squares and put the result to corresponding tables.

19 Fitting an exponential trend and put result to Table6

20 Plot (in-sample) residuals, fitted values and actual values, and put them in corresponding figures (FigureA?)

21 Generate a new variable containing the historical values of rer from 1970:01 to 2000:12

22 Specify the sample to create out-of-sample forecast

23 Produce a forecast for the sample period 2001m01 to 2006m11 using the Table1 regression results

24 Generate the upper bound and lower bound of 95% confidence interval.

25 Continue to obtain forecast, and confidence bound for the forecast using other trend models.

26 Change the sample to 1970m m11, for plotting actual value and forecast together

27 Plot the historical values, forecast, confidence interval and the actual value during the forecasting period.

28 Double click figureb1 to see the plot

29 Fix the sample and compute the sqaured forecast errors based on different models.

30 Fix the sample and compute the sqaured forecast errors based on different models. Create a vector “A” to save the mean squared errors. Save the mean squared errors to the vector

31 Double click “A” to see the mean squared forecast errors from different models.

32 Note limitation of EViews 4.1 student version There is a limit on how many variables we can create in student version. When I tried to run 6 regressions, and create the 6 forecast, 6 confidence bounds, 6 squared forecast errors all in one go, I got an error message “You have exceeded the data capacity of the Student Version.” I have to delete some variables before I could complete all the analysis I wanted to do.

33 End