PcGive dialogs

Contents

Models for cross-section data
Dialogs for Cross-section Regression
Models for discrete data
Dialogs for Binary Discrete Choice Models
Dialogs for Multinomial Discrete Choice Models
Dialogs for Count Models
Models for financial data
Dialogs for GARCH Models
Models for time-series data
Dialogs for Single-equation Dynamic Modelling
Dialogs for Multiple-equation Dynamic Modelling
Dialogs for ARFIMA Models
Models for panel data
Dialogs for Static Panel Methods
Dialogs for Dynamic Panel Methods
Monte Carlo
Other models
Dialogs for Non-linear Modelling
Dialogs for Descriptive Statistics

Dialogs for Cross-section Regression

Dialogs for model formulation and estimation:
Formulate
Estimate
Progress
Options
Dialogs for model evaluation:
Graphic Analysis
Further Output
Test
Exclusion Restrictions
Linear Restrictions
General Restrictions
Omitted Variables
Store in Database

Formulate - Cross-section Regression

Use this dialog for single equation cross-section model formulation: to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below.

Specials
The listbox below the database variables shows the so-called special variables, which are pre-defined. Here it is only:
Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.

OK Press OK to move to model estimation.

Estimate - Cross-section Regression

The estimation method is automatically selected for the formulated model.

estimation sample
Cross-section modelling defaults to using the full sample, while automatically dropping all observations with missing values. It is possible here to specify a subsample for estimation. This can be further refined by adding a select by variable in the model formulation stage.
OK
Pressing OK starts the estimation.

Graphic Analysis - Cross-section Regression

The Graphic analysis command gives various options to graph actual and fitted values, residuals, etc. The list box on the right lists the selected equations for which the graphs are drawn.

Actual and fitted values
Show the fitted and actual values of the dependent variable over time, over the whole sample period, including the forecast period.
Cross-plot of actual and fitted
As above, but now a cross-plot of actual and fitted values.
Residuals (scaled)
Show the scaled residuals against time, over the whole sample period, including the forecast period. The residuals are scaled by the residual standard deviation.
Residual density and histogram (kernel estimate)
Show the density estimate and histogram of the residuals. The normal density with the same mean and variance is drawn for reference.

To zoom a graph, adjust the area inside OxMetrics.

Test - Cross-section Regression

This dialog box gives access to a selection of diagnostic testing procedures. Mark the tests you want to be executed, then press OK. Many tests report a χ2 and an F form. In the summary, only the F-test is reported, which is expected to have better small-sample properties.

Normality
Shows the first four moments, together with a test for normality.
Heteroscedasticity test (squares)
Tests for the residuals being heteroscedastic owing to omitting squares of the regressors. Redundant variables (like the square of the Constant) are automatically eliminated. The test will be skipped if there are not enough observations.
Heteroscedasticity test (squares and cross products)
This is the White test for heteroscedasticity, which includes all squares (as in the previous heteroscedasticity test) and all cross-products of variables. Redundant variables (like the square of the Constant) are automatically eliminated. The test will be skipped if there are not enough observations (which can happen easily in large models).
Reset test (using squares)
The Reset test adds squares of the fitted y (only for OLS).

Dialogs for Single-equation Dynamic Modelling

Dialogs for model formulation and estimation:
Formulate
Model Settings
Estimate
Options
Progress
Dialogs for model evaluation:
Graphic Analysis
Recursive graphics
Dynamic analysis
Forecast
Further Output
Test
Exclusion Restrictions
Linear Restrictions
General Restrictions
Omitted Variables
Store in Database

Formulate - Single-equation Dynamic Modelling

Use this dialog for single equation dynamic model formulation: to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model with the default lag length.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below.

Special
The listbox below the database variables shows the so-called special variables, which are pre-defined. Here it is:
Lags
At the top you can choose how the lag length is set with which variables are added to the model:
Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.
OK
Press OK to move to the Model Settings or Estimation.

Model Settings - Single-equation Dynamic Modelling

This dialog is for choosing a model type.

The Model Type
The Autometrics related options are:
Automatic model selection
Mark this box to activate Autometrics.
Target size
Select a target p-value at which the reduction should be run. Use advanced settings for a p-value thst is not listed.
Outlier detection
Select the outlier method: none, large residuals or dummy saturation (adding an impulse dummy for each observation).
Pre-search lag reduction
By default, pre-search lag reduction is switched on.
Advanced Autometrics settings
Mark this box for an additional dialog with advanced options.

Autometrics Settings - Single-equation Dynamic Modelling

Autometrics Settings - Multiple-equation Dynamic Modelling

Search settings

Outlier detection
Select the outlier method: none, large residuals or dummy saturation (adding an impulse dummy for each observation).
Pre-search lag reduction
By default, pre-search lag reduction is switched on.
Pre-search variable reduction
This is switched off by default.
Search effort
Changing the search effort may result in a different terminal model.
Backtesting
The default is backtesting with respect to GUM 0 (in PcGets this was w.r.t the current GUM).
Tie-breaker
When there are multiple terminal candidate models, the tie-breaker decides which one to choose as the final model.
Print level
Controls theamount of Autometrics output.
Target size
Select a target p-value at which the reduction should be run. Select User to specify a p-value directly in the next field.
User determined p-value
Active if User is selected in the previous field.
Diagnostic test p-value
The default is to run the test at 1%, independently of the reduction p-value.
Standard errors
Gives the option to use robust standard errors (HACSE or HCSE) in the reduction.
GIVE: first do reduced form
By default, the system reduction is used on the unrestricted reduced form, after which the IV equation is reduced.
Block identification when there are too many parameters
When k/T fraction exceeds
Determines the ratio of parameters to sample size at which the block reduction kicks in.
Block method
Allows experimentation with other block methods, which may take longer than the default (except for "quick", which does the block search with diagnostic testing switched off).
Maximum block size (-1: unlimited)
The block size is roughly 0.5T times the k/T fraction, so 0.4T by default. This is subject to the maximum size specified here.
Diagnostic test set
Allows customization of the test battery used by Autometrics.

Estimate - Single-equation Dynamic Modelling

Select an estimation method, sample period, and number of forecasts for the formulated model. For recursive estimation also select the number of initializations.

Estimation sample
Enter the sample period you wish to use for the estimation (including initialization and forecasts), e.g. 1960(1) to 1980(4). The maximum sample is given one line up.
The default is the sample of the previous estimation (of course only if possible). PcGive automatically excludes observations with missing values.
Less forecasts
Enter the number of observations you wish to withhold for static forecasting.
Estimation method depends on the model settings:
2SLS is only available the model has more than one endogenous variable, and at least as many additional instruments as endogenous regressors.

For r-th order Autoregressive Least Squares (RALS) the estimation method is non-linear estimation. An additional checkbox allows for automatic maximization (the default), or maximization through the maximization control dialog, which provides more control over the iterative process.

Recursive estimation:
Select this option to use recursive estimation. Recursive estimation is available with OLS and IV estimation.
Initialization:
Enter the number of observations you wish to use for initializing the recursive estimation.
OK
Pressing OK starts the estimation, unless there still is something missing or wrong in the dialog.

Progress

The Progress dialog is used to review the progress made to date in the model reduction, when using the general-to-specific modelling strategy.

To offer a default sequence, PcGive decides that model A could be nested in model B if the following conditions hold:

