
- •Table of Contents
- •Foreword
- •Chapter 1. A Quick Walk Through
- •Workfile: The Basic EViews Document
- •Viewing an individual series
- •Looking at different samples
- •Generating a new series
- •Looking at a pair of series together
- •Estimating your first regression in EViews
- •Saving your work
- •Forecasting
- •What’s Ahead
- •Chapter 2. EViews—Meet Data
- •The Structure of Data and the Structure of a Workfile
- •Creating a New Workfile
- •Deconstructing the Workfile
- •Time to Type
- •Identity Noncrisis
- •Dated Series
- •The Import Business
- •Adding Data To An Existing Workfile—Or, Being Rectangular Doesn’t Mean Being Inflexible
- •Among the Missing
- •Quick Review
- •Appendix: Having A Good Time With Your Date
- •Chapter 3. Getting the Most from Least Squares
- •A First Regression
- •The Really Important Regression Results
- •The Pretty Important (But Not So Important As the Last Section’s) Regression Results
- •A Multiple Regression Is Simple Too
- •Hypothesis Testing
- •Representing
- •What’s Left After You’ve Gotten the Most Out of Least Squares
- •Quick Review
- •Chapter 4. Data—The Transformational Experience
- •Your Basic Elementary Algebra
- •Simple Sample Says
- •Data Types Plain and Fancy
- •Numbers and Letters
- •Can We Have A Date?
- •What Are Your Values?
- •Relative Exotica
- •Quick Review
- •Chapter 5. Picture This!
- •A Simple Soup-To-Nuts Graphing Example
- •A Graphic Description of the Creative Process
- •Picture One Series
- •Group Graphics
- •Let’s Look At This From Another Angle
- •To Summarize
- •Categorical Graphs
- •Togetherness of the Second Sort
- •Quick Review and Look Ahead
- •Chapter 6. Intimacy With Graphic Objects
- •To Freeze Or Not To Freeze Redux
- •A Touch of Text
- •Shady Areas and No-Worry Lines
- •Templates for Success
- •Point Me The Way
- •Your Data Another Sorta Way
- •Give A Graph A Fair Break
- •Options, Options, Options
- •Quick Review?
- •Chapter 7. Look At Your Data
- •Sorting Things Out
- •Describing Series—Just The Facts Please
- •Describing Series—Picturing the Distribution
- •Tests On Series
- •Describing Groups—Just the Facts—Putting It Together
- •Chapter 8. Forecasting
- •Just Push the Forecast Button
- •Theory of Forecasting
- •Dynamic Versus Static Forecasting
- •Sample Forecast Samples
- •Facing the Unknown
- •Forecast Evaluation
- •Forecasting Beneath the Surface
- •Quick Review—Forecasting
- •Chapter 9. Page After Page After Page
- •Pages Are Easy To Reach
- •Creating New Pages
- •Renaming, Deleting, and Saving Pages
- •Multi-Page Workfiles—The Most Basic Motivation
- •Multiple Frequencies—Multiple Pages
- •Links—The Live Connection
- •Unlinking
- •Have A Match?
- •Matching When The Identifiers Are Really Different
- •Contracted Data
- •Expanded Data
- •Having Contractions
- •Two Hints and A GotchYa
- •Quick Review
- •Chapter 10. Prelude to Panel and Pool
- •Pooled or Paneled Population
- •Nuances
- •So What Are the Benefits of Using Pools and Panels?
- •Quick (P)review
- •Chapter 11. Panel—What’s My Line?
- •What’s So Nifty About Panel Data?
- •Setting Up Panel Data
- •Panel Estimation
- •Pretty Panel Pictures
- •More Panel Estimation Techniques
- •One Dimensional Two-Dimensional Panels
- •Fixed Effects With and Without the Social Contrivance of Panel Structure
- •Quick Review—Panel
- •Chapter 12. Everyone Into the Pool
- •Getting Your Feet Wet
- •Playing in the Pool—Data
- •Getting Out of the Pool
- •More Pool Estimation
- •Getting Data In and Out of the Pool
- •Quick Review—Pools
- •Chapter 13. Serial Correlation—Friend or Foe?
- •Visual Checks
- •Testing for Serial Correlation
- •More General Patterns of Serial Correlation
- •Correcting for Serial Correlation
- •Forecasting
- •ARMA and ARIMA Models
- •Quick Review
- •Chapter 14. A Taste of Advanced Estimation
- •Weighted Least Squares
- •Heteroskedasticity
- •Nonlinear Least Squares
- •Generalized Method of Moments
- •Limited Dependent Variables
- •ARCH, etc.
- •Maximum Likelihood—Rolling Your Own
- •System Estimation
- •Vector Autoregressions—VAR
- •Quick Review?
- •Chapter 15. Super Models
- •Your First Homework—Bam, Taken Up A Notch!
- •Looking At Model Solutions
- •More Model Information
- •Your Second Homework
- •Simulating VARs
- •Rich Super Models
- •Quick Review
- •Chapter 16. Get With the Program
- •I Want To Do It Over and Over Again
- •You Want To Have An Argument
- •Program Variables
- •Loopy
- •Other Program Controls
- •A Rolling Example
- •Quick Review
- •Appendix: Sample Programs
- •Chapter 17. Odds and Ends
- •How Much Data Can EViews Handle?
- •How Long Does It Take To Compute An Estimate?
- •Freeze!
- •A Comment On Tables
- •Saving Tables and Almost Tables
- •Saving Graphs and Almost Graphs
- •Unsubtle Redirection
- •Objects and Commands
- •Workfile Backups
- •Updates—A Small Thing
- •Updates—A Big Thing
- •Ready To Take A Break?
- •Help!
- •Odd Ending
- •Chapter 18. Optional Ending
- •Required Options
- •Option-al Recommendations
- •More Detailed Options
- •Window Behavior
- •Font Options
- •Frequency Conversion
- •Alpha Truncation
- •Spreadsheet Defaults
- •Workfile Storage Defaults
- •Estimation Defaults
- •File Locations
- •Graphics Defaults
- •Quick Review
- •Index
- •Symbols

