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

280—Appendix B. Command Reference

pattern(index)

Sets the default line pattern to the type specified by

 

index. index can be an integer from 1 to 12 or one of

 

the matching keywords (“solid”, “dash1” through

 

“dash10”, “none”). See setelem (p. 449) for a descrip-

 

tion of the available patterns. The “none” keyword

 

turns on solid lines.

 

 

existing

Apply the default settings to all existing line/shade

 

objects in the graph.

 

 

Examples

graph1.drawdefault linecolor(blue) width(.25) existing

changes the default setting for new line/shade objects. New lines added to the graph will now be drawn in blue, with a width of 0.25 points. In addition, all existing line and shade objects will be updated with the graph default settings. Note that in addition to the line color and width settings specified in the command, the existing default line pattern and shade colors will be applied to the line and shade objects in graph.

graph1.drawdefault existing

updates all line and shade objects in the graph with the currently specified default draw object settings.

Cross-references

See Chapter 14, “Graphs, Tables, and Text Objects”, on page 413 of the User’s Guide for a discussion of graph options.

See draw (p. 277). See also “Graph” (p. 161) for a summary of the graph object command language.

driconvert Command

Convert the entire DRI Basic Economics database into an EViews database.

You must create an EViews database to store the converted DRI data before you use this command. This command may be very time-consuming.

Syntax

Command: driconvert db_name

drop—281

Follow the command by listing the name of an existing EViews database into which you would like to copy the DRI data. You may include a path name to specify a database not in the default path.

Examples

dbcreate dribasic

driconvert dribasic

driconvert c:\mydata\dridbase

The first line creates a new (empty) database named DRIBASIC in the default directory. The second line copies all the data in the DRI Basic Economics database into in the DRIBASIC database. The last example copies the DRI data into the database DRIDBASE that is located in the C:\MYDATA directory.

Cross-references

See Chapter 10, “EViews Databases”, on page 259 of the User’s Guide for a discussion of EViews databases.

See also dbcreate (p. 265) and db (p. 263).

drop

Group Proc | Pool Proc

 

 

Drops series from a group or drop cross-section members from a pool.

Syntax

Group Proc:

group_name.drop ser1 [ser2 ser3 ...]

Pool Proc:

pool_name.drop id1 [id2 id3 ...]

List the series or cross-section members to be dropped from the group or pool.

Examples

group gdplags gdp(-1 to -4)

gdplags.drop gdp(-4) gdp(-3)

drops the two series GDP(-4) and GDP(-3) from the group GDPLAGS.

crossc.drop jpn kor hk

drops the cross-section members JPN, KOR, and HK from the pool CROSSSC.

282—Appendix B. Command Reference

Cross-references

See “Groups” on page 91 of the User’s Guide for additional discussion of groups. “Crosssection Identifiers” on page 825 of the User’s Guide discusses pool identifiers.

See also add (p. 198).

dtable

Group View

 

 

Dated data report table.

This group view is designed to make tables for reporting and presenting data, forecasts, and simulation results. You can display various transformations and various frequencies of the data in the same table.

The dtable view is currently available only for annual, semi-annual, quarterly, or monthly workfiles.

Syntax

Group View:

group_name.dtable(options)

Options

p

Print the report table.

 

 

Examples

freeze(report) group1.dtable

freezes the dated table view of GROUP1 and saves it as a table object named REPORT.

Cross-references

See “Creating and Specifying a Dated Data Table” on page 364 of the User’s Guide for a description of dated data tables and formatting options. Note that most of the options for formatting the table are only available interactively from the window.

ec

Var Method

 

 

Estimate a vector error correction model (VEC).

Syntax

Var Method:

var_name.ec(trend, n) lag_pairs endog_list [@ exog_list]

ec—283

Specify the order of the VEC by entering one or more pairs of lag intervals, then list the series or groups to be used as endogenous variables. Note that the lag orders are those of the first differences, not the levels. If you are comparing results to another software program, you should be certain that the specifications for the lag orders are comparable.

You may include exogenous variables, such as seasonal dummies, in the VEC by including an “@”-sign followed by the list of series or groups. Do not include an intercept or trend in the VEC specification, these terms should be specified using options, as described below.

You should specify the trend option and the number of cointegrating equations n to use in parentheses, separated by a comma (the default is n=1). You must choose the trend from the following five alternatives:

aNo deterministic trend in the data, and no intercept or trend in the cointegrating equation.

bNo deterministic trend in the data, and an intercept but no trend in the cointegrating equation.

c (default)

Linear trend in the data, and an intercept but no trend

 

in the cointegrating equation.

 

 

dLinear trend in the data, and both an intercept and a trend in the cointegrating equation.

eQuadratic trend in the data, and both an intercept and a trend in the cointegrating equation.

restrict

Impose restrictions. See append (p. 205) and coint

 

(p. 245).

 

 

m= integer

Maximum number of iterations for restricted estimation

 

(only valid if you choose the restrict option).

 

 

c = scalar

Convergence criterion for restricted estimation. (only

 

valid if you choose the restrict option).

Options

p

Print the results view.

 

 

Examples

var macro1.ec 1 4 m1 gdp tb3

declares a var object MACRO1 and estimates a VEC with four lagged first differences, three endogenous variables and one cointegrating equation using the default trend option “c”.

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