PcGive does not check if the same variables are involved, because transformations could hide this. As a consequence PcGive does not always get the correct nesting sequence, and it is the user's responsability to ensure nesting.

E.g. DCONS = α + βDINC is nested in: CONS = a + b1 CONS1 + b2 INC + b3 INC1 through the restrictions b1 = 1 and b3 = -b2.

There are two options on the dialog to select a nesting sequence:

Mark Specific to General
Marks more general models, finding a nesting sequence with strictly increasing log-likelihood.
Mark General to Specific
Marks all specific models that have a lower log-likelihood.
The default selection is found by first setting the most recent model as specific, and then setting the general model that was found as the general model.

Additional dialog items are:

<
To move a model up in the modelling sequence.
>
To move a model down in the modelling sequence.
Del
Tp permanently delete a model from the modelling sequence.
OK
Prints the progress report, consisting of:
1. number of observations, paramaters, and log-likelihood.
2. Information criteria: reported are the Schwarz Criterion (SC), the Hannan-Quinn (HQ) Criterion, and the Akaike criterion (AIC).
3. F or Chi-squared tests of each reduction.

Options (all)

Controls maximization settings, and what is automatically printed after estimation (in addition to the normal estimation report). Model options referes to settings which are changed infrequently, and are persistent between runs of PcGive.

Maximization Settings

Maximum number of iterations:
Note that it is possible that the maximum number of iterations is reached before convergence. The maximum number of iterations also equals the maximum number of switches in cointegration.

Write results every:
By default no iteration progress is displayed in the results window. It is possible to write intermediate information to the Results window for a more permanent record. A zero (the default) will write nothing, a 1 every iteration, a 2 every other iteration, etc.

Write in compact form:
Writes one line per printed iteration (see Write results every).

Convergence tolerance:
Change the convergence tolerance levels (the smaller, the longer the estimation will take to converge). See under numerical optimization for an explanation of convergence decisions.

Default:
Resets the default maximization settings.

Additional output to be printed after estimation
A range of items can be selected for automatic printing after each estimation. Note that these can always be obtained from the Test menu as well.

Graphic Analysis (single-equation/non-linear/multiple-equation modelling)

The Graphic analysis command gives various options to graph actual and fitted values, forecasts and residuals, etc. The list box on the right lists the selected equations for which the graphs are drawn.

Actual and fitted values
Show the fitted and actual values of the dependent variable over time, over the whole sample period, including the forecast period.
Cross-plot of actual and fitted
As above, but now a cross-plot of actual and fitted values.
Residuals (scaled)
Show the scaled residuals against time, over the whole sample period, including the forecast period. The residuals are scaled by the residual standard deviation.
Forecasts and outcomes
Show the static forecasts and actual values of the dependent variable over time, over the forecast period only. This option is only available if observations were withheld for forecasting when the estimation sample was selected.
Residual density and histogram
Show the density estimate and histogram of the residuals. The normal density with the same mean and variance is drawn for reference. To omit any of these items see under Further graphs.
Residual correlogram (ACF)
Show the ACF of the residuals, using the lag length supplied in the text entry field.
Length of correlogram and spectrum
The lag length must be < T.
Partial autocorrelation function (PACF)
Show the PACF of the residuals, using the lag length supplied in the text entry field.

Further graphs

Forecasts Chow tests
Shows the forecast Chow tests.
Residuals (unscaled)
Show the residuals against time, over the whole sample period, including the forecast period.
Residual spectrum
Show the Spectral density of the residuals, using the lag length as the truncation point.
Residual QQ plot against N(0,1)
Plots the ordered residuals against in a QQ plot against the normal distribution.
Cross-plots matrix of residuals
Show the cross-plots of the residuals, by default over the whole sample period, including the forecast period. This option is only available for multivariate models.
Residual density
Residual histogram
Show the density estimate of the residuals with the normal density for reference. If residual histogram is also checked, the histogram will be drawn on top of the density.
Residual distribution (normal quantiles)
Show the distribution of the residuals in a QQ plot against the normal distribution. This is based on the smoothed density estimate.

Options

Order by equation
Choose an ordering for multiple-equation models.

Cointegration graphics (multiple-equation dynamic modelling)

Cointegration relations
β0' (yt;zr) or β0' r1t.
Actual and fitted
The graphs of the cointegrating relations are split into two components: the actuals yt and the fitted values yt - β0' (yt;zr). All lines are graphed in deviation from mean.
Components of relations
Graphs all the components of in deviations from their means.
Use (Y:Z) or (Y_1:Z) with lagged DY and U removed
Chooses between yt;zr and r1t.

To zoom a graph, adjust the area inside OxMetrics.

Recursive Graphics: Single-equation Dynamic Modelling

The Recursive graphics command graphs the recursive output as generated by a recursive estimation.

Coefficients
Mark all the variables in the model you wish to include in the beta-coefficient and/or t-value graphs in this list box.
Beta coefficient ±2*S.E.
Graph the beta coefficient ±2*SE of all variables selected in the variables list box.
Beta t-value
Graph the t-values of all variables selected in the variables list box.
Residual Sums of squares
Graph the Residual Sums of Squares.
1-step Residuals ±2*S.E.
Graph the 1-step residuals with with error bands of two residual standard errors around zero.
Standardized innovations
Graph the Standardized innovations.
1-step Chow tests
Graph the 1-step Chow tests scaled by their critical values.
Break-point Chow tests
Graph the N decreasing Chow tests scaled by their critical values.
Forecast Chow tests
Graph the N increasing Chow tests scaled by their critical values.
Chow test p-value
The critical value by which the all the Chow tests need to be scaled. Default is 1%, enter 0 for unscaled chow tests.
Write results instead of graphing
Write the information to the Results window.

To zoom a graph, adjust the area inside OxMetrics.

Dynamic Analysis (single-equation/non-linear modelling)

The formulation and econometrics of dynamic analysis are described in Volume I.

Static long run solution
Determines whether the solved form is computed.
Lag structure analysis
This option gives a table of lag coefficients for every variable, F-tests on the significance of each lag and each variable, as well as the PcGive unit root test.
Roots of lag polynomials
Prints the roots of the lag polynomials
Test for common factor
The common factor test (COMFAC test) evaluates error-autocorrelation claims by checking if the model's lag polynomials have factors in common.

Lag weights

Graph normalized weights
Plot the normalized lag weights.
Graph cumulative normalized weights
Plot cumulative normalized lag weights, either instead of the normalized lag weights, or in addition to them.
Write lag weights
Write the information to the Results window.

Forecast (single-equation/non-linear/multiple-equation modelling)

Shows the dynamic forecasts or static (one-step) forecasts optionally with standard error bars, bands or fans (± 2 forecast standard errors). Dynamic forecasting is not possible for systems with identities (use the model in that case, so that the identities are known to PcGive).

If there are unmodelled variables in the model, forecasting is only possible while data is available.

Equation
Mark all the equations you wish to do the graphing for in this list box. In single-equation modelling there is only one equation, so only one variable listed in the box.
Number of forecasts
By default, this displays the maximum number of dynamic forecasts. If there are unmodelled variables in the model, forecasting is only possible while data is available.
The forecast types
Forecast standard errors

Options

