A Short Introduction to Eviews



Similar documents
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

Education Solutions Development, Inc. APECS Navigation: Business Systems Getting Started Reference Guide

The Center for Teaching, Learning, & Technology

In this example, Mrs. Smith is looking to create graphs that represent the ethnic diversity of the 24 students in her 4 th grade class.

Estimating a market model: Step-by-step Prepared by Pamela Peterson Drake Florida Atlantic University

Creating a Gradebook in Excel

Creating a Participants Mailing and/or Contact List:

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

KSTAT MINI-MANUAL. Decision Sciences 434 Kellogg Graduate School of Management

0 Introduction to Data Analysis Using an Excel Spreadsheet

Downloading Your Financial Statements to Excel

DATASTREAM CHARTING ADVANCED FEATURES

How to Use EViews (Econometric Views)

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by

Lecture 2 Mathcad Basics

InfiniteInsight 6.5 sp4

Excel 2007 Basic knowledge

Intro to Excel spreadsheets

Creating a Distribution List from an Excel Spreadsheet

Microsoft Excel Basics

Intermediate PowerPoint

WHAT S NEW IN MS EXCEL 2013

Pulling a Random Sample from a MAXQDA Dataset

Migrating to Excel 2010 from Excel Excel - Microsoft Office 1 of 1

Excel & Visual Basic for Applications (VBA)

Summary of important mathematical operations and formulas (from first tutorial):

Downloading RIT Account Analysis Reports into Excel

Directions for using SPSS

INTERMEDIATE Excel 2013

Quickstart for Desktop Version

Getting started with the Stata

Microsoft Excel Introduction to Microsoft Excel 2007

Chapter 9 Creating Reports in Excel

Working with Excel in Origin

Assignment objectives:

Microsoft Office Excel 2007 Key Features. Office of Enterprise Development and Support Applications Support Group

SPSS: Getting Started. For Windows

Microsoft Excel: Exercise 5

Creating an Excel XY (Scatter) Plot

EXCEL SOLVER TUTORIAL

Working together with Word, Excel and PowerPoint

Working together with Word, Excel and PowerPoint 2013

Charting LibQUAL+(TM) Data. Jeff Stark Training & Development Services Texas A&M University Libraries Texas A&M University

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

InfoEd erm Project Instructions for obtaining Research Information Spreadsheets from InfoEd

2. Descriptive statistics in EViews

Microsoft Excel Tutorial

Getting Started on the Computer With Mouseaerobics! Windows XP

Data representation and analysis in Excel

Microsoft Excel 2010 Part 3: Advanced Excel

SW43W. Users Manual. FlukeView Power Quality Analyzer Software Version 3.20 onwards

Word 2007 WOWS of Word Office 2007 brings a whole new basket of bells and whistles for our enjoyment. The whistles turn to wows.

Using Excel for Data Manipulation and Statistical Analysis: How-to s and Cautions

CATIA Basic Concepts TABLE OF CONTENTS

Model 288B Charge Plate Graphing Software Operators Guide

Excel 2007 A Beginners Guide

Using SPSS, Chapter 2: Descriptive Statistics

Excel 2010: Create your first spreadsheet

PERFORMING REGRESSION ANALYSIS USING MICROSOFT EXCEL

This activity will show you how to draw graphs of algebraic functions in Excel.

Excel Tutorial. Bio 150B Excel Tutorial 1

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

warpct.com Working with MS Excel 2003 Workbook courseware by WARP! Computer Training

Introduction to MS WINDOWS XP

A Guide to Using Excel in Physics Lab

Data analysis and regression in Stata

Data Analysis. Using Excel. Jeffrey L. Rummel. BBA Seminar. Data in Excel. Excel Calculations of Descriptive Statistics. Single Variable Graphs

Instructions for creating a data entry form in Microsoft Excel

Everyday Excel Stuff Excel Day Planner Organizer Reference Guide

Excel 2003 A Beginners Guide

Use Blackboard 9.1 Auto-Submit and Provide a more time accommodation

Getting Started With SPSS

NorthClark Computing, Inc. Bill of Material and Parts Master Maintenance. Administrator s Guide

