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

438—Appendix B. Command Reference

See xy (p. 556), and graph (p. 316) for graph declaration and modification, and additional graph types. See also xyline (p. 558) for XY line graphs.

scatmat

Group View

 

 

Matrix of scatter plots.

The scatmat view displays a matrix of scatter plots for all pairs of series in a group.

Syntax

Group View:

group_name.scatmat(options)

Options

p

Print the scatter plot matrix.

 

 

Examples

group g1 weight height age

g1.scatmat

displays a 3 × 3 matrix of scatter plots for all pairs of the three series in group G1.

Cross-references

See “Scatter” on page 374 of the User’s Guide for a discussion of scatter plot matrices.

scenario

Model Proc

 

 

Manage the model scenarios.

The scenario procedure is used to set the active and comparison scenarios for a model, to create new scenarios, to initialize one scenario with settings from another scenario, to delete scenarios, and to change the variable aliasing associated with a scenario.

Syntax

Model Proc:

model_name.scenario(options) "name"

performs scenario options on a scenario given by the specified name (entered in double quotes). By default the scenario procedure also sets the active scenario to the specified name.

scenario—439

Options

 

c

Set the comparison scenario to the named scenario.

 

 

 

 

n

Create a new scenario with the specified name.

 

 

 

 

i="name"

Copy the Excludes and Overrides from the named sce-

 

 

nario.

 

 

 

 

d

Delete the named scenario.

 

 

 

 

a=string

Set the scenario alias string to be used when creating

 

 

aliased variables (string is a 1 to 3 alphanumeric string

 

 

to be used in creating aliased variables). If an under-

 

 

score is not specified, one will be added to the begin-

 

 

ning of the string. Examples: “_5”, “_T”, “S2”. The

 

 

string “A” may not be used since it may conflict with

 

 

add factor specifications.

 

 

 

Examples

 

The command string,

mod1.scenario "baseline"

sets the active scenario to the baseline, while:

mod1.scenario(c) "actuals"

sets the comparison scenario to the actuals (warning: this action will overwrite any historical data in the solution period).

A newly created scenario will become the active scenario. Thus:

mod1.scenario(n) "Peace Scenario"

creates a scenario called "Peace Scenario" and makes it the active scenario. The scenario will automatically be assigned a unique numeric alias. To change the alias, simply use the “a=” option:

mod1.scenario(a=_ps) "Peace Scenario"

changes the alias for “Peace Scenario” to “_PS” and makes this scenario the active scenario.

The command:

440—Appendix B. Command Reference

mod1.scenario(n, a=w, i="Peace Scenario", c) "War Scenario"

creates a scenario called "War Scenario", initializes it with the Excludes and Overrides contained in "Peace Scenario", associates it with the alias "_W", and makes this scenario the comparison scenario.

mod1.scenario(i="Scenario 1") "Scenario 2"

copies the Excludes and Overrides in "Scenario 1" to "Scenario 2" and makes "Scenario 2" the active scenario.

Compatibility Notes

For backward compatibility with EViews 4, the single character option “a” may be used to set the comparison scenario, but future support for this option is not guaranteed.

In all of the arguments above the quotation marks around scenario name are currently optional. Support for the non-quoted names is provided for backward compatibility, but may be dropped in the future, thus

mod1.scenario Scenario 1

is currently valid, but may not be in future versions of EViews.

Cross-references

Scenarios are described in detail beginning on page 790 of the User’s Guide. Chapter 26, “Models”, on page 775 of the User’s Guide documents EViews models in great depth.

See also solve (p. 475).

seas

Command || Series Proc

 

 

Seasonal adjustment.

The seas command carries out seasonal adjustment using either the ratio to moving average, or the difference from moving average technique.

EViews also performs Census X11 and X12 seasonal adjustment. For details, see x11 (p. 548) and x12 (p. 550).

Syntax

Command: seas(options) series_name name_adjust [name_fac]

Series Proc:

series_name.seas(options) name_adjust [name_fac]

To use seas as a command, list the name of the original series and the name to be given to the seasonally adjusted series. You may optionally include an additional name for the

seasplot—441

seasonal factors. seas will display the seasonal factors using the convention of the Census X11 program.

seas used as a series procedure applies seasonal adjustment to a series.

Options

m

Multiplicative (ratio to moving average) method.

 

 

a

Additive (difference from moving average) method.

Examples

seas(a) pass pass_adj pass_fac

seasonally adjusts the series PASS using the additive method, and saves the adjusted series as PASS_ADJ and the seasonal factors as PASS_FAC.

sales.seas(m) adj_sales

seasonally adjusts the series SALES using the multiplicative method and saves the adjusted series as ADJ_SALES.

Cross-references

See “Seasonal Adjustment” on page 334 of the User’s Guide for a discussion of seasonal adjustment methods.

See also seasplot (p. 441), x11 (p. 548) and x12 (p. 550).

seasplot

Series View

 

 

Seasonal line graph.

seasplot displays a line graph view of a series ordered by season. Available only for quarterly and monthly frequencies.

Syntax

Series View:

series_name.seasplot(options)

Options

mPlot series split by season. Default is to plot series stacked by season.

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