- •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
134—Chapter 6. EViews 5.1 Command Reference Update Summary
testadd |
Command || Equation View | Pool View |
|
|
Test whether to add regressors to an estimated equation.
Tests the hypothesis that the listed variables were incorrectly omitted from an estimated equation (only available for equations estimated by list). The test displays some combination of Wald and LR test statistics, as well as the auxiliary regression.
Syntax
Command: |
testadd(options) arg1 [arg2 arg3 ... |
] |
Equation View: |
eq_name.testadd(options) arg1 [arg2 arg3 ...] |
|
Pool View: |
pool_name.testadd(options) [x1 x2 |
...] [@cxreg z1 z2 ...] [@perreg |
|
z3 z4 ...] |
|
List the names of the series or groups of series to test for omission after the keyword. The command form applies the test to the default equation, if defined.
Options
p |
Print output from the test. |
|
|
Examples
ls sales c adver lsales ar(1)
testadd gdp gdp(-1)
tests whether GDP and GDP(-1) belong in the specification for SALES. The commands:
equation oldeq.ls sales c adver lsales ar(1)
oldeq.testadd gdp gdp(-1)
perform the same test using a named equation object.
pool1.testadd gdp? @cxreg inc?
tests the addition of the pool series GDP? to the common coefficients list and INC? to the cross-section specific coefficients list.
Cross-references
See “Coefficient Tests” of the User’s Guide for further discussion.
See also testdrop (p. 135) and wald.
EViews 5.1 Command Reference Update Summary—135
testdrop |
Command || Equation View | Pool View |
|
|
Test whether to drop regressors from a regression.
Tests the hypothesis that the listed variables were incorrectly included in the estimated equation (only available for equations estimated by list). The test displays some combination of F and LR test statistics, as well as the test regression.
Syntax
Command: testdrop(options) arg1 [arg2 arg3 ...]
Object View: |
eq_name.testdrop(options) arg1 [arg2 arg3 ...] |
List the names of the series or groups of series to test for omission after the keyword. The command form applies the test to the default equation, if defined.
Options
p |
Print output from the test. |
|
|
Examples
ls sales c adver lsales ar(1)
testdrop adver
tests whether ADVER should be excluded from the specification for SALES. The commands:
equation oldeq.ls sales c adver lsales ar(1)
oldeq.testdrop adver
perform the same test using a named equation object.
pool1.testdrop(p) x?
drops X? from the existing pool specification and prints the results of the test.
Cross-references
See “Coefficient Tests” of the User’s Guide for further discussion of testing coefficients.
See also testadd (p. 134) and wald.
136—Chapter 6. EViews 5.1 Command Reference Update Summary
textdefault |
Graph Proc |
|
|
Change default settings for text objects in the graph.
This command specifies changes in the default settings which will be applied to text objects added subsequently to the graph. If you include the “existing” option, all of the text default settings will also be applied to existing text objects in the graph.
Syntax
Graph Proc: |
graph_name.textdefault text_options |
where text_options include one or more of one of the following:
font([face], [pt], [+/- b], [+/- i], [+/- u], [+/- s])
textcolor(arg)
fillcolor(arg)
Set characteristics of default text 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.
Sets the default color of the 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, 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.
Sets the default background fill color of the text 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.
|
|
EViews 5.1 Command Reference Update Summary—137 |
|
|
|
|
|
|
framecolor(arg) |
Sets the default color of the text 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, 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. |
|
|
|
|
|
|
existing |
Apply the default settings to all existing text objects in |
|
|
|
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.
Examples
graph1.textdefault font("Arial", b) fillcolor(gray) existing
changes the defaulat text settings for new text objects so that new text is in Arial bold, using the current default font size and color. Should the new text be enclosed in a box, the box will have a gray fill. Additionally, the “existing” keyword specifies that existing text objects in the graph will be updated with the current text settings. Note that in addition to the font type and fill color specified in the command, all text default settings will be applied to the existing text.
graph1.textdefault existing
updates the text objects in GRAPH1 with the current text default settings.
Cross-references
See Chapter 1, “EViews 5.1 Enhanced Graph Customization”, on page 33 for a discussion of graph options.
See addtext (p. 70) and legend (p. 102).
xy |
Command || Graph Command | Group View | Matrix View | Sym View |
|
|
Display XY graph of object, or change existing graph object type to XY (if possible).
By default, the first series or column of data will be located along the horizontal axis and the remaining data on the vertical axis. You may optionally choose to plot the data in pairs, where the first two series or columns are plotted against each other, the second two series or columns are plotted against each other, and so forth.
138—Chapter 6. EViews 5.1 Command Reference Update Summary
Syntax
Command: |
xy(options) arg1 [arg2 arg3 ...] |
Object View: |
group_name.xy(options) |
Graph Proc: |
graph_name.xy(options) |
If used as a command, follow the keyword by a list of series and group objects, or by a matrix object. There must be at least two series or columns in the data to be graphed.
If changing the type of a graph, the default behavior is to use the existing settings for lines and symbols in the graph.
See scat (p. 123) and xyline (p. 140) if you wish to create an XY graph with specific line/symbol settings, or use setelem (p. 126) to change the settings after the graph is created.
Options
Options may be specified in parentheses after the keyword.
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 XY graph. |
|
|
The options which support the “-” may be proceeded by a “+” or “-” indicating whether to turn on or off the option. The “+” is optional.
Note that use of a template will override the existing line and symbol settings.
Scale options
a (default) |
Automatic single scale. |
|
|
|
|
EViews 5.1 Command Reference Update Summary—139 |
|
|
|
|
|
|
b |
Plot series or columns in pairs (the first two against |
|
|
|
each other, the second two against each other, and so |
|
|
|
forth). |
|
|
|
|
|
|
n |
Normalized scale (zero mean and unit standard devia- |
|
|
|
tion). May not be used with the “s” option. |
|
|
|
|
|
|
d |
Dual scaling with no crossing. |
|
|
|
|
|
|
x |
Dual scaling with possible crossing. |
|
|
|
|
|
mDisplay XY plots in multiple graphs (will override the “s” option). Not for use with an existing graph object.
Panel options
The following options apply when graphing panel structured data:
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 quan- |
|
tiles), “med025” (plot median +/- .025 quantiles), |
|
“med005” (plot median +/- .005 quantiles), “med- |
|
mxmn” (plot median, max and min). |
Examples
group g1 inf unemp gdp inv
g1.xy(o=gra1)
plots INF on the horizontal axis and UNEMP, GDP and INV on the vertical axis, using the graph object GRA1 as a template.
g1.xy(b)
g1.xy(b,m)
plots INF against UNEMP and GDP against INV in first in a single graph, and then in multiple graphs.
