Documentation for Campbell Assignment
The basic program is VAR.PRG. This runs a vector autoregression, using method of moments to compute standard errors for the variance-covariance matrix of the innovations as well as the regression coefficients. Various significance tests for blocks of coefficients are computed. The program uses real stock returns and information variables.
NLVAR.PRG treats the variance decomposition and persistence statistics as nonlinear functions of the parameters (including the innovation variance-covariance matrix). It computes these functions and their standard errors. It is #INCLUDEd in VAR.PRG.
ACVAR.PRG can also be #INCLUDEd in VAR.PRG. It computes the univariate autocorrelations of stock returns implied by the estimated VAR system.
BVAR.PRG and NLBVAR.PRG work with larger VARs for excess returns rather than real returns.
VARRAT.PRG and ACVARRAT.PRG do the variance ratio calculations reported in Figure 1 of "A Variance Decomposition...".
VARR2 and ACVARR2 do the implied R-Squared calculations reported in Figures 2a, 2b, and 2c of "A Variance Decomposition...".
DATAMAKE.PRG creates data sets called PSIST88.ASC (ASCII format) and PSIST88.FMT (Gauss matrix format). These contain real returns and forecasting variables, monthly.
DATBMAKE.PRG creates data sets called BPSIST88.ASC (ASCII format) and BPSIST88.FMT (Gauss matrix format). These contain excess returns and forecasting variables, monthly.
DATQMAKE.PRG creates data sets called QPSIST88.ASC (ASCII format) and QPSIST88.FMT (Gauss matrix format). These contain real returns and forecasting variables, quarterly.
Return to FIN 533 Home Page