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

cfetch—239

s

Use the current coefficient values in C as starting val-

 

ues.

 

 

s=number

Specify a number between zero and one to determine

 

starting values as a fraction of EViews default values

 

(out of range values are set to “s=1”).

 

 

showopts /

[Do / do not] display the starting coefficient values and

-showopts

estimation options in the estimation output.

 

 

p

Print results.

 

 

Examples

The command:

censored(h) hours c wage edu kids

estimates a censored regression model of HOURS on a constant, WAGE, EDU, and KIDS with QML standard errors. This command uses the default normal likelihood, with leftcensoring at HOURS=0, no right censoring, and the quadratic hill climbing algorithm.

Cross-references

See Chapter 21, “Discrete and Limited Dependent Variable Models”, on page 619 of the User’s Guide for discussion of censored and truncated regression models.

cfetch

Command

 

 

Fetch a series from the DRI Basic Economics database into a workfile.

cfetch reads one or more series from the DRI Basic Economics Database into the active workfile. You must have the DRI database installed on your computer to use this feature.

Syntax

Command:

cfetch series_name

Examples

cfetch lhur gdp gnet

reads the DRI series LHUR, GDP, and GNET into the current active workfile, performing frequency conversions if necessary.

240—Appendix B. Command Reference

Cross-references

EViews’ automatic frequency conversion is described in “Frequency Conversion” beginning on page 113 of the User’s Guide.

See also ccopy (p. 234), clabel (p. 242), store (p. 490), fetch (p. 291).

chdir

Command

 

 

Change default directory.

See cd (p. 234).

checkderivs

Logl View

 

 

Check derivatives of likelihood object.

Displays a table containing information on numeric derivatives and, if available, the usersupplied analytic derivatives.

Syntax

Logl View:

logl_name.checkderiv(options)

Options

p

Print the table of results.

 

 

Examples

ll1.checkderiv

displays a table that evaluates the numeric derivatives of the logl object LL1.

Cross-references

See Chapter 22, “The Log Likelihood (LogL) Object”, on page 669 for a general discussion of the likelihood object and the “@deriv” statement.

See also grads (p. 315) and makegrads (p. 353).

chow—241

chow

Command || Equation View

 

 

Chow test for stability.

Carries out Chow breakpoint or Chow forecast tests for parameter constancy.

Syntax

Command: chow(options) obs1 [obs2 obs3 ...]

Equation View:

eq_name.chow(options) obs1 [obs2 obs3 ...]

You must provide the breakpoint observations (using dates or observation numbers) to be tested. To specify more than one breakpoint, separate the breakpoints by a space.

Options

fChow forecast test. For this option, you must specify a single breakpoint to test (default performs breakpoint test).

p

Print the result of test.

Examples

The commands:

ls m1 c gdp cpi ar(1)

chow 1970Q1 1980Q1

perform a regression of M1 on a constant, GDP, and CPI with first order autoregressive errors, and employ a Chow breakpoint test to determine whether the parameters before the 1970’s, during the 1970’s, and after the 1970’s are “stable”.

To regress the log of SPOT on a constant, the log of P_US, and the log of P_UK, and to carry out the Chow forecast test starting from 1973, enter the commands:

equation ppp.ls log(spot) c log(p_us) log(p_uk)

ppp.chow(f) 1973

Cross-references

See “Chow's Breakpoint Test” on page 582 of the User’s Guide for further discussion.

See also rls (p. 423).

242—Appendix B. Command Reference

clabel

Command

 

 

Display a DRI Basic Economics database series description.

clabel reads the description of a series from the DRI Basic Economics Database and displays it in the status line at the bottom of the EViews window.

Use this command to verify the contents of a given DRI database series name. You must have the DRI database installed on your computer to use this feature.

Syntax

Command:

clabel series_name

Examples

clabel lhur

displays the description of the DRI series LHUR on the status line.

Cross-references

See also ccopy (p. 234), cfetch (p. 239), read (p. 414), fetch (p. 291).

cleartext

Var Proc

 

 

Clear restriction text from a var object.

Syntax

Var Proc:

var_name.cleartext(arg)

You must specify the text type you wish to clear using one of the following arguments:

svar

Clear text of identifying restrictions for a structural

 

VAR.

 

 

coint

Clear text of restrictions on the cointegration relations

 

and/or adjustment coefficients.

Examples

var1.cleartext(svar)

var1.append(svar) @lr2(@u1) = 0

The first line clears the structural VAR identifying restrictions in VAR1. The next line specifies a new long-run restriction for a structural factorization.

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