Introduction To Microsoft Office PowerPoint Bob Booth July 2008 AP-PPT5

Excel Basics By Tom Peters & Laura Spielman

Importing from Tab-Delimited Files

Generating ABI PRISM 7700 Standard Curve Plots in a Spreadsheet Program

Basic Formulas in Excel. Why use cell names in formulas instead of actual numbers?

SPSS Introduction. Yi Li

HOW TO ORGANIZE PICTURES

Microsoft Excel 2013: Charts June 2014

EXCEL EXERCISE #8: Consolidating and Linking Spreadsheets

Spreadsheet. Parts of a Spreadsheet. Entry Bar

Excel Level Two. Introduction. Contents. Exploring Formulas. Entering Formulas

Creating tables of contents and figures in Word 2013

Scientific Graphing in Excel 2010

Macros in Word & Excel

Curve Fitting with Maple

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010

Formatting Formatting Tables

Microsoft Excel. Qi Wei

Microsoft Excel Understanding the Basics

Basic Excel Handbook

Making a Chart Using Excel

SPSS Guide: Regression Analysis

PowerWorld Simulator

Transcription:

A Short Introduction to Eviews Note You are responsible to get familiar with Eviews as soon as possible. All homeworks are likely to contain questions for which you will need to use this software package. A dataset to experiment with Eviews is available on Blackboard under Course Documents. Eviews is installed on all computers in the undergraduate computer lab (UDAL) on the first floor of the McNeil building.

A Short Introduction to Eviews 2 1 Getting help Please refer to the Eviews handbooks, which are very comprehensive. Of the two handbooks that accompany Eviews, the User s Guide will be the more useful for you. It explains all functions of Eviews step-by-step. (The Command and Programming Reference is useful if you want to write batch programs that perform a sequence of steps automatically.) Both manuals are also available in the Eviews help menu itself (as.pdf). Very helpful is also the searchable help index in the Eviews help menu: Help > Index and Help > Find. The best way of getting a first idea of how Eviews works is to experiment with the commands presented here and to try other commands and options and see what happens. 2 Eviews philosophy You can access most of the Eviews functionality via menus. Just browse through the menus, and find the appropriate command. You will then be guided through several windows that prompt you for the information required to perform the command. EViews organizes data, graphs, output, and so forth, as objects. Each of these objects can be copied, saved, cut-and-pasted into other Windows programs, or used for further analysis. A collection of objects can be saved together in a workfile. Since Eviews creates new objects with everything you do, it makes sense to delete unimportant intermediate results to avoid a messy workfile. Please note that you cannot mix data series of different frequencies (annual, quarterly, monthly, weekly, daily) within the same work file page. 3 Creating a workfile To create a new workfile click File > New > Workfile. If you have quarterly data from the first quarter of 1950 until the last quarter of 2005, then the procedure is: Select: dated - regular frequency, frequency quarterly, start date: 1950:1, end date 2005:4. Notice that there are already two series in the workfile: c, and resid. They stand for coefficients and residuals. Every time you estimate something, the coefficients are stored in c and the residuals in resid.

A Short Introduction to Eviews 3 4 Importing data into Eviews The are two ways to get your dataset into Eviews. When you have only a few observations, you might want to cut-and-paste data into Eviews or even type it in by hand. To do this, you first need to create a workfile of the desired frequency and start and end date. Then you create a series object within this workfile to hold the data by clicking on Object > New Object > Series on the workfile window. Give the series a beautiful name. Then click on Edit+/-, start entering your data. When your are done, click Edit+/- again. For larger datasets, however, you will probably prefer to use the Eviews import function. 1. First convert your raw data into a format that Eviews understands, such as a text file with e.g. comma separated values, a Lotus file, or an Excel file. If you use Excel, for example, make a file with only one spreadsheet. On that sheet, put each series directly next to each other - be sure to start your data in cell A1. Do not put any titles or names to the columns, but - this is very important - remember what data is in each column! Also you need to remember to beginning and end of your sample. Save this file as.xls file. 2. Open Eviews. 3. Create a new workfile with the frequency and start and end date of your data. 4. Import the data: Select File > Import > Read Text-Lotus-Excel. At the bottom of the dialogbox, change Files of type to Excel (*.xls) so that you can see the file. Then browse to find your data. 5. Then you are asked: Data order: select by observation, if each series occupies one column; or by series, if each series occupies one row. Upper-left data cell : write A1. Names of series: write the name of the series you are importing in the right order, for example rgdp rcons rgov rinv or whatever name you give to the series you are importing. Do not change the import sample period. You should have already selected the correct period when you created the workfile. 6. Do a cross-check with your raw data file. Compare the number of observations, check if each series got the correct name.