Type of error bars:
Critical value to use for errors bars
The default is ±2SE corresponding to 95% bands. Use 1.6 for 90% bands.
Number of pre-forecast observations to graph
By default 1 + the data frequency observations are included from the pre-forecasting sample.
Write results instead of graphing
Write the information to the Results window.

Transformations

Derived
Allows the specification for additional (derived) equations to forecast. The derived equations are specified in algebra code. For example, when a variable (CONS say) is in logs, you could add log(CONS). When more than one variable is derived, they must involve assignment, and be terminated by a semicolon, for example:
x = exp(CONS); y = x + 2;

Forecast error standard errors will be computed numerically.

Linear derived expressions can also be created using identities.

Further Output

Information criteria
if checked: report information criteria
Heteroscedastic-consistent standard errors (HCSE)
When selected the HCSEs will be computed: HCSE, HACSE (heteroscedasticity and autocorrelation consistent standard errors), JHCSE (jackknife HCSE, but only for single equation OLS).
R^2 relative to difference and seasonals
if checked: report R^2 relative to difference and seasonals
Correlation matrix of regressors
Print out the regressor correlation matrix, means and standard deviations.
Covariance matrix of estimated parameters
Print out the covariance matrix of the estimated parameters for each model, and the covariance matrix of constrained parameters following general restrictions.
Reduced form estimates
These can only be printed after instrumental variables or simultaneous equations models.
Static (1-step) forecasts
These can only be printed if observations were withheld at the formulation stage. Forecasts can also be made from the test menu.
Print large residuals
Check this box t list all observations that have an (absolute) residual exceeding if the specified value times the equation standard error (in other words, standardized residual in excess of the specified value).

Write model results

Equation format
write the results in equation format.
LaTeX format
This resulting output can be pasted to a LaTeX document.
Non-linear model format
This resulting output can be useed as a starting point for non-linear modelling.
Significant digits for parameters
Significant digits for std.errors
These control the format of the output.
Batch code to map CVAR to I(0) model
This option is available after estimating a cointegrated VAR. It prints the batch code to map it to a model with the cointegrating vectors as identities. This batch code can then be run from OxMetrics.

Test (single-equation/non-linear/multiple-equation modelling)

This dialog box gives access to a selection of diagnostic testing procedures. Mark the tests you want to be executed, then press OK. Many tests report a Chi^2 and an F form. In the summary, only the F-test is reported, which is expected to have better small-sample properties.

In multiple-equation models, there is a choice to compute vector tests, single-equation tests, or both.

Residual correlogram and Portmanteau statistic with length
Prints the residual correlogram (both ACF and PACF), as well as the Portmanteau statistic. You can change the lag length.
Error autocorrelation from lag .. to ..
Offers the choice of testing for autocorrelation, with the option to change the default starting and ending lag. Information on the auxiliary regression is printed in addition to the Chi^2 and F-form of the test statistic.
Normality
Shows the first four moments, together with a test for normality.
Heteroscedasticity (squares)
Tests for the residuals being heteroscedastic owing to omitting squares of the regressors. Redundant variables (like the square of the Constant) are automatically eliminated. The test will be skipped if there are not enough observations.
Heteroscedasticity (squares and cross products)
This is the White test for heteroscedasticity, which includes all squares (as in the previous heteroscedasticity test) and all cross-products of variables. Redundant variables (like the square of the Constant) are automatically eliminated. The test will be skipped if there are not enough observations (which can happen easily in large models).
ARCH with order (no vector form)
Tests for Autoregressive Conditional Heteroscedasticity, for a user defined order. Information on the auxiliary regression is printed in addition to the F-form of the test statistic.
Reset up to power (only for single-equation OLS)
The Reset test adds squares of the fitted y.
Instability tests (only for single-equation OLS)
Tests for variance, joint, and coefficient instability.
Encompassing tests (only for single-equation OLS/IVE)
Computes encompassing tests for single equation models estimated by OLS or IVE. Model 2 is the current model, and model 1 the previously estimated model (for the current database). These models must have the same dependent variable, and not be nested.

Test Exclusion Restrictions

Allows you to select explanatory variables and test whether they are jointly significant. A more general form is the test for linear restrictions.

Selection
Mark all the variables you wish to include in the test in this list box.

PcGive tests whether the selected variables can be deleted from the model.

Test Linear Restrictions

Tests for linear restrictions are specified in the form of a matrix R, and a vector r. These are entered as one matrix [R : r]' in the dialog. (This is a more general than testing for exclusion restrictions, but not as general as the general restrictions test.)

For example, if the model is CONS on Constant, CONS_1, INC, INC_1, and we wish to test that the coefficients on INC and INC_1 add up to one, and that on CONS_1 equals zero. Then the R:r matrix can be written as

	0 0
	1 0
	0 1
	0 1
	0 1

The first four rows are the columns of R, specifying two restrictions. The last row is r, which specifies what the restrictions should add up to.

The dimensions of the matrix must be specified in the rows and columns fields.

Matrix
This window is a matrix editor in which you can specify the values, very similar to an OxMetrics database.
Rows
The number of rows in the matrix.
Columns
The number of columns in the matrix.
Load
Enables you to load an existing matrix file into the editor. Any existing matrix in the editor will be lost.
Save
Enables you to save the contents of the editor in an matrix file, so that it can be used again.

General Restrictions

This is the most general form for testing restrictions: restrictions are given in the form of expressions involving the coefficients. The mathematics is explained in tests for general restrictions.

Restrictions have to be entered when testing for parameter restrictions and for imposing parameter constraints for estimation. The syntax is similar to that of algebra, but simpler.

Restrictions code may consist of the following components:
(1) Comment
(2) Constants
(3) Arithmetic operators
These are all identical to algebra. In addition there are:
(4) Parameter references
Parameters are referenced by an ampersand followed by the parameter number. Counting starts at 0, so, for example, &2 is the third parameter of the model. What this parameter is depends on your model.

Ensure that when you enter restrictions through the batch language, you use the right order for the coefficients. In case of IV estimation PcGive will reorder your model so that the endogenous variables come first.

Restrictions for testing are entered in the format: f(c)=0. The following restrictions test the significance of the long-run parameters in an unconstrained model:

(&1 + &2) / (1 - &0) = 0; &3 / (1 - &0) = 0;

Omitted Variables

This implements the omitted variables test, which tests if some variables should be added to the model. For example, if the estimated model is

y = + u,
then the omitted variables test, tests for γ= 0 in
y = + +v,

The Lagrange Multiplier F-test is reported, and the null hypothesis is rejected when its value is significant.

This test is not available for autoregressive least squares or non-linear models.

Any variable can be selected, as long as it matches the present sample.

Database
Select variables to test as omitted from the model in this list box. Variables already in the model and variables which would reduce the sample size are not allowed and are automatically deleted.
Lag length
Specify the maximum lag length to use (not for cross-section regression).

Store in database

Allows you to save any of the listed items in the OxMetrics database. Note that forecasts must be generated using Test/Forecast before they can be stored.

OxMetrics will prompt for a variable name.

Dialogs for Non-linear Modelling

Dialogs for model formulation and estimation:
Formulate
Model Settings
Estimate
Options
Progress
Dialogs for model evaluation:
Graphic Analysis
Recursive graphics
Further Output
Test
Exclusion Restrictions
Linear Restrictions
General Restrictions
Store in Database

