
- •Table of Contents
- •EViews 5.1 Update Overview
- •Overview of EViews 5.1 New Features
- •Chapter 1. EViews 5.1 Enhanced Graph Customization
- •Basic Graph Characteristics
- •Adding and Editing Text
- •Updated Graph Command Summary
- •Chapter 2. EViews 5.1 Workfile Page Creation Tools
- •Creating a New Page Using Identifiers
- •Updated Workfile Page Command Summary
- •Chapter 3. EViews 5.1 Panel and Pool Testing
- •Omitted Variables Test
- •Redundant Variables Test
- •Fixed Effects Testing
- •Hausman Test for Correlated Random Effects
- •Updated Panel and Pool Command Summary
- •Chapter 4. EViews 5.1 EcoWin Database Support
- •Interactive Graphical Interface
- •Tips for Working with EcoWin Databases
- •Updated EcoWin Command Summary
- •Chapter 5. EViews 5.1 Miscellaneous Features
- •Enhanced Copy Command
- •Equation Forecast Coefficient Uncertainty
- •Additional GARCH Output
- •Global Default for Maximum Number of Errors
- •Chapter 6. EViews 5.1 Command Reference Update Summary
- •addtext
- •area
- •axis
- •copy
- •dbopen
- •draw
- •drawdefault
- •errbar
- •fixedtest
- •forecast
- •garch
- •hilo
- •legend
- •line
- •linkto
- •makegarch
- •makemap
- •pagecreate
- •options
- •ranhaus
- •scat
- •setelem
- •spike
- •template
- •testadd
- •testdrop
- •textdefault
- •xyline
- •xypair
- •Index
- •area 45
- •Axis
- •Bar graph 49
- •Conditional variance
- •Coordinates
- •Copy
- •Create
- •workfile page 84
- •Database
- •Drag(ging)
- •Error bar graph 63
- •EViews Enterprise Edition 31
- •Fixed effects
- •Font options
- •Forecast
- •Frequency conversion 51
- •GARCH
- •Graph
- •border 5
- •color settings 5
- •modifying 5
- •place text in 8, 42, 107
- •scatterplot graph 94
- •Legend
- •line 76
- •makegarch 83
- •Open
- •Page
- •Pie graph 91
- •Random effects
- •Test
- •Workfile
- •create page in 84
- •xypair 114

EViews 5.1 Command Reference Update Summary—99
Options
vDisplay conditional variance graph instead of the standard deviation graph.
p |
Print the graph |
Examples
equation eq1.arch sp500 c
eq1.garch
estimates a GARCH(1,1) model and displays the estimated conditional standard deviation graph.
eq1.garch(v, p)
displays and prints the estimated conditional variance graph.
Cross-references
ARCH estimation is described in Chapter 20, “ARCH and GARCH Estimation” of the User’s Guide.
See also arch and makegarch (p. 111).
hilo |
Command || Graph Command | Group View | Matrix View | Sym View |
|
|
Display high-low[-open-close] graph view of object, or change existing graph object type to high-low[-open-close] (if possible).
Syntax
Command: |
hilo(options) high_ser low_ser [close_ser] |
|
hilo(options) high_ser low_ser open_ser close_ser |
|
hilo(options) arg |
Graph Proc: |
graph_name.hilo(options) |
Object View: |
object_name.hilo(options) |
For a high-low, or a high-low-close graph, follow the command name with the name of the high series, followed by the low series, and an optional close series. If four series names are provided, EViews will use them in the following order: high-low-open-close.
When used with a matrix or group or an existing graph, EViews will use the first series as the high series, the second series as the low series, and if present, the third series as the close. If there are four or more series, EViews will use them in the following order: high-

100—Chapter 6. EViews 5.1 Command Reference Update Summary
low-open-close. When used as a matrix view, the columns of the matrix are used in place of the series.
Note that if you wish to display a high-low-open graph, you should use an “NA”-series for the close values.
Options
Template and printing options
o= template |
Use appearance options from the specified template. |
|
template may be a predefined template keyword |
|
(‘default” - current global defaults, “classic”, “modern”, |
|
“reverse”, “midnight”, “spartan”, “monochrome”) or a |
|
graph in the workfile. |
|
|
t=graph_name |
Use appearance options and copy text and shading from |
|
the specified graph. |
|
|
b / -b |
[Apply / Remove] bold modifiers of the base template |
|
style specified using the “o=” option above. |
|
|
w / -w |
[Apply / Remove] wide modifiers of the base template |
|
style specified using the “o=” option above. |
|
|
p |
Print the graph. |
|
|
The options which support the “-” may be proceeded by a “+” or “-” indicating whether to turn on or off the option. The “+” is optional.
Panel Options
The following options apply when graphing panel structured data.

