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

486—Appendix B. Command Reference

Options

c

Display the state prediction covariance matrix.

 

 

p

Print the view.

Examples

ss1.statefinal(c)

displays a view containing the final state covariances (the one-step ahead covariances for the first out-of-(estimation) sample period.

Cross-references

See Chapter 25, “State Space Models and the Kalman Filter”, on page 751 of the User’s Guide for a discussion of state space models.

See also stateinit (p. 486).

stateinit

Sspace View

 

 

Display initial state values.

Show the state initial values or the state covariance initial values used to initialize the Kalman Filter. By default, EViews shows the state values.

Syntax

 

Sspace View:

sspace_name.stateinit(options)

Options

 

 

 

 

 

c

Display the covariance matrix.

 

 

 

 

p

Print the view.

Examples

ss1.stateinit

displays a view containing the initial state values (the one-step ahead predictions for the first period).

Cross-references

See Chapter 25, “State Space Models and the Kalman Filter”, on page 751 of the User’s Guide for a discussion of state space models.

stats—487

See also statefinal (p. 485).

stats

Command || Coef View | Group View | Matrix View | Rowvector View| Sym View | Valmap View | Vector View

Descriptive statistics.

Computes and displays a table of means, medians, maximum and minimum values, standard deviations, and other descriptive statistics of one or more series or a group of series. Alternately, displays summary statistics for the definitions of a valmap.

When used as a command, stats creates an untitled group containing all of the specified series, and opens a statistics view of the group. By default, if more than one series is given, the statistics are calculated for the common sample.

When used for coef or matrix objects, stats computes the statistics for each column of data.

Syntax

 

Command:

stats(options) ser1 [ser2 ser3 …]

 

Object View:

object_name.stats(options)

Options

 

 

 

 

 

i

Individual sample for each series (for group only) By

 

 

default, EViews computes the statistics using a com-

 

 

mon sample.

 

 

 

 

p

Print the stats table.

Examples

stats height weight age

opens an untitled group window displaying the histogram and descriptive statistics for the common sample of the three series.

group group1 wage hrs edu

group1.stats(i)

displays the descriptive statistics view of GROUP1 for the individual samples.

map1.stats

displays the summary descriptive view of the definitions in the valmap MAP1.

488—Appendix B. Command Reference

Cross-references

See “Descriptive Statistics” on page 308 and page 377 of the User’s Guide for a discussion of the descriptive statistics views of series and groups.

See also boxplot (p. 224) and hist (p. 322).

statusline Command

Send text to the status line.

Displays a message in the status line at the bottom of the EViews main window. The message may include text, control variables, and string variables.

Syntax

Command: statusline message_string

Examples

statusline Iteration Number: !t

Displays the message “Iteration Number: !t” in the status line replacing “!t” with the current value of the control variable in the program.

Cross-references

See Chapter 6, “EViews Programming”, on page 83 for a discussion and examples of programs, control variables and string variables.

stom

Group Proc | Series Proc

 

 

Convert a series or group to a vector or matrix.

Fills a vector or matrix with the data from a series or group.

Syntax

Series Proc: stom(series_name, vector[, sample])

Group Proc: stom(group_name, matrix[, sample])

Include the series or group name in parentheses followed by a comma and the vector or matrix name. By default, the series values in the current workfile sample are used to fill the vector or matrix; you may optionally provide an alternative sample.

There are two important features of stom that you should keep in mind:

stomna—489

If any of the series contain NAs, those observations will be dropped from the vector/ matrix (for alternative behavior, see stomna (p. 489)).

If the vector or matrix already exists in the workfile, EViews automatically resizes the vector/matrix to fit the series/group.

Examples

series lwage=log(wage)

stom(lwage,vec1)

converts the series LWAGE into a vector named VEC1 using the current workfile sample. Any NAs in LWAGE will be dropped from VEC1.

group rhs x1 x2 x3

sample s1 1951 1990

stom(rhs,x,s1)

converts a group of three series named X1, X2 and X3 to a matrix named X using sample S1. The matrix X will have 40 rows and 3 columns (provided there are no NAs).

Cross-references

See Chapter 3, “Matrix Language”, on page 23 of the Command and Programming Reference for further discussion and examples of matrices.

See also stomna (p. 489) and mtos (p. 622).

stomna

Group Proc | Series Proc

 

 

Convert a series or group to a vector or matrix without dropping NAs.

Fills a vector or matrix with the data from a series or group without dropping observations with missing values.

Works in identical fashion to stom (p. 488), but does not drop observations containing NAs.

Syntax

Series Proc: stomna(series, vector[, sample])

Group Proc: stomna(group, matrix[, sample])

Include the series or group name in parentheses, followed by a comma and the vector or matrix name. By default, the series values in the current workfile sample are used to fill the vector or matrix. You may optionally provide an alternative sample.

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