Formulate - Non-linear Modelling

[A] Non-linear least squares

A non-linear model is formulated in Algebra code. The following extensions are used:

  1. parameter references
    Parameters are referenced by an ampersand followed by the parameter number.
  2. the numbering does not have to be consecutive, so your model can use,
  3. for example &1, &3 and &4.

The following two variables must be defined for NLS to work:

  1. actual defines the actual values of the dependent variable (the y variable, e.g. CONS).
  2. fitted defines the fitted values (the y-hat variable). This is the formula for the explained component.

Consider, for example, the following specification of the fitted part:

  fitted = &0*lag(CONS,1) + &1*INC + &3*INFLAT + &4;

Starting values are entered in the format: &parameter=value;. For example:

  &0 = 0; &1 = 1; &3 = -1; &4 = 1;

Together, these formulate the whole non-linear model, as in the following example:

  actual = CONS;
  fitted = &0 + &1*lag(CONS,1) + &2*INC - &1*&2*lag(INC,1);
  &0 = 0; &1 = 1; &2 = -1;

[B] Maximum likelihood

Maximum likelihood models are defined using the three variables:

  1. actual
  2. fitted
  3. loglik

Both actual and fitted only define the variables being used in the graphic analysis and the residual based tests. The loglik variable defines the function to be maximized. Parameters and starting values are as for NLS.

More information is available under non-linear models.

After estimating a linear model, and before starting non-linear estimation, you can use Test/Further Output to write the linear model in the form of non-linear model code. This could be a good starting point for formulating a non-linear model.

The dialog fields are:

Model
Edit field for formulating the non-linear model as outlined above.
OK
Moves to the estimation dialog.
Load
Loads a file with a non-linear model (as an algebra file: .ALG) from disk.
Save As
Saves the contents of the edit window to disk as an algebra file (.ALG).
Recall
Recalls the most recently estimated non-linear model.
Database drop-down box
Allows changing database, if multiple databases have been loaded into OxMetrics. The selected database is used for the non-linear estimation.
Database
At the bottom of the dialog is a list of all the variables in the database. Double clicking on a variable will paste it to the editor.

Estimate - Non-linear Modelling

Determines the estimation sample for non-linear models.

Estimation sample
Enter the sample period you wish to use for the estimation (including initialization and forecasts), e.g. 1960(1) to 1980(4). The maximum sample is given one line up.
The default is the sample of the previous estimation (of course only if possible). PcGive automatically excludes observations with missing values.
Less forecasts
Enter the number of observations you wish to withhold for static forecasting.
Estimation method
and non-linear models the choices is the estimation method is non-linear estimation. An additional checkbox allows for automatic maximization (the default), or maximization through the maximization control dialog, which provides more control over the iterative process.

Recursive estimation:
Select this option to use recursive estimation. Recursive estimation is available with OLS and IV estimation.
Initialization:
Enter the number of observations you wish to use for initializing the recursive estimation.
OK
Pressing OK starts the estimation, unless there still is something missing or wrong in the dialog.

Maximization Control

This dialog controls the estimation of non-linear models by numerical optimization.

Optimization status
Initially, the first line says: No convergence (yet) Subsequently, the first line shows the current convergence status:

Only after convergence will it be possible to press OK, which results in writing the estimation results. Note that grid plotting, and resetting parameter values, will result in loss of the previous convergence status.

Parameters
Make a selection and double-click: you can then edit the parameter value.
Optimization method
Lists the choice of optimization method (which could only be one).
Estimate
Start or continue the Numerical Optimization from the current parameter values.
Reset
Reset the parameters to the values they had when this dialog started.
Grid
Sparks off the grid dialog enabling grid searches over a single parameter.
OK
If the optimization process has converged, you will be able to press this button (then PcGive will write the estimation results), otherwise it is deactivated.
Cancel
Cancels the iterative model estimation, no model results will be available.
Options
Allows setting the estimation options, in particular the maximum number of iterations, the amount of intermediate output, and the convergence tolerance. See under numerical optimization for an explanation of convergence decisions.

Grid (all)

There are two types of grids:

  1. Max: maximize over remaining parameters;
  2. Fixed: keep all remaining parameters fixed.

When the grid is over one parameter, the max grid does a complete log-likelihood maximization over the remaining parameters, with the first fixed at the grid values. The fixed grid only involves likelihood evaluations, keeping the other parameters fixed at its current value, while computing the first over the grid coordinates. Therefore, the max grid method can be much slower, especially for a bivariate grid. For example, a 20 by 20 grid would require 400 likelihood maximizations (i.e.,~400 FIML estimates).

As long as you press Next Grid, this dialog keeps on asking for the next graph. When you press OK, the grids are drawn. So you can have many grids on-screen. These can include mixes of different parameters or the same parameter on different scales and/or locations.

3D grid
Check this to do a three-dimensional grid. A second column of grid parameters will appear to select the other parameter.
Parameter
Select the parameter over which you wish to do the grid search.
Grid center
The value on which the grid should be centred, the default is the current parameter value.
Number of steps
The number of steps over which the grid should be computed, with a default of 20.
Step length
The step length default is 0.1 which, together with the other defaults, gives: 20 * 0.1 equal to 2, which spans the range [-1,1]. For example, when the grid id centred at 0, the grid points are -1, -0.9,.., 0.9, 1.
Write grid values
This will write the function values to the results window.
Maximize over remaining parameters
Check this box to do the full maximization.

Recursive graphics: Non-linear Modelling

The Recursive graphics command graphs the output as generated by a recursive estimation.

Residual Sums of squares
Graph the Residual Sums of Squares.
1-step Residuals ±2*S.E.
Graph the 1-step residuals with with error bands of two residual standard errors around zero.
Log-likelihood/T (full sample)
Graph the log-likelihood.
1-step Chow tests
Graph the 1-step Chow tests scaled by their critical values.
Break-point Chow tests
Graph the N decreasing Chow tests scaled by their critical values.
Forecast Chow tests
Graph the N increasing Chow tests scaled by their critical values.
Chow test p-value
The critical value by which the all the Chow tests need to be scaled. Default is 1%, enter 0 for unscaled chow tests.
Write results instead of graphing
Write the information to the Results window.

To zoom a graph, adjust the area inside OxMetrics.

Dialogs for Multiple-equation Dynamic Modelling

Dialogs for model formulation and estimation:
Formulate
Model Settings
Equations (for simultaneous equations)
Cointegrated VAR Settings (for cointegrated VAR)
Restrictions for Cointegration (for cointegrated VAR with general restrictions)
Restrictions for CFIML (for CFIML)
Estimate
Options
Progress
Dialogs for model evaluation:
Graphic Analysis
Recursive graphics
Dynamic analysis
Forecast
Simulation and Impulse Responses
Further Output
Test
Exclusion Restrictions
Linear Restrictions
General Restrictions
Omitted Variables
Store in Database

Formulate - Multiple-equation Dynamic Modelling

Use this dialog for Dynamic System Formulation: to formulate a vector autoregression (perhaps for cointegration analysis) or unrestricted reduced form of a simultaneous equations model, or reformulate an existing system.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model with the default lag length.

Variables that are not lagged (and not special variables) will by default become the endogenous (Y) variables. To select a different dependent variable, see below.

