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

130—Chapter 6. EViews 5.1 Command Reference Update Summary

Cross-references

See Chapter 1, “EViews 5.1 Enhanced Graph Customization”, on page 33 for a discussion of graph options in EViews.

See also axis (p. 75), datelabel, scale, and options (p. 117).

spike

Command || Coef View | Graph Command | Group View | Matrix View | Rowvector View | Series View | Sym View | Vector View

Display spike graph view of data, or change existing graph object type to spike.

The spike graph view of a series or group creates spike graphs for all specified series or matrix columns.

Syntax

Command:

spike arg1 [arg2 arg3 ...]

Object View:

object_name.spike(options)

Graph Proc:

graph_name.spike(options)

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 spike graph.

 

 

The options which support the “-” may be proceeded by a “+” or “-” indicating whether to turn on or off the option. The “+” is optional.

Scale options

a (default)

Automatic single scale.

 

 

 

 

EViews 5.1 Command Reference Update Summary—131

 

 

 

 

 

d

Dual scaling with no crossing. The first series is scaled

 

 

on the left and all other series are scaled on the right.

 

 

 

 

x

Dual scaling with possible crossing. See the “d” option.

 

 

 

 

 

 

n

Normalized scale (zero mean and unit standard devia-

 

 

tion). May not be used with the “s” option.

 

 

 

 

s

Stacked spike graph. Each segment represents the

 

 

 

cumulative total of the series listed (may not be used

 

 

 

with the “l” option).

 

 

 

 

 

 

l

Spike graph for the first series listed and a line graph for

 

 

all subsequent series (may not be used with the “s”

 

 

option).

mPlot spikes in multiple graphs (will override the “l” 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 gdp cons m1

g1.spike(d)

plots line graphs of the three series in group G1 using dual scaling.

132—Chapter 6. EViews 5.1 Command Reference Update Summary

matrix1.spike(t=mygra)

displays spike graphs of the columns of MATRIX1 using the graph object MYGRA as a template.

graph1.spike(d)

changes GRAPH1 so that it contains spike graphs of each of the series in the original graph, using dual scaling.

g1.spike(o=midnight, b, w)

creates a spike graph of the group G1, using the settings of the predefined template “midnight”, applying the bold and wide modifiers.

Cross-references

See Chapter 1, “EViews 5.1 Enhanced Graph Customization”, on page 33 for a detailed discussion of graphs in EViews.

See also graph for graph declaration and additional graph types.

template

Graph Proc

 

 

Apply a template to a graph object.

If you apply template to a multiple graph object, the template options will be applied to each graph in the multiple graph. If the template graph is a multiple graph, the options of the first graph will be used.

Syntax

Graph Proc:

graph_name.template(options) template

Follow the name of the graph to which you want to apply the template options with a period, the keyword template, and the name of a graph template. template may be one of the predefined template keywords: “default” (current global defaults), “classic”, “modern”, “reverse”, “midnight”, “spartan”, “monochrome”, or a named graph in the workfile.

Options

t

Replace text and line/shade objects with those of

 

the template graph, when template is the name of a

 

graph in the workfile.

 

 

eApply template settings to existing text and line/ shade options.

 

 

EViews 5.1 Command Reference Update Summary—133

 

 

 

 

 

 

 

 

b / -b

[Apply / Remove] bold modifiers of the specified

 

 

 

predefined template style.

 

 

 

 

 

 

w / -w

[Apply / Remove] wide modifiers of the specified

 

 

predefined template style.

The options which support the “-” may be proceeded by a “+” or “-” indicating whether to turn on or off the option. The “+” is optional.

Examples

gra_cs.template gra_gdp

applies the option settings in the graph object GRA_GDP to the graph GRA_CS. Text and line shading options from GRA_GDP will be applied to GRA_CS, but the characteristics of existing text and line/shade objects in GRA_CS will not be modified. Text and shading objects include those added with the addtext (p. 70) or draw (p. 87) commands.

g1.template(t) mygraph1

applies the option settings of MYGRAPH1, and all text and shadings in the template graph, to the graph G1. Note that the “t” option overwrites any existing text and shading objects in the target graph.

graph1.template(e) modern

applies the predefined template “modern” to GRAPH1, also changing the settings of existing text and line/shade objects in the graph.

graph1.template(e, b, w) reverse

applies the predefined template “reverse” to GRAPH1, with the bold and wide modifiers. Any existing text and line/shade objects in GRAPH1 are also modified to use the object settings of the monochrome template.

graph1.template(-w) monochrome

applies the monochrome settings to GRAPH1, removing the wide modifier.

If you are using a boxplot as a template for another graph type, or vice versa, note that the graph types and boxplot specific attributes will not be changed. In addition, when the “t” option is used, vertical lines or shaded areas will not be copied between the graphs, since the horizontal scales differ.

Cross-references

See “Graph Templates” on page 38 for additional discussion.

Соседние файлы в папке EViews5
  • #
    23.03.201519.56 Кб62EV5help.cnt
  • #
    23.03.2015192.68 Кб62EV5Help.GID
  • #
    23.03.201513.28 Mб62EV5help.hlp
  • #
    23.03.20151.19 Mб114EViews 5.1 Update.pdf
  • #
    23.03.201551 б63EViews32.ini
  • #
    23.03.2015654 б62Eviews5.exe.manifest
  • #
    23.03.2015995 б62EVX11.PIF
  • #
    23.03.201540.58 Кб63F77L3.EER
  • #
    23.03.2015424.32 Кб65johtab.bin