Shady Areas and No-Worry Lines—171
Shady Areas and No-Worry Lines
Adding shaded areas or vertical or horizontal lines to graphs is a very effective way of focusing your audience’s attention on specific aspects of a plot. The button brings up the Lines & Shading dialog, which is used to place both lines and shades.
Shades
Beginning in 1942 and ending with the March 4, 1951 TreasuryFederal Reserve Accord, the Federal Reserve kept interest rates low in support of the American war effort. We can use shading to highlight interest rates during this period. Define a shaded area by entering Left and Right observations in the Position field of the Lines & Shading dialog.
Hint: To put in multiple shaded areas, use repeatedly.
Hint: The Apply color to all vertical shaded areas checkbox lets you change the color of all the vertical shades on a graph with one command. This checkbox morphs according to the type of line or shade selected. For example, if you’ve set the combo for Orientation to Horizontal - left axis, the checkbox reads Apply color, pattern, & width to all left scale lines.

172—Chapter 6. Intimacy With Graphic Objects
Shading can also be applied horizontally. After the Bretton Woods agreement on exchange rates broke down, a number of European countries agreed to keep their exchange rates from rising or falling more than 2.25 percent. Sometimes this worked and sometimes it didn’t. Shading visually highlights a band of the appropriate width for the Belgian/Dutch exchange rate in the figure to the right.
Lines
Adding a vertical or horizontal line, or lines, to a graph draws the viewer’s eyes to distinguishing features. For example, long term interest rates are usually higher than short term interest rates. (This goes by the term called “normal backwardation,” in case you were wondering.) The reverse relation is sometimes thought to signal that a recession is likely. Here’s a graph that shows the difference between the one year and three month interest rates.

