EViews Training Samples

Slides:



Advertisements
Similar presentations
This demonstration will be taking you through the new look ‘Fees’ tab in SMT.
Advertisements

Introducing Macromedia FreeHand MX
Document Properties: adding information to your Microsoft Office documents Step 1: Add information to Document Properties What are Document Properties.
MS Access 2003 Tutorial By: Juan GUANTENG!!! Y7. Step 1 Launch the Microsoft Access 2003 program. This can be done by clicking an icon on the desktop.
EViews Student Version. Today’s Workshop Basic grasp of how EViews manages data Creating Workfiles Importing data Running regressions Performing basic.
Applied Econometrics Second edition
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T4 PROBLEM SOLVING USING EXCEL Goal Seek, Solver & Pivot Tables.
Microsoft Excel The Basics. spreadsheet A type of application program which manipulates numerical and string data in rows and columns of cells. The value.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved Creating Gantt Charts With Microsoft Project Technology Plug-In T12.
Paragraphs, etc. Line spacing Spacing between paragraphs Borders and shading Bulleting and numbering Alignment Indents Tabs Tables.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Automating Tasks With Macros
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
EViews. Agenda Introduction EViews files and data Examining the data Estimating equations.
SPSS Statistical Package for the Social Sciences is a statistical analysis and data management software package. SPSS can take data from almost any type.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
FIRST COURSE Excel Lecture. XP 2 Introducing Excel Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative.
CPSC 203 Introduction to Computers T59 & T64 TA: Jie (Jeff) Gao.
Technology Basics Creating Worksheet Formulas. 2 Understand Formulas Equations used to calculate values in cells are called formulas. Formulas consist.
Quick Start Guide: Filters Advanced Learn about: 1.What filters are and their functionality 2.How to create a filter using Samples, Equipment & Labels.
University of technology Department of Materials Engineering
XP New Perspectives on Introducing Microsoft Office XP Tutorial 1 1 Introducing Microsoft Office XP Tutorial 1.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
You can use a query to view a subset of your data or to answer questions about your data. For example, if you want to view a list of student names and.
With Microsoft Office 2007 Introductory© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Introductory.
Gadgets & More…. “Date Range” Gadgets Allows you to choose a specific date, before or after a date or a range of dates using the Workflows calendar.
4/22/2017 5:36 PM EViews Training Creating Workfiles.
MagicInfo Pro Scheduler Now that a template has been created from content imported into the Library, the user is ready to begin scheduling content to.
Month End/Year End Procedures VENTUS Presenter: Linda Kennedy.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
Using SPSS for Windows Part II Jie Chen Ph.D. Phone: /6/20151.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
Understanding Excel Lesson 1.
MS Excel Introduction to Excel; What Can I Do with a Spreadsheet? Unit 5.
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
Click your mouse to continue. Creating a New Mail Merge Document When you need to create a form letter but do not have an existing main document, you can.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
Introduction to SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
Filtering Data A filter is a set of restrictions you place on the records of an open datasheet or form to temporarily isolate a subset of the records.
Unit 5 Microsoft SQL Server and MySQL. Key Concepts DBMS variations SQL Server features SQL Server Management Studio MySQL features Scripts Queries Database.
EViews Training Basic Forecasting Note: Data and workfiles for this tutorial are provided in: Data: Data.xls Results: Results.wf1 Practice Workfile: Data.wf1.
The Basics: EViews Desktop, Workfiles and Objects
SW318 Social Work Statistics Slide 1 Percentile Practice Problem (1) This question asks you to use percentile for the variable [marital]. Recall that the.
1 Ka-fu Wong University of Hong Kong EViews Commands that are useful for Assignment #2.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
CSC350: Learning Management Systems COMSATS Institute of Information Technology (Virtual Campus)
AS Level ICT Data entry: Creating validation checks.
Customizing Reports Adding a Date to a Report Reference Window Adding a Date to a Report Display the report in the design view Click the Text Box Tool.
MS-Excel XP Lesson 7. Creating Charts 1.Excel for windows can produce 14 standard type and 20 custom types of graphs or charts, with many different format.
Word 2010 Edit Page Layout In this lesson, you will learn how to insert columns and page breaks. How to change the page orientation, paper size, page margins,
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.
IENG-385 Statistical Methods for Engineers SPSS (Statistical package for social science) LAB # 1 (An Introduction to SPSS)
KARES Demonstration.
Spreadsheet – Microsoft Excel 2010
DEPARTMENT OF COMPUTER SCIENCE
Eviews Tutorial for Labor Economics Lei Lei
Chapter 6 Lesson 5.
Help..
Navigating Excel.
Data Objects: Data Functions
EViews Training Basic Forecasting
The Basics: EViews Desktop, Workfiles and Objects
EViews Training Date Functions
EViews Training The Basics: EViews Desktop, Workfiles and Objects Note: Data and Workfiles for examples in this tutorial are: Data: Data.xlsx Results:
EViews Training Creating Workfiles. EViews Workfiles EViews main operating principles: Any work in EViews is created in workfiles – which are place-holders.
Presentation transcript:

EViews Training Samples 4/23/2017 5:43 PM EViews Training Samples Note: The Workfiles and Data for examples for this tutorial are: Data: Data.xls Results: Results.wf1 Practice workfile: Data.wf1

Data and Workfile Documentation Data.wf1 and Data.xlsx have two pages (tabs) with the following data: Workfile Page Payroll (Data.xlsx: tab Payroll): monthly data from Jan 1950 – May 2012 Payroll – Payroll employment levels (in thousands) (source: Bureau of Labor Statistics) Unemployment – unemployment rate (in percent) (source: Bureau of Labor Statistics). Workfile Page Cross_Section (Data.xlsx: tab Cross_Section): state-level data (50 states) Population – population data in 2000 (source: the Census Bureau). GDP – nominal GDP (in millions of dollars) (source: the Bureau of Economic Statistic). Area – square miles (source: the Census Bureau).

Samples Samples are sets (usually subsets) of observations in a workfile. Samples may be specified over ranges of observations and “if” conditions. Workfile Range (includes all observations) (here from Jan 1950 – May 2012) Workfile Sample (includes only sample observations) (here from Jan 1990 – Dec 2002)

Range and Sample Workfile Data.wf1 is a dated workfile with monthly frequency. Page “Payroll” of the workfile contains data on “payroll” and “unemployment” from January 1950 to May 2012. The range of the workfile is from1950M1 to 2012M5. The sample is set from 1990M01 to 2002M12.

Changing the Sample There are a few different ways to change/set the workfile sample: Click the Sample button in the workkfile toolbar (1). Double click on the Sample display in workfile window (2). Select Proc/Set Sample from workfile menu (3). Type “smpl” in the command window (4). (4) (2) (1)

Changing the Sample in Time Series Data Date Pairs: Example 1 When using any of the above methods to change/set the sample, EViews opens the Sample dialog box asking for input. Sample specifications are entered in pairs (i.e., as date or observation pairs). Change the sample to Jan 1990 – Dec. 2002 Select any of the above methods (1-3). The Sample dialog box opens up. In the upper portion of the box under Sample range pairs, type the new sample in date pairs with spaces between the pairs. 1990m1 2002m12 Click OK.

Changing the Sample in Time Series Data Date Pairs: Example 1 (cont’d) The result is shown here. The range is the same as before (January 1950 – May 2005), but the sample has changed as we specified. Note that after the sample change, all analysis (graphs, stats, regressions) are carried out over the new sample. .

Changing the Sample in Time Series Data Date Pairs: Example 2 Suppose that you would like to define the sample over two (non-overlapping) periods. The process is the same as before: date ranges should be typed in pairs. Define the sample from March 1960 – Feb 1970 and from Jan 1992 – Oct. 2002 Select any of the methods (1-3) that allow you to change the sample. The Sample dialog box opens up. In the upper portion of the box under Sample range pairs , type the new sample in date pairs with spaces between each pair: 1960m3 1970m2 1992m1 2002m10 Click OK.

Changing the Sample in Time Series Data Date Pairs: Example 2 (cont’d) The result is shown here. The range is the same as before (January 1950 – May 2005), but the sample has changed as we specified. Note that the graph (and all other analysis) reflect the new sample. There is a break in the graph of the series because Jan 1992 comes right after February 1970, as was specified in the sample box. .

Changing the Sample in Cross-Section Data Observation Pairs In case of cross-section data, the cross-section identifier CANNOT be used to set/change the sample. To work through an example for cross-section data, click the cross_section page in Data.wf1 in order to activate that Page. Here we have population data for all 50 U.S. states in 2000.

Changing the Sample in Cross-Section Data Observation Pairs: Example 1 Suppose you would like to work with a subsample of US states that includes Arizona through Hawaii. For this, you must set the sample based on their observation order (3 through 11) and not by using the state identifier.

Changing the Sample in Cross-Section Data Observation Pairs: Example 1 (cont’d) The result is shown here. The range is the same as before (50 states), but the sample only include the 9 states we specified. As expected, after the sample change, all analysis (graphs, stats, regressions) are carried out over the new sample. .

Changing the Sample in Cross-Section Data Observation Pairs: Example 2 As another example, consider defining the sample over consecutive and non-consecutive observation pairs. Define the sample over consecutive and non-consecutive pairs. Select any of the methods (1-3) that allow you to change the sample. The Sample dialog box opens up. In the upper portion of the box under Sample range pairs , type the new sample in observation pairs. 2 2 6 6 8 10 25 25 Click OK. Note: this command instructs EViews to include only the following observations: 2nd, 6th, 8-10 and 25th.

Changing the Sample in Cross-Section Data Observation Pairs: Example 2 (cont’d) The result is shown here. The range is the same as before (50 states), but the sample only includes the 6 states we specified. .

