Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Eviews5 / EViews5 / Docs / EViews 5 Command Ref.pdf
Скачиваний:
84
Добавлен:
23.03.2015
Размер:
5.23 Mб
Скачать

Graph—161

Graph

Graph object. Specialized object used to hold graphical output.

Graph Declaration

freeze

...................freeze graphical view of object (p. 303).

graph....................

create graph object using graph command or by merging existing

 

graphs (p. 316).

Graphs may be created by declaring a graph using one of the graph commands described below, or by freezing the graphical view of an object. For example:

graph myline.line ser1

graph myscat.scat ser1 ser2

graph myxy.xyline grp1

declare and create the graph objects MYLINE, MYSCAT and MYXY. Alternatively, you can use the freeze command to create graph objects:

freeze(myline) ser1.line

group grp2 ser1 ser2

freeze(myscat) grp2.scat

freeze(myxy) grp1.xyline

which are equivalent to the declarations above.

Graph Type Commands

area ......................

area graph (p. 211).

bar .......................

bar graph (p. 219).

errbar ...................

error bar graph (p. 287).

hilo ......................

high-low(-open-close) graph (p. 320).

line.......................

line-symbol graph (p. 334).

pie........................

pie chart (p. 406).

scat ......................

scatterplot (p. 435).

spike ....................

spike graph (p. 479).

xy.........................

XY graph with one or more X plotted against one or more Y

 

(p. 556).

xyline ...................

XY line graph (p. 558).

xypair...................

XY pairs graph (p. 556).

Graph View

label

.....................label information for the graph (p. 330).

162—Appendix A. Object, View and Procedure Reference

Graph Procs

addtext.................

place arbitrary text on the graph (p. 201).

align ....................

align the placement of multiple graphs (p. 203).

axis......................

sets axis display characteristics for the graph (p. 217).

bplabel.................

specify labeling of bottom-axis in boxplots (p. 231).

datelabel ..............

controls labeling of the bottom date/time axis in time plots

 

(p. 262).

dates....................

controls labeling of the bottom date/time axis in time plots

 

(p. 263).

draw ....................

draw lines and shaded areas on the graph (p. 277).

drawdefault..........

set default settings for lines and shaded areas on the graph

 

(p. 279).

legend..................

control the appearance and placement of legends (p. 332).

merge ..................

merge graph objects (p. 368).

metafile ...............

save graph to a Windows metafile (p. 369).

name ...................

change the series name for legends or axis labels (p. 371).

options ................

change the option settings of the graph (p. 375).

save .....................

save graph to a Windows metafile or PostScript file (p. 430).

scale ....................

set the axis scaling for the graph (p. 433).

setbpelem ............

set options for element of a boxplot graph (p. 445).

setelem ................

set individual line, bar and legend options for each series in the

 

graph (p. 449).

template...............

use template graph (p. 498).

textdefault............

set default settings for text objects in the graph (p. 508).

Graph Examples

 

You can declare your graph:

graph abc.xyline(m) unemp gnp inf

graph bargraph.bar(d,l)unemp gnp

Alternately, you may freeze any graphical view:

freeze(mykernel) ser1.kdensity

You can change the graph type,

graph mygraph.line ser1

mygraph.hist

or combine multiple graphs:

Group—163

graph xyz.merge graph1 graph2

Group

Group of series. Groups are used for working with collections of series objects (series, alphas, links).

Group Declaration

group....................

create a group object (p. 317).

To declare a group, enter the keyword group, followed by a name, and optionally, a list of series or expressions:

group salesvrs

group nipa cons(-1) log(inv) g x

Additionally, a number of object procedures will automatically create a group.

Group Views

area ......................

area graph of the series in the group (p. 211).

bar .......................

single or multiple bar graph view of all series (p. 219).

boxplot .................

boxplot of each series in the group (p. 224).

cause ....................

pairwise Granger causality tests (p. 233).

cdfplot ..................

distribution (cumulative, survivor, quantile) graphs (p. 235).

coint.....................

Johansen cointegration test (p. 245).

cor........................

correlation matrix between series (p. 255).

correl....................

correlogram of the first series in the group (p. 256).

cov .......................

covariance matrix between series (p. 259).

cross.....................

cross correlogram of the first two series (p. 260).

dtable ...................

dated data table (p. 282).

errbar ...................

error bar graph view (p. 287).

freq ......................

frequency table n -way contingency table (p. 303).

hilo ......................

high-low(-open-close) chart (p. 320).

kerfit ....................

scatter of the first series against the second series with kernel fit

 

(p. 329).

label .....................

label information for the group (p. 330).

line.......................

single or multiple line graph view of all series (p. 334).

linefit ...................

scatter of the first series against the second series with regression

 

line (p. 337).

nnfit .....................

scatter of the first series against the second series with nearest

 

neighbor fit (p. 372).

164—Appendix A. Object, View and Procedure Reference

pie .......................

pie chart view (p. 406).

pcomp .................

principal components analysis (p. 405).

qqplot ..................

quantile-quantile plots (p. 411).

scat......................

single scatter diagram of the series in the group (p. 435).

scatmat ................

matrix of all pairwise scatter plots (p. 438).

sheet....................

spreadsheet view of the series in the group (p. 469).

spike....................

spike graph (p. 479).

stats.....................

descriptive statistics (p. 487).

testbtw.................

tests of equality for mean, median, or variance, between series in

 

group (p. 501).

uroot....................

unit root test on the series in the group (p. 522).

xy........................

XY graph with one or more X series plotted against one or more Y

 

(p. 556).

xyline ..................

XY line graph (p. 558).

xypair ..................

XY pairs graph (p. 556).

Group Procs

add ......................

add one or more series to the group (p. 198).

displayname.........

set display name (p. 276).

drop.....................

drop one or more series from the group (p. 281).

resample ..............

resample from rows of group (p. 418).

setformat .............

set the display format in the group spreadsheet for the specified

 

series (p. 456).

setindent..............

set the indentation in the group spreadsheet for the specified series

 

(p. 462).

setjust..................

set the justification in the group spreadsheet for the specified

 

series (p. 463).

setwidth...............

set the column width in the group spreadsheet for the specified

 

series (p. 468).

Group Data Members

(i)........................

i-th series in the group. Simply append “(i)” to the group name

 

(without a “.”).

@comobs.............

number of observations in the current sample for which each

 

series in the group has a non-missing value (observations in the

 

common sample).

@count................

number of series in the group.

Соседние файлы в папке Docs