Specials
Lags
At the top you can choose how the lag length is set with which variables are added to the model:
Selection
This list box shows the current model. By default, the unlagged variables are added as endogenous variables. If you have marked variables in the model, you can delete them, or assign a different status to them. Variables marked with an Y are the endogenous variables. Those with an I are identity endogenous, those with a U are unrestricted, (i.e. partialled out prior to estimation), unmarked variables or Z variables are 'exogenous' (unmodelled).
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.
OK
Press OK to move to the Model Settings or Estimation.

Model Settings - Multiple-equation Dynamic Modelling

This dialog is for choosing a model type for Dynamic System analysis.

Model type

Cointegrated VAR settings: Multiple-equation Dynamic Modelling

This dialog specifies the restrictions for the cointegrated VAR. The rank of the long-run matrix can be set to the desired value, and further restrictions on alpha or beta can be imposed.

Cointegrating rank
Specify the rank of the long-run matrix.
Additional long-run restrictions
If required, choose a method for imposing additional restrictions.
Recursive estimation
Re-estimation of the short run during recursive estimation mimicks the cointegration procedure as it would be applied to a shorter sample. However, partialling out the short run estimated at the full sample leads to faster recursive estimation.

Restrictions for Cointegration - Multiple-equation Dynamic Modelling

General restrictions on α and β' may be expressed directly as a function of the unrestricted elements of α, β'. It allows general (non-linear) within and cross equation restrictions on the cointegration vectors β, as well as on the feedback coefficients α, and including imposing links between these. An important aim is to uniquely identify the parameters of the long-run relationships.

Using rank two and three variables, the elements are referenced as, for alpha:

&0 &1 &2 &3 &4 &5

and for beta:

&6 &7 &8 &9 &10 &11

Three examples of general restrictions are:

Identification of the cointegrating space is checked prior to estimation; afterwards, the degrees of freedom for the test statistic are properly computed if any restrictions are imposed.

Note that:

  1. normalization restrictions on each beta vector have to be imposed explicitly.
  2. A specification can impose restrictions, yet not identify all cointegrating vectors.

The standard errors of α are printed; if the specification is identifying, those of β are also printed. A chi-squared test of the overidentifying restrictions is reported. It is important to realise that not all impositions of fixed parameter values, or of relations between parameters, entail testable restrictions. The simplest example is when there is only one cointegrating vector: normalizing the first element does not impose a restriction, although it does fix the scale of the vector.

More generally, deriving the degrees of freedom involved in the chi-squared test is not straightforward, especially when α restrictions are involved, see Boswijk, H. P., and Doornik, J. A. (2004). "Identifying, estimating and testing restricted cointegrated systems: An overview" Statistica Neerlandica, 58, 440--465.

The following situations may occur:

  1. some cointegrating vectors are identified, but others are not;
  2. although restrictions have been imposed, these are just rotations, not affecting the likelihood;
  3. restrictions have been imposed, but no identification achieved.