Templates for Success—173
Use to add a horizontal line at zero, as shown.
In the revised figure it’s much easier to see how rare it is for the longer term rate to dip below the short rate.
Templates for Success
What’s really useful is to see how the difference between long and short term interest rates compares to (shaded) periods of recession. Periods in which the long rate dips below the short rate are associated with recessions. On the other hand, there have been a number of recessions in which this didn’t happen.
In fact, adding shading for recessions has become something of a

174—Chapter 6. Intimacy With Graphic Objects
standard in the display of U.S. macro time series data. Including shades for the NBER recession dates is so easy that you may want to make it a regular practice. Just use the button for each of the 32 recessions identified by the NBER.
You don’t really want to re-enter the same 32 sets of shade dates every time you draw a graph, do you? Templates to the rescue!
A template is nothing more than a graphic object from which you can copy option settings into another graph. Open the graph sans shades and click . (You may need to widen the graph window to see this button on the far right.) The Graph Options dialog
opens to the Templates & Objects section. I once made a graph with the NBER recessions marked as shades, and saved that graph in the workfile with the name RECESSIONS. Choosing RECESSIONS, in the Graphs as templates: scroll area, makes available all the graphic options—including shade bands—for copying into the current graph.
Hint: When you select a template, an alert pops open to remind you that all the options in all the various Graph Options sections will be changed.
Hint: The list in Graphs as templates: shows graphs in the current workfile. If the template graph is in another workfile, it’s easy enough to copy it and then paste it into the current workfile.
Once you hit the button all the basic graphic elements are copied into the current graph, with the exception of text objects, line and shade objects, some axis options, and legend text.

Templates for Success—175
Hint: Applying a template can make a lot of changes, and there’s no undo once you exit the dialog. It can pay to use Object/Copy Object… to duplicate the graph before making changes. Then try out the template on the fresh copy.
Text, lines, and shades in templates
Radio buttons offer three options for how text, line, and shade objects are copied.
Do not apply means don’t copy these objects from the template. Use this setting to change everything except text, line, and shades to the styles in the template. Any text, line, or shade objects you add subsequent to the choice of template will use the template settings.
Apply template settings to existing uses the template styles for both existing and future text, line, and shades.
Replace text & line/shade wipes out existing text, line, and shade objects and then copies these objects in from the template. In the
previous figure, we manually re-entered the zero line after the recession shading was applied from the template. This was necessary because the template didn’t have a zero line, and all lines get replaced.
Hint: If you regularly shade graphs to show periods of recession—something commonly done in macroeconomics—make a template with recession periods shaded and then use Replace text & line/shade to copy the shaded areas onto new graphs.
Hint: Nope, there’s no way to copy text, line or shade objects from the template without replacing the existing ones.
Axis and legends in templates
Two checkboxes handle how axis and legend settings are copied.
Check the first box to apply axis settings from the template related to the label and scale. The second checkbox will replace the current legend text with that of the template.
If neither is checked, these items will not be copied.

176—Chapter 6. Intimacy With Graphic Objects
Bold, wide, and English labels in templates
You will also be given the choice of applying the Bold, Wide, or English labels modifiers. Bold modifies the template settings so that lines and symbols are bolder (thicker, and larger) and adjusts other characteristics of the graph, such as the frame, to match, Wide changes the aspect ratio of the graph so that the horizontal to vertical ratio is increased, and English labels modifier changes the settings for auto labeling the date axis so that labels that use month formatting will default to English month names (“Jan”, “Feb”, “Mar” instead of “M1”, “M2”, “M3”).
Predefined Templates
EViews comes with a set of predefined templates that provide attractive looking graphic styles. These appear on the left in the Template selection field.
You can add any graph you like to the predefined list so that it will be globally available by going to the Manage templates page of the Templates & Objects section. Then