A Short Introduction to Eviews 4 5 Generating a new variable Click the Genr button on the workfile window and then insert the defining equation of your new variable. For example x growth=log(x)-log(x-1). Note that when you write x(-1), Eviews understands that you want x lagged one period. 6 Generating multiple graphs Suppose you want to make a plot of the four variables rgdp rcons rgov rinv. 1. Select your four variables rgdp rcons rgov rinv by keeping the Ctrl key pressed and clicking on the series with your mouse pointer. 2. Right click with the mouse and select Open > As Group. 3. Then click View > Graph > Line on the group window and you are done. If you would like to create multiple separate graphs, use View > Multiple Graphs > Line. 4. To preserve your work, click Freeze on the group window and then in the new graph window click Name and enter the desired graph name. 5. Then play around a bit to understand how to format the graph the way you want. For example, to insert a title click Add Text. To shade a certain time period click Line/Shade and then select Shaded area and enter the time span that you wish to shade. If you want to shade several periods which are not connected, you have to repeat this procedure several times. 7 Running a regression 1. In the command window, which is the white area just below the Eviews menu bar, type ls y c x. y stands for the name you gave to your dependent variable, x for whatever name you gave to your independent variable and c is the constant. ls just means least squares. 2. To modify your estimation, click Estimate on the equation window. There you can modify the estimation equation, the estimation method and the sample period. 3. You can save the output using Freeze on the regression window.

A Short Introduction to Eviews 5 4. Again, take some time to check out the available views and regression diagnostics in the View menu of the equation window. 8 Some more hints 8.1 Changing the sample period To set the workfile sample, simply click on the Sample button in the workfile window, and enter the range, e.g. 2003Q1 2004Q3. @first @last is also possible. For more information on data manipulation you should consult the Eviews help files. Under Help > Eviews Help Topics > Contents you find the chapters Workfile Basics, Object Basics, Basic Data Handling, Working with Data, Series, Groups, Statistical Graphs from Series and Groups, Graphs, Tables and Text Objects and Basic Regression, which cover the topics of this introduction in much more detail. 8.2 Creating a time dummy One common task in time series analysis is the creation a variable that represents the time trend. Eviews has a time trend variable already built-in. If you type @TREND instead of a series name, then this returns a time trend that increases by one for each observation of the workfile. 8.3 Taking differences Eviews also provides a shortcut to compute the first and second differences. If you type d(x) instead of a series name, it means you want to use the first difference of x. 8.4 Scatter plot of regression To create a scatter diagram of x against y, just type: scat x y. Or, you can make a group containing x and y, and then select View > Graph > Scatter with regression in the group window.

A Short Introduction to Eviews 6 8.5 Command window and Quick menu Many actions can be done more quickly in the command window, which is the white window below the menu bar, instead of browsing through the menus. For example, transformations are most easily specified there: Type series lgdp = log(gdp), which generates a new series lgdp, the natural log of gdp. Similarly, to generate a new group consisting of gdp and d(gdp), just type group bothgdp gdp d(gdp). If you don t know the name of the command, often the menu Quick contains the procedure you need. 8.6 Exporting Eviews graphs Eviews generates graphs, but they may not look they way you want them to. In order to use an Eviews graph in another program you can save it as a Windows metafile ( *.wmf ). Click Proc > Save graph to disk in the graph window (you may have to Freeze the graph first). Choose metafile for Word, or the.eps format otherwise, and choose a file path. The picture can then be imported into a Word document using Insert > Picture > From File in Word.