Assume that the identifying restrictions are imposed on β. In the unrestricted case of rank p, there are np parameters in α and np-pp in β. Restrictions on β are only binding if they cannot be `absorbed' by the αs, and vice versa. This is easily seen for rank n: restricting β'= I_n results in α = P_o, whereas imposing α = I_n gives β' = P_o. Nevertheless, setting α = 0 imposes n2 restrictions (which, of course, violate cointegration). Fixing a row of β' constrains only n-p parameters, as the first p may be absorbed.

Finally, some forms of constraint on α and β can induce a failure of identification of the other under the null, in which case the tests need not have chi-squared-distributions (see, for example, Toda, H.Y. and Phillips, P.C.B. (1993), "Vector Autoregressions and Causality", Econometrica, 61, 1367--1393).

The dialog fields are:

Restrictions
Edit field for formulating the restrictions as outlined above.
OK
Moves to the estimation dialog.
Load
Loads a file with a non-linear model (as an algebra file: .ALG) from disk.
Save As
Saves the contents of the edit window to disk as an algebra file (.ALG).
Recall
Recalls the most recently estimated non-linear model.
Parameters
At the bottom of the dialog is a list of all the parameters in the model.

Restrictions for CFIML - Multiple-equation Dynamic Modelling

Parameter constraints for CFIML are written in the format: θ*=g(θ);. First consider an example which restricts parameter 0 as a function of three other parameters, creating a model which is non-linear in the parameters:

    &0 = -(&1 - &2) * &3;
    &4 = 0;

The dialog fields are:

Restrictions
Edit field for formulating the restrictions as outlined above.
OK
Moves to the estimation dialog.
Load
Loads a file with a non-linear model (as an algebra file: .ALG) from disk.
Save As
Saves the contents of the edit window to disk as an algebra file (.ALG).
Recall
Recalls the most recently estimated non-linear model.
Parameters
At the bottom of the dialog is a list of all the parameters in the model.

Equations - Multiple-equation Dynamic Modelling

Use this dialog to formulate the simultaneous equations for a dynamic system.

Select from
Shows the current unrestricted reduced form (URF) from which the variables for each equation can be selected.

Mark all the variables you wish to add to the current equation, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the variables are added to the equation.

Equations
At the top of the left-hand side is a drop-down box allowing you to select an equation. You can also change to the next (or previous) equation using the spin buttons.

The list box shows the specification of the current equation.

<<
Adds the currently selected URF variable to the equation.
>>
Deletes the currently selected variables from the equation.
Clear>>
Deletes all variables from the current equation.
<<Default All
Resets all equations to their default, the unrestricted reduced form.
OK
Press OK to move to the Estimation.

Estimate -Multiple-equation Dynamic Modelling

The Estimate command provides dynamic model estimation.

Select an estimation method, sample period, and number of forecasts for the formulated model. For recursive methods also select the number of initializations.

Estimation sample
Enter the sample period you wish to use for the estimation (including initialization and forecasts), e.g. 1960(1) to 1980(4). The maximum sample is given one line up.
The default is the sample of the previous estimation (of course only if possible). PcGive automatically excludes observations with missing values.
Less forecasts
Enter the number of observations you wish to withhold for static forecasting.
Estimation method
The estimation method depends on thge model type. For an unrestricted system it is only OLS, for a cointegrated VAR it is reduced rank regression, while for simultaneous equations models it is one of:

Only the first option is available for constrained simultaneous equations estimation.

An additional checkbox allows for automatic maximization (the default) when numerical optimization is required. Switch automatic maximization off to access the maximization control dialog, which provides more control over the iterative process.

Recursive estimation, initialization:
Select this option and enter the number of observations you wish to use for initializing the recursive estimation.
OK
Pressing OK starts the estimation, unless there still is something missing or wrong in the dialog.

Recursive graphics - Multiple-equation Dynamic Modelling

The Recursive graphics command graphs the output as generated by a recursive estimation.

Equations
Mark all the equations in the model you wish to include in the output.
Residual Sums of squares
Graph the Residual Sums of Squares.
1-step Residuals ±2*S.E.
Graph the 1-step residuals with with error bands of two residual standard errors around zero.
Log-likelihood (non-linear modelling)
Graph the log-likelihood.
Log-likelihood/T (full sample) (multiple-equation modelling)
Graph the log-likelihood.
1-step Chow tests
Graph the 1-step Chow tests scaled by their critical values.
Break-point Chow tests
Graph the N decreasing Chow tests scaled by their critical values.
Forecast Chow tests
Graph the N increasing Chow tests scaled by their critical values.
Chow test p-value
The critical value by which the all the Chow tests need to be scaled. Default is 1%, enter 0 for unscaled chow tests.
Write results instead of graphing
Write the information to the Results window.

For cointegrated VARs the entries are:

Eigenvalues
Recursively estimated eigenvalues from cointegration tests
Beta coefficients
The coefficients in the cointegrating vectors.
Log-likelihood/T (full sample) (multiple-equation modelling)
Graph the log-likelihood.
Test for restrictions
The recursive tests for restrictions on the cointegration space.
Test p-value (%) =
The critical value for the tests.
Write results instead of graphing
Write the information to the Results window.

To zoom a graph, adjust the area inside OxMetrics.

Dynamic analysis - Multiple-equation Dynamic Modelling

The formulation and econometrics of dynamic analysis are described in Volume II.

Static long run
Determines whether the solved form is computed.
Roots of companion matrix
Prints the roots of the companion matrix.
Plot roots of companion matrix
Plots the roots of the companion matrix.
I(1) cointegration analysis
Performs the I(1) cointegration tests.
I(2) cointegration analysis
Performs the I(2) cointegration tests.

Simulation and Impulse Responses - Multiple-equation Dynamic Modelling

Use this dialog to perform dynamic simulation and impulse response analysis. Dynamic simulation is performed in the same way as dynamic forecasting, but starts at a point within the estimation sample, rather than immediately afterwards.

Note that dynamic simulation is not a valid technique for model evaluation, as discussed in Y. Chong and D.F. Hendry (1986), "Econometric Evaluation of Linear Macro-Economic Models", Review of Economic Studies, 53, 671--690.

Impulse response analysis ignores non-modelled variables and sets the history to zero, apart from the initial values. These can be taken as unity for each endogenous variable in turn, the equation standard error, orthogonal (based on the Choleski decomposition of the residual covariance matrix), or set by the user. By default this leads to n*n graphs.

Using unit or standard error initial values will only have the initial value of the i-th endogenous variable non-zero in the i-th set of graphs. Orthogonal initial values will have initial values up to the i-th endogenous variable non-zero in the i-th set of graphs.

Dialogs for Descriptive Statistics

Variables for Descriptive Statistics

Various types of data descriptions are offered:
  Means, standard deviations, correlations
  Normality tests and descriptive statistics
  Unit root tests

The first step is to select variables for descriptive statistics:

Database
Mark all the variables you wish to include in the descriptive statistics, in this list box, using the spacebar or the mouse.
Lag length
Specify the default lag length to use.
Change Database
Allows changing database, if multiple databases have been loaded into OxMetrics.

Descriptive Statistics

Means, standard deviations and correlations
Writes the means, standard deviations and correlations of all selected variables.
Normality tests and descriptive statistics
Writes the normality test, together with some summary statistics of all selected variables.
Unit root tests
Writes the unit root tests.
Compute unit root tests Tick this option to do unit root tests.
Report summary table only
This will produce a table of ADF tests, dropping one lag at a time. Also reported are the t-value and significance of the highest lag, and the p-value of the F-test on the lags dropped up to that point.
Lag length for differences
Enter the lag length you wish to use in the augmented Dickey-Fuller test (0 gives the Dickey-Fuller test only).
Constant
Tick this if you wish to include a constant term in the test.
Trend (and constant)
Tick this if you wish to include a trend and constant term in the test.
Add seasonals and constant
Tick this if you wish to include seasonals in the test (a constant term is also added).
Select sample
Allows selecting a subsample. The default is the full sample.

Dialogs for ARFIMA Models

Dialogs for model formulation and estimation:
Estimate
Formulate
Model Settings
Options
Progress
Dialogs for model evaluation:
Graphic Analysis
Forecast
Test
Exclusion Restrictions
Linear Restrictions
Store in database

Formulate - ARFIMA Models

Use this dialog for to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, in this list box, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model with the default lag length.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below.

Special
The listbox below the database variables shows the so-called special variables, which are pre-defined. Here it is:

Lags
At the top you can choose how the lag length is set with which variables are added to the model:
Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.

Model Settings - ARFIMA Models

This dialog is for choosing an ARFIMA specification.

AR order, MA order
Specify the orders p and q for the ARMA(p,q) process.
Fix AR lags, Fix MA lags
These edit field allow for ARMA parameters to be fixed at zero. For example, when both p and q are set to 4, and both fields are set to
   1;2;3
then only the fourth AR and MA coefficients are estimated.
Fractional parameter d
By default d is estimated, but it is possible to fix d at zero or another user-specified value.
Treatment of mean
The default usage is to add a Constant as regressor, and set the treatment of the mean to None. It is also possible to estimate the model in deviations from the sample mean, or to fix the mean to a user-specfied value.

Estimate - ARFIMA Models

Select an estimation method and sample period for the formulated model.

Estimation sample
Enter the sample period you wish to use for the estimation (including initialization and forecasts), e.g. 1960(1) to 1980(4). The maximum sample is given one line up.
The default is the sample of the previous estimation (of course only if possible). PcGive automatically excludes observations with missing values.
Less forecasts
Enter the number of observations you wish to withhold from the sample.
Estimation method

PcGive provides three estimation methods, Exact Maximum Likelihood (EML), Modified Profile Likelihood (MPL) and nonlinear least squares (NLS). By definition, EML and MPL impose -1 < d < 0.5. MPL is preferred over EML if the model includes regressor variables and the sample is not very large. NLS allows for d > -0.5 and can be used to estimate models for non-stationary processes directly, without a priori differencing. NLS estimation is usually fast.
Starting values only reports the GPH estimates of d, from the (frequency domain) log periodogram regression, the AR starting values from solving the Yule-Walker equations, and the MA parameters derived from Tunnicliffe-Wilson's method.
NLS with stationarity imposed enforces that the oots are inside the unit circle.

Graphic Analysis - ARFIMA Models

The Graphic analysis command gives various options to graph actual and fitted values, forecasts and residuals, etc. The list box on the right lists the selected equations for which the graphs are drawn.

Actual and fitted values
Show the fitted and actual values of the dependent variable over time, over the whole sample period, including the forecast period.
Cross-plot of actual and fitted
As above, but now a cross-plot of actual and fitted values.
Residuals (scaled)
Show the scaled residuals against time, over the whole sample period, including the forecast period. The residuals are scaled by the residual standard deviation.
Residual density and histogram
Show the density estimate and histogram of the residuals. The normal density with the same mean and variance is drawn for reference. To omit any of these items see under Further graphs.
Residual correlogram (ACF)
Show the ACF of the residuals, using the lag length supplied in the text entry field.
Length of correlogram and spectrum
The lag length must be < T.

Further graphs

Partial autocorrelation function (PACF)
Show the PACF of the residuals, using the lag length supplied in the text entry field.
Residuals (unscaled)
Show the residuals against time, over the whole sample period, including the forecast period.
Residual spectrum
Show the Spectral density of the residuals, using the lag length as the truncation point.

To zoom a graph adjust the area inside OxMetrics.

Forecast - ARFIMA Models

Shows the dynamic forecasts forecasts optionally with standard error bars, bands or fans (± 2 forecast standard errors).

Number of forecasts
By default, this displays the maximum number of dynamic forecasts. If there are unmodelled variables in the model, forecasting is only possible while data is available.
Naive forecasts only
`Naive' forecasts are derived from the autoregressive representation of the process, truncated at T+h. Naive forecasts are faster to compute.

