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

exclude—289

g1.errbar

display the error bar view of G1 using the X series as the high value of the bar and the Y series as the low value.

group g2 plus2se minus2se estimate

g2.errbar

display the error bar view of G2 with the PLUS2SE series as the high value of the bar, the MINUS2SE series as the low value, and ESTIMATE as a symbol.

group g1 x y

freeze(graph1) g1.line

graph1.errbar

first creates a graph object GRAPH1 containing a line graph of the series in G1, then changes the graph type to an error bar.

g1.errbar(o=midnight, w)

creates an errbar bar graph of the group G1, using the settings of the predefined template “midnight”, applying the wide modifier.

Cross-references

See Chapter 14, “Graphs, Tables, and Text Objects”, on page 413 of the User’s Guide for details on graph objects and types.

See also graph (p. 316) for graph declaration and other graph types.

exclude

Model Proc

 

 

Specifies (or merges) excluded endogenous variables in the active scenario.

Syntax

Model Proc:

model_name.exclude(options) ser1(smpl) ser2(smpl) ...

Follow the exclude keyword with the argument list containing the endogenous variables you wish to exclude from the solution, along with an optional sample for exclusion. If a sample is not provided, the variable will be excluded for the entire solution sample.

Options

m

Merge into instead of replace the existing exclude list.

 

 

290—Appendix B. Command Reference

Examples

mod1.exclude fedfunds govexp("1990:01 1995:02")

will create an exclude list containing the variables FEDFUNDS and GOVEXP. FEDFUNDS will be excluded for the entire solution sample, while GOVEXP will only be excluded for the specified sample.

If you then issue the command:

mod1.exclude govexp

EViews will replace the original exclude list with one containing only GOVEXP. To add excludes to an existing list, use the “m” option:

mod1.exclude(m) fedfunds

The excluded list now contains both GOVEXP and FEDFUNDS.

Cross-references

See the discussion in “Specifying Scenarios” on page 798 of the User’s Guide.

See also model (p. 370), override (p. 382) and solveopt (p. 476).

exit

Command

 

 

Exit from EViews. Closes the EViews application.

You will be prompted to save objects and workfiles which have changed since the last time they were saved to disk. Be sure to save your workfiles, if desired, since all changes that you do not save to a disk file will be lost.

Syntax

Command: exit

Cross-references

See also close (p. 243) and save (p. 430).

expand

Command

 

 

Expand a workfile.

No longer supported. See the replacement command pagestruct (p. 399).

fetch—291

fetch

Command || Pool Proc

 

 

Fetch objects from databases or databank files into the workfile.

fetch reads one or more objects from EViews databases or databank files into the active workfile. The objects are loaded into the workfile using the object in the database or using the databank file name.

When used as a pool proc, EViews will first expand the list of series using the pool operator, and then perform the fetch.

If you fetch a series into a workfile with a different frequency, EViews will automatically apply the frequency conversion method attached to the series by setconvert. If the series does not have an attached conversion method, EViews will use the method set by Options/Date-Frequency in the main menu. You can override the conversion method by specifying an explicit conversion method option.

Syntax

Command: fetch(options) object_list

Pool Proc:

pool_name.fetch(options) pool_ser1 [pool_ser2 pool_ser3 ...]

The fetch command keyword is followed by a list of object names separated by spaces. The default behavior is to fetch the objects from the default database (this is a change from versions of EViews prior to EViews 3.x where the default was to fetch from individual databank files).

You can precede the object name with a database name and the double colon “::” to indicate a specific database source. If you specify the database name as an option in parentheses (see below), all objects without an explicit database prefix will be fetched from the specified database. You may optionally fetch from individual databank files or search among registered databases.

You may use wild card characters, “?” (to match a single character) or “*” (to match zero or more characters), in the object name list. All objects with names matching the pattern will be fetched.

To fetch from individual databank files that are not in the default path, you should include an explicit path. If you have more than one object with the same file name (for example, an equation and a series named CONS), then you should supply the full object file name including identifying extensions.

292—Appendix B. Command Reference

Options

d=db_name

Fetch from specified database.

 

 

d

Fetch all registered databases in registry order.

 

 

i

Fetch from individual databank files.

 

 

The following options are available for fetch of group objects:

g=arg

Group fetch options: “b” (fetch both group definition

 

and series), “d” (fetch only the series in the group), “l”

 

(fetch only the group definition).

 

 

The database specified by the double colon “::” takes precedence over the database specified by the “d=” option.

In addition, there are a number of options for controlling automatic frequency conversion when performing a fetch. The following options control the frequency conversion method when copying series and group objects to a workfile, converting from low to high frequency:

c=arg

Low to high conversion methods: “r” (constant match

 

average), “d” (constant match sum), “q” (quadratic

 

match average), “t” (quadratic match sum), “i” (linear

 

match last), “c” (cubic match last).

 

 

The following options control the frequency conversion method when copying series and group objects to a workfile, converting from high to low frequency:

c=arg

High to low conversion methods removing NAs: “a”

 

(average of the nonmissing observations), “s” (sum of

 

the nonmissing observations), “f” (first nonmissing

 

observation), “l” (last nonmissing observation), “x”

 

(maximum nonmissing observation), “m” (minimum

 

nonmissing observation).

 

High to low conversion methods propagating NAs: “an”

 

or “na” (average, propagating missings), “sn” or “ns”

 

(sum, propagating missings), “fn” or “nf” (first, propa-

 

gating missings), “ln” or “nl” (last, propagating miss-

 

ings), “xn” or “nx” (maximum, propagating missings),

 

“mn” or “nm” (minimum, propagating missings).

 

 

If no conversion method is specified, the series-specific or global default conversion method will be employed.

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