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

cdfplot—235

Examples

To change the default directory to “SAMPLE DATA” in the A: drive, you may issue the command:

cd "a:\sample data"

Notice that the directory name is surrounded by double quotes. If your name does not contain spaces, you may omit the quotes. The command:

cd a:\test

changes the default directory to A:\TEST.

Subsequent save operations will save into the default directory, unless you specify a different directory at the time of the operation.

Cross-references

See Chapter 3, “Workfile Basics”, on page 47 of the User’s Guide for further discussion of basic operations in EViews.

See also wfsave (p. 540), pagesave (p. 394), and save (p. 430).

cdfplot

Group View | Series View

 

 

Empirical distribution functions.

Displays empirical cumulative distribution functions, survivor functions, and quantiles functions with standard errors.

Syntax

Object View:

series_name.cdfplot(options)

Note: due to the potential for extended computation times, standard errors will only be computed if there are fewer than 2500 observations.

Options

c (default)

Plot the empirical CDF.

 

 

s

Plot the empirical survivor function.

 

 

q

Plot the empirical quantiles.

 

 

a

Plot all CDF, survivor, and quantiles.

 

 

n

Do not include standard errors.

 

 

236—Appendix B. Command Reference

q=arg

(default=“r”)

o=arg

Compute quantiles using the definition: “b” (Blom), “r” (Rankit-Cleveland), “o” (simple fraction), “t” (Tukey), “v” (van der Waerden).

Output results to matrix. Each column of the results matrix corresponds to one of the values used in plotting: (in order) evaluation points, the value, standard errors. If there are multiple graphs, all of the columns for the first graph are presented prior to the columns for the subsequent graph.

p

Print the distribution function(s).

Examples

To plot the empirical cumulative distribution function of the series LWAGE:

lwage.cdfplot

Cross References

See Chapter 13, “Statistical Graphs from Series and Groups”, on page 389 of the User’s Guide for a discussion of empirical distribution graphs.

See qqplot (p. 411).

cellipse

Equation View | Logl View | Pool View | Sspace View | System View

 

 

Confidence ellipses for coefficient restrictions.

The cellipse view displays confidence ellipses for pairs of coefficient restrictions for an estimation object.

Syntax

Object View:

object_name.cellipse(options) restrictions

Enter the object name, followed by a period, and the keyword cellipse. This should be followed by a list of the coefficient restrictions. Joint (multiple) coefficient restrictions should be separated by commas.

 

 

cellipse—237

 

 

 

 

Options

 

 

 

 

 

 

ind=arg

Specifies whether and how to draw the individual coef-

 

 

 

ficient intervals. The default is “ind=line” which plots

 

 

 

the individual coefficient intervals as dashed lines.

 

 

 

“ind=none” does not plot the individual intervals,

 

 

 

while “ind=shade” plots the individual intervals as a

 

 

 

shaded rectangle.

 

 

 

 

 

 

size= number

Set the size (level) of the confidence ellipse. You may

 

(default=0.95)

specify more than one size by specifying a space sepa-

 

 

rated list enclosed in double quotes.

 

 

 

 

dist= arg

Select the distribution to use for the critical value asso-

 

 

 

ciated with the ellipse size. The default depends on esti-

 

 

 

mation object and method. If the parameter estimates

 

 

 

are least-squares based, the F( 2, n − 2 ) distribution is

 

 

 

used; if the parameter estimates are likelihood based,

 

 

 

the χ2( 2 ) distribution will be employed. “dist=f”

 

 

 

forces use of the F-distribution, while “dist=c” uses

 

 

 

the χ2 distribution.

 

 

p

Print the graph.

Examples

 

 

The two commands:

eq1.cellipse c(1), c(2), c(3)

eq1.cellipse c(1)=0, c(2)=0, c(3)=0

both display a graph showing the 0.95-confidence ellipse for C(1) and C(2), C(1) and C(3), and C(2) and C(3).

pool1.cellipse(dist=c,size="0.9 0.7 0.5") c(1), c(2)

displays multiple confidence ellipses (contours) for C(1) and C(2).

Cross-references

See “Confidence Ellipses” on page 568 of the User’s Guide for discussion. See also wald (p. 530).

238—Appendix B. Command Reference

censored

Command || Equation Method

 

 

Estimation of censored and truncated models.

Estimates models where the dependent variable is either censored or truncated. The allowable specifications include the standard Tobit model.

Syntax

Command: censored(options) y x1 x2 x3

Equation Method: eq_name.censored(options) y x1 x2 x3

Options

l=number

Set value for the left censoring limit.

(default=0)

 

 

 

r=number

Set value for the right censoring limit.

(default=none)

 

 

 

l=series_name, i

Set series name of the indicator variable for the left cen-

 

soring limit.

 

 

r=series_name, i

Set series name of the indicator variable for the right

 

censoring limit.

 

 

t

Estimate truncated model.

 

 

d=arg

Specify error distribution: normal (“n”), logistic (“l”),

(default=“n”)

Type I extreme value (“x”).

 

 

q (default)

Use quadratic hill climbing as the maximization algo-

 

rithm.

 

 

r

Use Newton-Raphson as the maximization algorithm.

 

 

b

Use Berndt-Hall-Hall-Hausman for maximization algo-

 

rithm.

 

 

h

Quasi-maximum likelihood (QML) standard errors.

 

 

g

GLM standard errors.

 

 

m=integer

Set maximum number of iterations.

 

 

c=scalar

Set convergence criterion. The criterion is based upon

 

the maximum of the percentage changes in the scaled

 

coefficients.

 

 

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