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

hfetch—319

hconvert d:\haver\haver hdata

The first line creates a new (empty) database named HDATA in the default directory. The second line converts all the data in the Haver database and stores it in the HDATA database.

Cross-references

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

See also dbcreate (p. 265), db (p. 263), hfetch (p. 319) and hlabel (p. 322).

hfetch

Command

 

 

Fetch a series from a Haver Analytics database into a workfile.

hfetch reads one or more series from a Haver Analytics Database into the active workfile.

You must have a Haver Analytics database installed on your computer to use this feature.

Syntax

Command: hfetch(database_name) series_name

hfetch, if issued alone on a command line, will bring up a Haver dialog box which has fields for entering both the database name and the series names to be fetched. If you provide the database name (including the full path) in parentheses after the hfetch command, EViews will read the database and copy the series requested into the current workfile. It will also display information about the series on the status line. The database name is optional if a default database has been specified.

hfetch can read multiple series with a single command. List the series names, each separated by a space.

Examples

hfetch(c:\data\us1) pop gdp xyz

reads the series POP, GDP, and XYZ from the US1 database into the current active workfile, performing frequency conversions if necessary.

Cross-references

See also Chapter 10, “EViews Databases”, on page 259 of the User’s Guide for a discussion of EViews and Haver databases. Additional information on EViews frequency conversion is provided in “Frequency Conversion” on page 113 of the User’s Guide.

320—Appendix B. Command Reference

See also dbcreate (p. 265), db (p. 263), hconvert (p. 318) and hlabel (p. 322).

hilo

Command || Graph Command | Group View | Matrix View | Sym View

 

 

Display high-low[-open-close] graph view of object, or change existing graph object type to high-low[-open-close] (if possible).

Syntax

Command:

hilo(options) high_ser low_ser [close_ser]

 

hilo(options) high_ser low_ser open_ser close_ser

 

hilo(options) arg

Graph Proc:

graph_name.hilo(options)

Object View:

object_name.hilo(options)

For a high-low, or a high-low-close graph, follow the command name with the name of the high series, followed by the low series, and an optional close series. If four series names are provided, EViews will use them in the following order: high-low-open-close.

When used with a matrix or group or an existing graph, EViews will use the first series as the high series, the second series as the low series, and if present, the third series as the close. If there are four or more series, EViews will use them in the following order: high- low-open-close. When used as a matrix view, the columns of the matrix are used in place of the series.

Note that if you wish to display a high-low-open graph, you should use an “NA”-series for the close values.

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.

 

 

hilo—321

w / -w

[Apply / Remove] wide modifiers of the base template

 

style specified using the “o=” option above.

 

 

p

Print the graph.

 

 

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

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

hilo mshigh mslow

displays a high-low graph using the series MSHIGH and MSLOW.

hilo(p) mshigh mslow msopen msclose

plots and prints the high-low-open-close graph of the four series.

group stockprice mshigh mslow msclose

stockprice.hilo

displays the high-low-close view of the group STOCKPRICE.

stockprice.hilo(t=templt1)

creates an high-low-close graph view of the group G1, using the settings of the graph object TEMPLT1 as a template.

322—Appendix B. Command Reference

Cross-references

See Chapter 14, “Graphs, Tables, and Text Objects”, on page 413 of the User’s Guide for additional details on using graphs in EViews.

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

hist

Command || Equation View | Series View

 

 

Histogram and descriptive statistics of a series.

When used as a command or a series view, hist computes descriptive statistics and displays a histogram for the series. When used as an equation view, hist displays a histogram and descriptive statistics of the residual series.

Syntax

Command: hist(options) series_name

Object View:

object_name.hist(options)

Options

p

Print the histogram.

 

 

Examples

lwage.hist

Displays the histogram and descriptive statistics of LWAGE.

Cross-references

See “Histogram and Stats” on page 308 of the User’s Guide for a discussion of the descriptive statistics reported in the histogram view.

hlabel

Command

 

 

Display a Haver Analytics database series description.

hlabel reads the description of a series from a Haver Analytics Database and displays it on the status line at the bottom of the EViews window. Use this command to verify the contents of a Haver database series name.

You must have a Haver Analytics database installed on your computer to use this feature.

hpf—323

Syntax

Command: hlabel(database_name) series_name

hlabel, if issued alone on a command line, will bring up a Haver dialog box which has fields for entering both the database name and the series names to be examined. If you provide the database name in parentheses after the hlabel command, EViews will read the database and find the key information about the series in question, such as the start date, end date, frequency, and description. This information is displayed in the status line at the bottom of the EViews window. Note that the database_name should refer to the full path to the Haver database but need not be specified if a default database has been specified in HAVERDIR.INI.

If several series names are placed on the line, hlabel will gather the information about each of them, but the information display may scroll by so fast that only the last will be visible.

Examples

hlabel(c:\data\us1) pop

displays the description of the series POP in the US1 database.

Cross-references

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

See also hfetch (p. 319) and hconvert (p. 318).

hpf

Command || Series Proc

 

 

Smooth a series using the Hodrick-Prescott filter.

Syntax

Command: hpf(options) series_name filtered_name

Series Proc:

series_name.hpf(options) filtered_name

When used as a series procedure, hpf smooths the series without displaying the graph of the smoothed series.

Smoothing Options

The degree of smoothing may be specified as an option. You may specify the smoothing as a value, or using a power rule:

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