Undo data transformations

Base level for re-integration
Specify the level from which to re-integrate the series. This is the last observation of the levels (log-levels if growth rates are used) in the estimation sample. For second differences, specify two values separated by a comma (the last two observations in the estimation sample).
Undo logarithm
Click this box to takes exponents of the forecasts.

Options

Type of error bars:

Critical value to use for errors bars
The default is ± 2SE corresponding to 95% bands. Use 1.6 for 90% bands.
Number of pre-forecast observations
By default 1 + the data frequency observations are included from the pre-forecasting sample.
Write results
Write the information to the Results window.

Test - ARFIMA Models

This dialog box gives access to a selection of diagnostic testing procedures. Mark the tests you want to be executed, then press OK. Many tests report a Chi^2 and an F form. In the summary, only the F-test is reported, which is expected to have better small-sample properties.

Residual correlogram and Portmanteau statistic with length
Prints the residual correlogram (both ACF and PACF), as well as the Portmanteau statistic. You can change the lag length.
Normality
Shows the first four moments, together with a test for normality.
ARCH with order (no vector form)
Tests for Autoregressive Conditional Heteroscedasticity, for a user defined order. Information on the auxiliary regression is printed in addition to the F-form of the test statistic.

Dialogs for GARCH Models

Dialogs for model formulation and estimation:
Estimate
Formulate
Model Settings
Options
Progress
Dialogs for model evaluation:
Graphic Analysis
Forecast
Recursive graphics
Test
Exclusion Restrictions
Linear Restrictions
Store in Database

Formulate - GARCH Models

Use this dialog for to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model with the default lag length.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below.

Special
The listbox below the database variables shows the so-called special variables, which are pre-defined. Here it is:

Lags
At the top you can choose how the lag length is set with which variables are added to the model:
Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model. You can also double click on a model variable to delete it.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.

Model Settings - GARCH Models

This dialog is for choosing a GARCH or EGARCH specification.

GARCH(p,q)
Specify the orders p and q for the GARCH(p,q) process. Set p to zero for an ARCH(q) process.
Set a check in the EGARCH box to estimate an EGARCH model.
Optionally, a non-normal error distribution can be estimated. This is a standardized Student-t distribution for GARCH, and a generalized error distribution (GED) for EGARCH. The Student-t approaches the standard normal as the degrees of freedom go to infinity. The GED(nu) coincides with the normal when nu=2.
GARCH variations
Optionally, a threshold or asymmetry effect can be added to the GARCH model.
Both GARCH and EGARCH can be estimated with the conditional variance (or its square root or logarithm) entering as a regressor in the mean.
GARCH parameter restrictions
An important aspect of GARCH modelling is the choice of parameter space. In PcGive the options are:

Startup of GARCH variance recursion
There are two options for the start-up of the variance recursion: using the sample mean of the variance, or estimate the missing variance terms as extra parameters. The former is the default.
Preferred covariance estimator