Sample Keywords EViews uses special keywords which make it easier to define samples. Function Description @all Refers to the workfile range (includes all observations) @first @last Also refers to the workfile range (all obs. from first to last) @first @first Includes the first observation only @last @last Includes the last observation only

Sample Keywords: Example Let’s show the use of sample keywords through an example. Define the sample from the beginning of the workfile range to Feb 1980 and from Jan 2005 to the end of the workfile Click on the workfile page Payroll. Select any of the methods (1-3) that allow you to change the sample. The Sample dialog box opens up. In the upper portion of the box under Sample range pairs , type the new sample placing spaces between keywords and dates. As usual, all specifications are done in date pairs: @first 1980m2 2005m1 @last Click OK.

Sample Keywords: Example (cont’d) The result is shown here. The range is the same as before (January 1950 – May 2005), but the sample has changed. The sample now runs from January 1950 (the first observation denoted by @first) to February 1980 and from January 2005 to May 2012 (the end of the range denoted by @last). Note that the graph (and all other analysis) now reflect the new sample. .

Sample “If” Statements: Example 1 The lower portion of the Sample dialog box allows you to add conditions to sample specifications. Suppose you want to restrict the sample only to those observations when “payroll” increased compared to the previous month over the 1955-1992 period. Define sample using “if” condition: Example 1 Select any of the methods (1-3) that allow you to change the sample. The Sample dialog box opens up. In the upper portion of the box, type first the sample dates (in pairs). 1955m1 1992m12 In the bottom portion of the Sample box under IF condition, type: payroll-payroll(-1)>0 This specification instructs EViews to only include those observations when payroll increased from the previous month. Click OK. Note: payroll(-1) denotes the first lag of payroll series . For more details on series lags see the tutorial on Data Functions.

Sample “If” Statements: Example 1 (cont’d) The result is shown here. The range is the same as before (January 1950 – May 2005), but the sample has changed. The sample now runs from January 1955 – December 1992 and includes only those months when payroll levels rose compared to the previous month. Note that by default, EViews drops the excluded observations (months when payrolls declined or stayed the same compared to the previous month). .

Sample “If” Statements: Example 2 Let’s work on a slightly more complex example. Suppose you would like to restrict the sample to those observations when “unemployment” was between 4% and 6% or when “payroll” was unchanged from the previous month. Define sample using “if” condition: Example 2 Select any of the methods (1-3) that allow you to change the sample. The Sample dialog box opens up. In the upper portion of the box, type first the sample dates (in pairs). 1955m1 1992m12 In the bottom portion of the Sample box under IF condition, type: (unemployment>4 and unemployment<6) or payroll=payroll(-1) Click OK. Note: this command instructs EViews to include only those observations when “unemployment” was between 4 and 6 or when “payroll” was unchanged from the previous month

Sample “If” Statements: Example 2 (cont’d) The result is shown here. The range is the same as before (January 1950 – May 2005), but the sample has changed. The sample now runs from January 1955 – December 1992 and includes only those months when “unemployment” was between 4% and 6%, or payroll levels remained unchanged from the previous month. Note that by default, EViews drops the missing observations so the sample is defined over those months that satisfy the “if” condition. .

Sample “If” Statements: Example 2 (cont’d) You can change the graph so that the sample is defined over all months. In these cases, the months when the “if” condition does not hold are shown as missing data (see Advanced Graphing tutorial for more details). To change the graph defined over a sample: Double-click on the graph to bring up the Graph Option dialog box. Under Sample breaks and NA handling, select Pad excluded obs. Click OK. .

Sample “If” Statements: Example 2 (cont’d) The result is shown here. As you can see, the sample is the same as before, but the graph has changed to include all months in the 1955-1992 period. Those months for which the “if” statement does not hold are shown with missing data. .

Sample Ranges and Mathematical Expressions Sample ranges can be defined by using mathematical expressions. This is normally used to define a fixed-width window of observations. Function Description @first+12 @last Excludes the first 12 observations @first @first+11 Captures only the first 12 observations @first @last-15 Excludes the last 15 observations @last-14 @last Captures only the last 15 observations 1960m3 1960m3+11 Defines a sample with 12 observations starting in March 1960 – Feb 1961

Sample Objects If you need to work with a number of different samples, it may be useful to define these samples as Objects. To create a Sample Object Select Object → New Object from the menu. Click the Sample option, name it (in this case sample1), and then click OK. The Sample dialog box opens up; specify your sample here.

Sample Objects (cont’d) Lets create two sample objects: Sample 1: includes all but the last 100 observations of the data. Sample 2: includes only the last 100 observations of the data. Note: before proceeding with these two sample objects, lets first set the sample equal to the workfile range by typing in the command window: smpl @all Sample1 excludes the last 100 observations from the workfile range Sample2 includes only the last 100 observations from the workfile range

Sample Objects (cont’d) Both are saved as Objects in workfile.

Sample Objects (cont’d) You can estimate your equation model in the first sample by typing in the command window: Smpl sample1 ls payroll c unemployment And perform forecast evaluation in the second sample by clicking the Forecast button and changing the sample to sample2.