|
EViews 5.1 Command Reference Update Summary—101 |
|
|
panel=arg |
Panel data display: “stack” (stack the cross-sections), |
(default taken |
“individual” or “1” (separate graph for each cross-sec- |
from global settion), “combine” or “c” (combine each cross-section in |
|
tings) |
single graph; one time axis), “mean” (plot means |
|
across cross-sections), “mean1se” (plot mean and +/- |
|
1 standard deviation summaries), “mean2sd” (plot |
|
mean and +/- 2 s.d. summaries), “mean3sd” (plot |
|
mean and +/- 3 s.d. summaries), “median” (plot |
|
median across cross-sections), “med25” (plot median |
and +/- .25 quantiles), “med10” (plot median and +/-
.10 quantiles), “med05” (plot median +/- .05 quantiles), “med025” (plot median +/- .025 quantiles), “med005” (plot median +/- .005 quantiles), “medmxmn” (plot median, max and min).
Examples
hilo mshigh mslow
displays a high-low graph using the series MSHIGH and MSLOW.
hilo(p) mshigh mslow msopen msclose
plots and prints the high-low-open-close graph of the four series.
group stockprice mshigh mslow msclose
stockprice.hilo
displays the high-low-close view of the group STOCKPRICE.
stockprice.hilo(t=templt1)
creates an high-low-close graph view of the group G1, using the settings of the graph object TEMPLT1 as a template.
Cross-references
See Chapter 1, “EViews 5.1 Enhanced Graph Customization”, on page 33 for additional details on using graphs in EViews.
See also graph for graph declaration and other graph types.

102—Chapter 6. EViews 5.1 Command Reference Update Summary
legend |
Graph Proc |
|
|
Set legend appearance and placement in graphs.
When legend is used with a multiple graph, the legend settings apply to all graphs. See setelem (p. 126) for setting legends for individual graphs in a multiple graph.
Syntax
Graph Proc: |
graph_name.legend option_list |
Note: the syntax of the legend proc has changed considerably from version 3.1 of EViews. While not documented here, the EViews 3 options are still (for the most part) supported. However, we do not recommend using the old options as future support is not guaranteed.
Options
columns(arg) |
Columns for legend: “auto” (automatically choose num- |
(default=“auto”) |
ber of columns), int (put legend in specified number of |
|
columns). |
|
|
display/–display |
Display/do not display the legend. |
|
|
inbox/–inbox |
Put legend in box/remove box around legend. |
|
|
position(arg) |
Position for legend: “left” or ”l” (place legend on left |
|
side of graph), “right” or “r” (place legend on right side |
|
of graph), “botleft” or “bl” (place left-justified legend |
|
below graph), “botcenter” or “bc” (place centered leg- |
|
end below graph), “botright” or “br” (place right-justi- |
|
fied legend below graph), “(h, v)” (the first number h |
|
specifies the number of virtual inches to offset to the |
|
right from the origin. The second number v specifies |
|
the virtual inch offset below the origin. The origin is the |
|
upper left hand corner of the graph). |
font([face], [pt], [+/- b], [+/- i], [+/- u], [+/- s])
Set characteristics of legend font. The font name (face), size (pt), and characteristics are all optional. face should be a valid font name, enclosed in double quotes. pt. should be the font size in points. The remaining options specify whether to turn on/off boldface (b), italic (i), underline (u), and strikeout (s) styles.
|
|
EViews 5.1 Command Reference Update Summary—103 |
|
|
|
|
|
|
textcolor(arg) |
Sets the color of the legend text. arg may be one of the |
|
|
|
predefined color keywords, or it may be made up of n1, |
|
|
|
n2, n3, a set of three integers from 0 to 255, represent- |
|
|
|
ing the RGB values of the color. For a description of the |
|
|
|
available color keywords (“blue”, “red”, “green”, |
|
|
|
“black”, “white”, “purple”, “orange”, “yellow”, “gray”, |
|
|
|
“ltgray”), see setfillcolor. |
|
|
|
|
|
|
fillcolor(arg) |
Sets the background fill color of the legend box. arg |
|
|
|
may be one of the predefined color keywords, or it may |
|
|
|
be made up of n1, n2, n3, a set of three integers from 0 |
|
|
|
to 255, representing the RGB values of the color. For a |
|
|
|
description of the available color keywords (“blue”, |
|
|
|
“red”, “green”, “black”, “white”, “purple”, “orange”, |
|
|
|
“yellow”, “gray”, “ltgray”), see setfillcolor. |
|
|
|
|
|
|
framecolor(arg) |
Sets the color of the legend box frame. arg may be one |
|
|
|
of the predefined color keywords, or it may be made up |
|
|
|
of n1, n2, n3, a set of three integers from 0 to 255, rep- |
|
|
|
resenting the RGB values of the color. For a description |
|
|
|
of the available color keywords (“blue”, “red”, “green”, |
|
|
|
“black”, “white”, “purple”, “orange”, “yellow”, “gray”, |
|
|
|
“ltgray”), see setfillcolor. |
The options which support the “-” may be proceeded by a “+” or “-” indicating whether to turn on or off the option. The “+” is optional.
The default settings are taken from the global defaults.
Examples
mygra1.legend display position(l) inbox
places the legend of MYGRA1 in a box to the left of the graph.
mygra1.legend position(.2,.2) -inbox
places the legend of MYGRA1 within the graph, indented slightly from the upper left corner with no box surrounding the legend text.
mygra1.legend font("Times", 12, b, i) textcolor(red) fillcolor(blue) framecolor(blue)
sets the legend font to red “Times” 12pt bold italic, and changes both the legend fill and frame colors to blue.