In addition, the robust standard errors are printed by default when the information matrix J is available. These are of the form inv(JG inv(J), where G is the outer product of the gradients.

Search for global maximum after initial estimation
Especially when q>1, it is possible that the likelihood has multiple optima. This final set of advanced options allows for a search from random starting values. Because each of these involves maximization of the likelihood, this option can be time consuming.

Estimate - GARCH Models

Select an estimation method, and sample period for the formulated model. Optionally select recursive estimation.

Estimation method

ML is the only available estimation methods.

Estimation sample
Enter the sample period you wish to use for the estimation (including initialization and forecasts), e.g. 1960 1 to 1980 4. The maximum sample is given one line up.
The default is the sample of the previous estimation (of course only if possible). PcGive automatically excludes observations with missing values.
Recursive estimation, initialization:
Select this option and enter the number of observations you wish to use for initializing the recursive estimation. Recursive estimation is available for all GARCH and EGARCH type models, and estimates the model for all sample sizes down to the size specified for initialization.
Less forecasts
Enter the number of observations you wish to withhold from the estimation sample.
Options
Allows setting the estimation options.
OK
Pressing OK starts the estimation, unless there still is something missing or wrong in the dialog.

Options

Controls maximization settings, and what is automatically printed after estimation (in addition to the normal estimation report). Model options referes to settings which are changed infrequently, and are persistent between runs of PcGive.

Maximization Settings

Maximum number of iterations:
Note that it is possible that the maximum number of iterations is reached before convergence. The maximum number of iterations also equals the maximum number of switches in cointegration.

Write results every:
By default no iteration progress is displayed in the results window. It is possible to write intermediate information to the Results window for a more permanent record. A zero (the default) will write nothing, a 1 every iteration, a 2 every other iteration, etc.

Write in compact form:
Writes one line per printed iteration (see Write results every).

Convergence tolerance:
Change the convergence tolerance levels (the smaller, the longer the estimation will take to converge). See under numerical optimization for an explanation of convergence decisions.

Default:
Resets the default maximization settings.

Graphic Analysis - GARCH Models

The Graphic analysis command gives various options to graph actual and fitted values, forecasts and residuals, etc. The list box on the right lists the selected equations for which the graphs are drawn.

Actual and fitted values
Show the fitted and actual values of the dependent variable over time, over the whole sample period, including the forecast period.
Cross-plot of actual and fitted
As above, but now a cross-plot of actual and fitted values.
Residuals (scaled)
Show the scaled residuals against time, over the whole sample period, including the forecast period. The residuals are scaled by the residual standard deviation.
Conditional standard deviation
Show the square root of the estimated conditional variance: sqrt(ht).

Further graphs

Residual density and histogram
Show the density estimate and histogram of the residuals. The normal density with the same mean and variance is drawn for reference. To omit any of these items see under Further graphs.
Residual correlogram (ACF)
Show the ACF of the residuals, using the lag length supplied in the text entry field.
Length of correlogram and spectrum
The lag length must be < T.
Partial autocorrelation function (PACF)
Show the PACF of the residuals, using the lag length supplied in the text entry field.
Partial autocorrelation function (PACF)
Show the PACF of the residuals, using the lag length supplied in the text entry field.
Residuals (unscaled)
Show the residuals against time, over the whole sample period, including the forecast period.
Residual spectrum
Show the Spectral density of the residuals, using the lag length as the truncation point.
Residual correlogram of squares (scaled)
Shows the ACF of the squared scaled residuals ut2/ht, using thelag length supplied in the text entry field.

To zoom a graph adjust the area inside OxMetrics.

Recursive Graphics - GARCH Models

The Recursive graphics command graphs the recursive output as generated by a recursive estimation.

Coefficients
Mark all the variables in the model you wish to include in the beta-coefficient and/or t-value graphs in this list box.
Coefficients ±2*S.E.
Graph the estimated coefficients ±2*SE of all variables selected in the variables list box.
t-value
Graph the t-values of all variables selected in the variables list box.
alpha(1)+beta(1)
Graph α(1)+β(1).
Log-likelihood (non-linear modelling)
Graph the log-likelihood.
Write results instead of graphing
Write the information to the Results window.

To zoom a graph adjust the area inside OxMetrics.

Forecast - GARCH Models

Shows the dynamic forecasts forecasts optionally with standard error bars, bands or fans (± 2 forecast standard errors).

Number of forecasts
By default, this displays the maximum number of dynamic forecasts. If there are unmodelled variables in the model, forecasting is only possible while data is available.
Conditional variance graph
Allows for the conditional variance to be graphed separately.

Options

Type of error bars:

Critical value to use for errors bars
The default is ±2SE corresponding to 95% bands. Use 1.6 for 90% bands.
Number of pre-forecast observations
By default 1 + the data frequency observations are included from the pre-forecasting sample.
Write results
Write the information to the Results window.

Test - GARCH Models

This dialog box gives access to a selection of diagnostic testing procedures. Mark the tests you want to be executed, then press OK. Many tests report a Chi^2 and an F form. In the summary, only the F-test is reported, which is expected to have better small-sample properties.

Residual correlogram and Portmanteau statistic with length
Prints the residual correlogram (both ACF and PACF), as well as the Portmanteau statistic. You can change the lag length.
Normality
Shows the first four moments, together with a test for normality.
ARCH with order (no vector form)
Tests for Autoregressive Conditional Heteroscedasticity, for a user defined order. Information on the auxiliary regression is printed in addition to the F-form of the test statistic.

Dialogs for Discrete Choice and Count Models

Dialogs for model formulation and estimation:
Formulate - Binary Discrete Choice
Formulate - Multinomial Discrete Choice
Formulate - Count Data
Model Settings - Discrete Choice
Model Settings - Count Data
Estimate
Options
Progress
Dialogs for model evaluation:
Graphic Analysis
Norm Observation
Outliers
Predictions
Test
Further Output
Exclusion Restrictions
Linear Restrictions
Store in Database

Formulate - Binary Discrete Choice

Use this dialog for to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below.

Special
The listbox below the database variables shows the so-called special variables, which are pre-defined. Here it is:

Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model. You can also double click on a model variable to delete it.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.

Formulate - Multinomial Discrete Choice

Use this dialog for to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below.

Special
The listbox below the database variables shows the so-called special variables, which are pre-defined. Here it is:

Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model. You can also double click on a model variable to delete it.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.

Formulate - Count Data

Use this dialog for to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below.

Special
The listbox below the database variables shows the so-called special variables, which are pre-defined. Here it is:

Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model. You can also double click on a model variable to delete it.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.
Recall a previous model
Use this to recall a previously estimated model.

Model Settings

This dialog is for choosing a discrete choice model.

The Model Type

Model Settings - Count Data

This dialog is for choosing a count data model.

The Model Type

Truncated above at (0 is untruncated)
Optionally, a truncated Poisson or negative binomial model can be estimated.
Negative binomial type
A type I (k=1) or type II (k=0) negative binomial model can be estimated, or k set directly.

Estimate

Select an estimation method for the formulated model.

Estimation method

Because the multinomial logit and binary probit likelihoods are concave, Newton's method, which uses analytical second derivatives, is the preferred estimation method. Count data models are always estimated by BFGS.

Estimation sample
Cross-section modelling automatically drops all observations with missing values. This can be refined by specifying a select by variable in the model formulation stage.
Options
Allows setting the estimation options.
OK
Pressing OK starts the estimation, unless there still is something missing or wrong in the dialog.

Options

Controls maximization settings, and what is automatically printed after estimation (in addition to the normal estimation report). Model options referes to settings which are changed infrequently, and are persistent between runs of PcGive.

Maximization Settings

Maximum number of iterations:
Note that it is possible that the maximum number of iterations is reached before convergence. The maximum number of iterations also equals the maximum number of switches in cointegration.

Write results every:
By default no iteration progress is displayed in the results window. It is possible to write intermediate information to the Results window for a more permanent record. A zero (the default) will write nothing, a 1 every iteration, a 2 every other iteration, etc.

Write in compact form:
Writes one line per printed iteration (see Write results every).

Convergence tolerance:
Change the convergence tolerance levels (the smaller, the longer the estimation will take to converge). See under numerical optimization for an explanation of convergence decisions.

Default:
Resets the default maximization settings.

Graphic Analysis

The Graphic analysis command gives various options to graph actual and fitted values, forecasts and residuals, etc. The list box on the right lists the selected equations for which the graphs are drawn.

Histograms of probabilities for each state
Plots the histograms of probabilities for each state separately (S histograms).
Histograms of probabilities of observed state
Plots the histograms of probabilities of observed state, for each state separately (S histograms), and all states together.
Number of bars
Sets the number of bars for the above histograms.
Cumulative correct predictions for each state
Plots the cumulative correct predictions, for each state separately (S graphs), and all states together.
Cumulative response for each state (sorted by probability)
Plots the cumulative response for each state (S graphs), sorted by probability (with the highest probabilities first).

Predictions

Writes the predictions for the observations that were excluded from estimation or for observations which have a value 2 for the select by variable.

Further output

Allows for the printing of

Summary statistics for explanatory variables
Table of actual and predicted
Derivatives of probabilities at regressor means
Derivatives of probabilities at sample frequencies

Outliers

Writes the observations which have small estimated probabilities for the observed state.

Norm observation

Writes or graphs the probabilites observations for a `norm' observation with specified values for the explanatory variables.

Dialogs for Static and Dynamic Panel Models

Dialogs for model formulation and estimation:
(static and dynamic panel methods)
Model Settings (static panel methods)
Model Settings (dynamic panel methods)
Estimate Model (static panel methods)
Estimate Model (dynamic panel methods)
Options
Progress
Dialogs for model evaluation:
Graphic Analysis
Dynamic Analysis
Further Output
Exclusion Restrictions
Linear Restrictions
Store in Database
Test

Formulate(static and dynamic panel methods)

Use this dialog for to formulate a new model, or reformulate an existing model.

Database
Mark all the variables you wish to include in the new model or add to the existing model, using the spacebar or the mouse. After you have pressed << (or double-clicked if you are using a mouse), the database variables are added to the model with the default lag length.

The variable at the top of the list will by default become the endogenous (Y) variable. To select a different dependent variable, see below. A Constant and other dummy variables can be entered at the next stage.

A year variable must always be added to the model.

Model
This Multiple-Selection List box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and clear its status;
  2. mark the new variable, and press the Y:Endogenous button.
If you have marked variables in the model, you can delete them, or assign a status to them.
Lags
At the top you can choose how the lag length is set with which variables are added to the model:
Selection
This list box shows the current model.
The variable at the top of the list will by default become the endogenous (Y) variable.
To select a dependent variable which is listed further down:
  1. mark the current dependent variable and right-click to clear its status;
  2. mark the new variable, and right-click to change to Y: endogenous.
If you have marked variables in the model, you can delete them, or assign a status to them.
<<
Adds the currently selected database or special variables to the model.
>>
Deletes the currently selected variables from the model. You can also double click on a model variable to delete it.
Clear>>
Deletes the whole model, so that you can start from scratch.

Status
The status drop-down box lists all the available variable types for the current model class. Variables are added to the model using the selected status. To change the status of variables that have been selected into the model, highlight the variable(s), choose a new status and set using the Set button. The status can also be changed by right-clicking on highlighted variables, and using the context menu.