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

482—Appendix B. Command Reference

sspace

Object Declaration

 

 

Declare state space object.

Syntax

Command: sspace sspace_name

Follow the sspace keyword with a name to be given the sspace object.

Examples

sspace stsp1

declares a sspace object named STSP1.

sspace tvp

tvp.append cs = c(1) + sv1*inc

tvp.append @state sv1 = sv1(-1) + [var=c(2)]

tvp.ml

declares a sspace object named TVP, specifies a time varying coefficient model, and estimates the model by maximum likelihood.

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. The sspace object is documented in greater detail beginning on page 179.

append (p. 205) may be used to add lines to an existing sspace object. See also ml (p. 369) for estimation of state space models.

statby

Series View

 

 

Basic statistics by classification.

The statby view displays descriptive statistics for the elements of a series classified into categories by one or more series.

Syntax

Series View:

series_name.statby(options) classifier_names

statby—483

Follow the series name with a period, the statby keyword, and a name (or a list of names) for the series or group by which to classify. The options control which statistics to display and in what form. By default, statby displays the means, standard deviations, and counts for the series.

Options

Options to control statistics to be displayed

sum

Display sums.

 

 

med

Display medians.

 

 

max

Display maxima.

 

 

min

Display minima.

 

 

quant=arg

Display quantile with value given by the argument.

(default=.5)

 

 

 

q=arg

Compute quantiles using the specified definition: “b”

(default=“r”)

(Blom), “r” (Rankit-Cleveland), “o” (simple fraction),

 

“t” (Tukey), “v” (van der Waerden).

 

 

skew

Display skewness.

 

 

kurt

Display kurtosis.

 

 

na

Display counts of NAs.

 

 

nomean

Do not display means.

 

 

nostd

Do not display standard deviations.

 

 

nocount

Do not display counts.

Options to control layout

l

Display in list mode (for more than one classifier).

 

 

nor

Do not display row margin statistics.

 

 

noc

Do not display column margin statistics.

 

 

nom

Do not display table margin statistics (unconditional

 

tables); for more than two classifier series.

 

 

nos

Do not display sub-margin totals in list mode; only used

 

with “l” option and more than two classifier series.

 

 

sp

Display sparse labels; only with list mode option, “l”.

484—Appendix B. Command Reference

Options to control binning

dropna

[Drop/Keep] NA as a category.

(default),

 

keepna

 

 

 

v=integer

Bin categories if classification series take on more than

(default=100)

the specified number of distinct values.

 

 

nov

Do not bin based on the number of values of the classi-

 

fication series.

 

 

a=number

Bin categories if average cell count is less than the spec-

(default=2)

ified number.

 

 

noa

Do not bin based on the average cell count.

 

 

b=integer

Set maximum number of binned categories.

(default=5)

 

Other options

p

Print the descriptive statistics table.

 

 

Examples

wage.statby(max,min) sex race

displays the mean, standard deviation, max, and min of the series WAGE by (possibly binned) values of SEX and RACE.

Cross-references

See “By-Group Statistics” on page 579 for functions to compute by-group statistics. See also “Stats by Classification” on page 310, and “Descriptive Statistics” on page 377 of the

User’s Guide.

See also hist (p. 322), boxplotby (p. 225) and linkto (p. 339).

stategraphs

Sspace View

 

 

Display graphs of a set of state series computed using the Kalman filter.

Syntax

Sspace View:

sspace_name.stategraph(options)

statefinal—485

Options

t=output_type Defines output type:“pred” (one-step ahead signal pre- (default=“pred”) dictions), “predse” (RMSE of the one-step ahead signal predictions), “resid” (error in one-step ahead signal predictions), “residse” (RMSE of the one-step ahead signal prediction; same as “predse”), “stdresid” (standardized

one-step ahead prediction residual), “smooth” (smoothed signals), “smoothse” (RMSE of the smoothed signals), “disturb” (estimate of the disturbances), “disturbse” (RMSE of the estimate of the disturbances), “stddisturb” (standardized estimate of the disturbances).

Other options

p

Print the view.

 

 

Examples

ss1.stategraphs(t=filt)

displays a graph view containing the filtered state values.

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 signalgraphs (p. 471), makesignals (p. 361) and makestates (p. 362).

statefinal

Sspace View

 

 

Display final state values.

Show the one-step ahead state predictions or the state prediction covariance matrix at the final values (T + 1 T) , where T is the last observation in the estimation sample. By default, EViews shows the state predictions.

Syntax

Sspace View:

sspace_name.statefinal(options)

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