- •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
122—Chapter 6. EViews 5.1 Command Reference Update Summary
Examples
smpl 1990 1995
pie cons inv gov
shows six pie charts, each divided into CONS, INV, and GOV.
graph gr1.line cons inv gov
gr1.pie
creates a line graph GR1 and then changes the graph to a pie chart.
gr1.pie(o=midnight, b, w)
creates a pie graph using the group G1, applying the settings of the predefined template “midnight”, with the bold and wide modifiers.
Cross-references
See Chapter 1, “EViews 5.1 Enhanced Graph Customization”, on page 33 of the User’s Guide for a discussion of graphs and templates.
See also graph for graph declaration and other graph types.
ranhaus |
Equation View | Pool View |
|
|
Test for correlation between random effects and regressors using Hausman test.
Tests the hypothesis that the random effects (components) are correlated with the righthand side variables in a panel or pool equation setting. Uses Hausman test methodology to compare the results from the estimated random effects specification and a corresponding fixed effects specification. If the estimated specification involves two-way random effects, three separate tests will be performed; one for each set of effects, and one for the joint effects.
Only valid for panel or pool regression equations estimated with random effects. Note that the test results may be suspect in cases where robust standard errors are employed.
Syntax
Object View: |
eq_name.ranhaus(options) |
Options
p |
Print output from the test. |
|
|
EViews 5.1 Command Reference Update Summary—123
Examples
equation eq1.ls(cx=r) sales c adver lsales
eq1.ranhaus
estimates a specification with cross-section random effects and tests whether the random effects are correlated with the right-hand side variables ADVER and LSALES using the Hausman test methodology.
Cross-references
See also testadd (p. 134), testdrop (p. 135), fixedtest (p. 95), and wald.
scat
Command || Graph Command | Group View | Matrix View | Rowvector View| Sym View
Display scatterplot graph of object, or change existing graph object type to scatterplot (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.
Syntax
Command: |
scat(options) arg1 [arg2 arg3 ...] |
Object View: |
group_name.scat(options) |
Graph Proc: |
graph_name.scat(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.
Scatterplots are simply XY plots (see xy (p. 137)) with symbols turned on, and lines turned off (see setelem (p. 126)).
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.
124—Chapter 6. EViews 5.1 Command Reference Update Summary
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 scatterplot 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 the template option will override the symbol setting.
Scale options
a (default) |
Automatic single scale. |
|
|
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.
|
EViews 5.1 Command Reference Update Summary—125 |
|
|
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
scat unemp inf want
produces an UNTITLED graph object containing a scatter plot, with UNEMP on the horizontal and INF and WANT on the vertical axis.
group med age height weight
med.scat(t=scat2)
produces a scatter plot view of the group object MED, using the graph object SCAT2 as a template.
group pairs age height weight length
pairs.scat(b)
produces a scatter plot view with AGE plotted against HEIGHT, and WEIGHT plotted against LENGTH.
If there is an existing graph GRAPH01, the expression:
graph01.scat(b)
changes its type to a scatterplot with data plotted in pairs (if possible), with the remaining XY graph settings at their default values.
Cross-references
See Chapter 1, “EViews 5.1 Enhanced Graph Customization”, on page 33 for a discussion of graphs and templates.