- •Table of Contents
- •EViews 5.1 Update Overview
- •Overview of EViews 5.1 New Features
- •Chapter 1. EViews 5.1 Enhanced Graph Customization
- •Basic Graph Characteristics
- •Adding and Editing Text
- •Updated Graph Command Summary
- •Chapter 2. EViews 5.1 Workfile Page Creation Tools
- •Creating a New Page Using Identifiers
- •Updated Workfile Page Command Summary
- •Chapter 3. EViews 5.1 Panel and Pool Testing
- •Omitted Variables Test
- •Redundant Variables Test
- •Fixed Effects Testing
- •Hausman Test for Correlated Random Effects
- •Updated Panel and Pool Command Summary
- •Chapter 4. EViews 5.1 EcoWin Database Support
- •Interactive Graphical Interface
- •Tips for Working with EcoWin Databases
- •Updated EcoWin Command Summary
- •Chapter 5. EViews 5.1 Miscellaneous Features
- •Enhanced Copy Command
- •Equation Forecast Coefficient Uncertainty
- •Additional GARCH Output
- •Global Default for Maximum Number of Errors
- •Chapter 6. EViews 5.1 Command Reference Update Summary
- •addtext
- •area
- •axis
- •copy
- •dbopen
- •draw
- •drawdefault
- •errbar
- •fixedtest
- •forecast
- •garch
- •hilo
- •legend
- •line
- •linkto
- •makegarch
- •makemap
- •pagecreate
- •options
- •ranhaus
- •scat
- •setelem
- •spike
- •template
- •testadd
- •testdrop
- •textdefault
- •xyline
- •xypair
- •Index
- •area 45
- •Axis
- •Bar graph 49
- •Conditional variance
- •Coordinates
- •Copy
- •Create
- •workfile page 84
- •Database
- •Drag(ging)
- •Error bar graph 63
- •EViews Enterprise Edition 31
- •Fixed effects
- •Font options
- •Forecast
- •Frequency conversion 51
- •GARCH
- •Graph
- •border 5
- •color settings 5
- •modifying 5
- •place text in 8, 42, 107
- •scatterplot graph 94
- •Legend
- •line 76
- •makegarch 83
- •Open
- •Page
- •Pie graph 91
- •Random effects
- •Test
- •Workfile
- •create page in 84
- •xypair 114
EViews 5.1 Command Reference Update Summary—111
gdp.linkto(c=s) quarterly\gdp
links to GDP in the QUARTERLY page, and will frequency convert by summing the nonmissing observations.
Cross-references
For a detailed discussion of linking, see Chapter 8, “Series Links” of the User’s Guide.
See also link, unlink, and copy (p. 79).
makegarch |
Equation Proc |
|
|
Generate conditional variance series.
Saves the estimated conditional variance (from an equation estimated using ARCH) as a named series.
Syntax
Equation Proc: |
eq_name.makegarch series1_name [@ series2_name] |
You should provide a name for the saved conditional standard deviation series following the makegarch keyword. If you do not provide a name, EViews will name the series using the next available name of the form “GARCH##” (if GARCH01 already exists, it will be named GARCH02, and so on).
For component GARCH equations, the permanent component portion of the conditional variance may be saved by adding "@" followed by a series name.
Examples
equation eq1.arch sp c
eq1.makegarch cvar
plot cvar^.5
estimates a GARCH(1,1) model, saves the conditional variance as a series named CVAR, and plots the conditional standard deviation. If you merely wish to view a plot of the conditional standard deviation without saving the series, use the garch (p. 98) view.
The commands
equation eq1.arch(cgarch) sp c
eq1.makegarch cvar @ pvar
112—Chapter 6. EViews 5.1 Command Reference Update Summary
first estimates a Component GARCH model and then saves both the conditional variance and the permanent component portion of the conditional variance in the series CVAR and PVAR, respectively.
Cross-references
See Chapter 20, “ARCH and GARCH Estimation” of the User’s Guide for a discussion of GARCH models.
See also arch, archtest, and garch (p. 98).
makemap |
Alpha Series |
|
|
Create numeric classification series and valmap from alpha series.
Syntax
Alpha Proc: |
alpha_name.makemap(options) ser_name map_name |
creates a classification series ser_name and an associated valmap map_name in the workfile. The valmap will automatically be assigned to the series.
Options
nosort |
Do not sort the alpha series values in alphabetical order |
|
before assigning the map (default is to sort). |
|
|
Examples
stateabbrev.makemap statecodes statemap
creates a series STATECODES containing numeric coded values representing the states in STATEABBREV, and an associated valmap STATEMAP.
Cross-references
See “Alpha Series” on page 145 of the User’s Guide for a discussion of alpha series. See “Value Maps” on page 155 of the User’s Guide for a discussion of valmaps.
EViews 5.1 Command Reference Update Summary—113
pagecreate Command
Create a new page in the default workfile. The new page becomes the active page.
Syntax
Command: pagecreate(options) freq start_date end_date [num_cross_sections]
Command: pagecreate(options) u num_observations
Command: pagecreate(id_method[,options]) id_list [@srcpage page_list]
Command: pagecreate(idcross[,options]) id1 id2 [@srcpage page1 page2]
Command: pagecreate(idcross[,options]) id1 @range(freq, start_date, end_date) [@srcpage page1]
These different forms of the pagecreate command encompass three distinct approaches to creating a new workfile page: (1) regular frequency description or unstructured data description; (2) using the union or intersection of unique values from one or more ID series in existing workfile pages; (3) using the cross of unique values from two identifier series or from an identifier series and a date range. Each of these approaches is described in greater detail below.
Regular Frequency or Unstructured Description
The first two forms of the command permit you to create a new workfile page using a regular frequency or unstructured description:
•pagecreate(options) freq start_date end_date [num_cross_sections]
•pagecreate(options) u num_observations
The first form of the command should be employed to create a regular frequency page with the specified frequency, start, and end date. The freq argument may be specified as “a” (annual), “s” (semi-annual), “q” (quarterly), “m” (monthly), “w” (weekly), “d” (5-day daily), “7” (7-day daily). If you include the optional argument num_cross_sections, EViews will create a balanced panel page using integer identifiers for each of the cross-sections. Note that more complex panel structures may be defined using pagestruct.
The second form of the command creates an unstructured workfile with the specified number of observations.
Note that these forms of the command are analogous to wfcreate except that instead of creating a new workfile, we create a new page in the default workfile.
114—Chapter 6. EViews 5.1 Command Reference Update Summary
Unique Values from a Set of Identifier Series
The next form of the command allows for creating pages from the unique values of one or more identifier series found in one or more workfile pages:
• pagecreate(id_method[,options]) identifier_list [@srcpage page_list]
The identifier_list should include one or more ID series. If more than one ID series is provided, EViews will use the values that are unique across all of the series. If you wish to create a page with a date structure, you should specify one of your identifiers using the special “@DATE” keyword identifier, enclosing the series (or the date ID component series) inside parentheses. If you wish to use the date ID values from the source workfile page, you may use the “@DATE” keyword without arguments.
The id_method describes how to handle unique ID values that differ across multiple pages:
byid |
Use the observed values of the series in the |
|
identifier_list in specified page. |
|
|
idunion / byid |
Use the union of the observed values of the series in the |
|
identifier_list in the specified pages. |
|
|
idintersect |
Use the intersection of the observed values of the series |
|
in the identifier_list in the specified pages. |
|
|
If the optional source page or list of source pages is not provided, EViews will use the default workfile page. Note that if a single workfile page is used, the two ID methods yield identical results.
Cross of Unique Values from Two Identifier Series or from an Identifier Series and a Date Range
The last two forms of the command create a new page by crossing the unique values in two ID series located in one or more pages, or by crossing an ID series from one page with a date range. First, you may specify a pair of identifiers, and optionally source pages where they are located,
• pagecreate(idcross[,options]) id1 id2 [@srcpage page1 page2]
You may instruct EViews to create a date structured page by specifying one of your two identifiers using a “@DATE” specification as described above.
Alternately, you may provide a single identifier and a range specification using the “@RANGE” keyword with a freq, start_date, and end_date, and optionally, the location of the identifier series.
•pagecreate(idcross[,options]) id1 @range(freq, start_date, end_date) [@srcpage page1]
EViews 5.1 Command Reference Update Summary—115
Options
smpl=smpl_spec Specifies an optional sample identifying which observations to use when creating a page using the id_method option. Either provide the sample range in double quotes or specify a named sample object. The default is “@all”. When multiple source workfiels are involved, the specified sample must be valid for all workfiles.
page=page_name Optional name for the newly created page. If not provided, EViews will use the next available name of the form “Untitled##”, where ## is a number.
Examples
Regular Frequency or Unstructured Description
The two commands:
pagecreate(page=annual) a 1950 2005
pagecreate(page=unstruct) u 1000
create new pages in the existing workfile. The first page is an annual page named ANNUAL, containing data from 1950 to 2005; the second is a 1000 observation unstructured page named UNSTRUCT.
pagecreate(page=mypanel) a 1935 1954 10
creates a new workfile page named MYPANEL, containing a 10 cross-section annual panel for the years 1935 to 1954.
Unique Values from a Set of Identifier Series
pagecreate(id, page=statepage) state
creates a new page STATEIND using the distinct values of STATE in the current workfile page.
pagecreate(id, page=statepage) state industry
creates a new page named STATEIND, using the distinct STATE/INDUSTRY values in the active page.
pagecreate(id, page=stateyear) state @date(year)
pagecreate(id, page=statemonth) @date(year, month)
use STATE, along with YEAR, and the YEAR and MONTH series respectively, to form identifiers that will be used in creating the new dated workfile pages.
116—Chapter 6. EViews 5.1 Command Reference Update Summary
pagecreate(id, smpl="if sex=1") crossid @date
creates a new page using CROSSID and existing date ID values of the active workfile page. Note that only observations in the subsample defined by “@all if sex=1” are used to determine the unique values.
pagecreate(id, page=AllStates, smpl="if sex=""Female""") stateid @srcpage north south east west
creates a new page ALLSTATES structured using the union of the unique values of STATEID from the NORTH, SOUTH, EAST and WEST workfile pages that are in the sample “if sex="Female"”. Note the use of the double quote escape character for the double quotes in the sample string.
pagecreate(idintersect, page=CommonStates, smpl="1950 2005") stateid @srcpage page1 page2 page3
creates a new page name COMMONSTATES structured using the intersection of the unique values of STATEID taken from the pages PAGE1, PAGE2, and PAGE3.
Cross of Unique Values from Two Identifier Series or from an Identifier Series and a Date Range
pagecreate(idcross,page=UndatedPanel) id1 id2 @srcpage page1 page2
will add the new page UNDATEDPANEL to the current workfile. UNDATEDPANEL will be structured as an undated panel using values from the cross of ID1 from PAGE1 and ID2 from PAGE2.
To create a dated page using the “idcross” option, you must tag one of the identifiers using an “@DATE” specification:
pagecreate(idcross,page=AnnualPanel) id1 @date(year) @srcpage page1 page2
You may also specify the cross of an identifier with a date range:
pagecreate(idcross,page=QuarterlyPanel) id1 @range(q, 1950, 2006) @srcpage page1
creates a quarterly panel page named QUARTERLYPANEL using the cross of ID1 taken from PAGE1, and quarterly observations from 1950q1 to 2006q4.
Cross-references
See “Creating a Workfile Page” of the User’s Guide for discussion.
See also wfcreate and pagedelete.
