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

498—Appendix B. Command Reference

The table command takes two optional arguments specifying the row and column dimension of the table, and is followed by the name you wish to give the matrix. If no sizing information is provided, the table will contain a single cell.

You may also include an assignment in the sym command. The symmetric matrix will be resized, if necessary. Once declared, symmetric matrices may be resized by repeating the sym command with new dimensions.

Examples

table onelement

declares a one element table

table(10,5) outtable

creates a table OUTTABLE with 10 rows and 5 columns.

Cross-references

Chapter 4, “Working with Tables”, on page 47 describes table formatting using commands. See Chapter 14, “Graphs, Tables, and Text Objects”, on page 413 of the User’s Guide for a general discussion and examples of table formatting in EViews.

See also freeze (p. 303).

template

Graph Proc

 

 

Apply a template to a graph object.

If you apply template to a multiple graph object, the template options will be applied to each graph in the multiple graph. If the template graph is a multiple graph, the options of the first graph will be used.

Syntax

Graph Proc:

graph_name.template(options) template

Follow the name of the graph to which you want to apply the template options with a period, the keyword template, and the name of a graph template. template may be one of the predefined template keywords: “default” (current global defaults), “classic”, “modern”, “reverse”, “midnight”, “spartan”, “monochrome”, or a named graph in the workfile.

template—499

Options

t

Replace text and line/shade objects with those of

 

the template graph, when template is the name of a

 

graph in the workfile.

 

 

eApply template settings to existing text and line/ shade options.

b / -b

[Apply / Remove] bold modifiers of the specified

 

predefined template style.

 

 

w / -w

[Apply / Remove] wide modifiers of the specified

 

predefined template style.

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

Examples

gra_cs.template gra_gdp

applies the option settings in the graph object GRA_GDP to the graph GRA_CS. Text and line shading options from GRA_GDP will be applied to GRA_CS, but the characteristics of existing text and line/shade objects in GRA_CS will not be modified. Text and shading objects include those added with the addtext (p. 201) or draw (p. 277) commands.

g1.template(t) mygraph1

applies the option settings of MYGRAPH1, and all text and shadings in the template graph, to the graph G1. Note that the “t” option overwrites any existing text and shading objects in the target graph.

graph1.template(e) modern

applies the predefined template “modern” to GRAPH1, also changing the settings of existing text and line/shade objects in the graph.

graph1.template(e, b, w) reverse

applies the predefined template “reverse” to GRAPH1, with the bold and wide modifiers. Any existing text and line/shade objects in GRAPH1 are also modified to use the object settings of the monochrome template.

graph1.template(-w) monochrome

applies the monochrome settings to GRAPH1, removing the wide modifier.

500—Appendix B. Command Reference

If you are using a boxplot as a template for another graph type, or vice versa, note that the graph types and boxplot specific attributes will not be changed. In addition, when the “t” option is used, vertical lines or shaded areas will not be copied between the graphs, since the horizontal scales differ.

Cross-references

See “Graph Templates” on page 422 of the User’s Guide for additional discussion.

testadd

Command || Equation View | Pool View

 

 

Test whether to add regressors to an estimated equation.

Tests the hypothesis that the listed variables were incorrectly omitted from an estimated equation (only available for equations estimated by list). The test displays some combination of Wald and LR test statistics, as well as the auxiliary regression.

Syntax

Command:

testadd(options) arg1 [arg2 arg3 ...

]

Equation View:

eq_name.testadd(options) arg1 [arg2 arg3 ...]

Pool View:

pool_name.testadd(options) [x1 x2

...] [@cxreg z1 z2 ...] [@perreg

 

z3 z4 ...]

 

List the names of the series or groups of series to test for omission after the keyword. The command form applies the test to the default equation, if defined.

Options

p

Print output from the test.

 

 

Examples

ls sales c adver lsales ar(1)

testadd gdp gdp(-1)

tests whether GDP and GDP(-1) belong in the specification for SALES. The commands:

equation oldeq.ls sales c adver lsales ar(1)

oldeq.testadd gdp gdp(-1)

perform the same test using a named equation object.

testbtw—501

pool1.testadd gdp? @cxreg inc?

tests the addition of the pool series GDP? to the common coefficients list and INC? to the cross-section specific coefficients list.

Cross-references

See “Coefficient Tests” on page 568 of the User’s Guide for further discussion. See also testdrop (p. 503) and wald (p. 530).

testbtw

Group View

 

 

Test equality of the mean, median or variance between (among) series in a group.

Syntax

 

Group View:

group_name.testbtw(options)

Specify the type of test as an option.

Options

 

 

 

 

 

mean (default)

Test equality of mean.

 

 

 

 

med

Test equality of median.

 

 

 

 

var

Test equality of variance.

 

 

 

 

c

Use common sample.

 

 

 

 

i (default)

Use individual sample.

 

 

 

 

p

Print the test results.

Examples

group g1 wage_m wage_f

g1.testbtw

g1.testbtw(var,c)

tests the equality of means between the two series WAGE_M and WAGE_F.

Cross-references

See “Tests of Equality” on page 378 of the User’s Guide for further discussion of these tests. See also testby (p. 502), teststat (p. 507).

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