| FCVARoptions {FCVAR} | R Documentation |
Set Estimation Options
Description
FCVARoptions defines the estimation options used in the FCVAR
estimation procedure and the related programs.
Usage
FCVARoptions(...)
Arguments
... |
A list of arguments to set to values other than the default settings. See the argument names in the return value below. |
Value
An S3 object of class FCVAR_opt that stores the default estimation options,
which includes the following parameters:
unc_optim_controlA list of options in the form of the argument
controlin theoptimfunction for unconstrained optimization of the likelihood function over the fractional integration parameters. This is also used in the switching algorithm employed when linear constraints are imposed on the cointegrating relationsbetaor the adjustment coefficientsalpha, so it must at least contain the argumentsmaxitandreltol, since it uses those parameters.con_optim_controlA list of options in the form of the argument
controlin either theoptimor theconstrOptimfunction for constrained optimization of the likelihood function over the fractional integration parameters, using the 'L-BFGS-B' algorithm. It must at least contain the argumentsmaxitandpgtol.LineSearchIndicator for conducting a line search optimization within the switching algorithm when optimizing over constraints on the cointegrating relations
\betaor the adjustment coefficients\alpha. See Doornik (2018, Section 2.2) for details.LocalMaxIndicator to select the local maximum with the highest value of
bwhen there are multiple local optima. This is meant to alleviate the identification problem discussed in Johansen and Nielsen (2010, Section 2.3) and Carlini and de Magistris (2019). WhenLocalMax <- 0, the optimization returns the values ofdandbcorresponding to the global optimum.dbMaxUpper bound for the fractional integration parameters
d,b.dbMinLower bound for the fractional integration parameters
d,b.db0The starting values for optimization of the fractional integration parameters
d,b.constrainedIndicator to impose restriction
dbMax >= d >= b >= dbMin.restrictDBIndicator to impose restriction
d = b.NThe number of initial values: the observations to condition upon.
unrConstantIndicator to include an unrestricted constant.
rConstantIndicator to include a restricted constant.
levelParamIndicator to include level parameter.
C_dbCHECK whether still used.
c_dbCHECK whether still used.
UB_dbAn upper bound on the fractional integration parameters
dandb, after transforming the parameters to account for any restrictions imposed.LB_dbA lower bound on the fractional integration parameters
dandb, after transforming the parameters to account for any restrictions imposed.R_psiA matrix for defining restrictions on the fractional integration parameters
dandb, of the formR_{\psi}(d, b)' = r_{\psi}.r_psiA vector for defining restrictions on the fractional integration parameters
dandb, of the formR_{\psi}(d, b)' = r_{\psi}.R_AlphaA matrix for defining restrictions on the adjustment coefficients of the form
R_{\alpha}\alpha = r_{\alpha}.r_AlphaA vector for defining restrictions on the adjustment coefficients of the form
R_{\alpha}\alpha = r_{\alpha}.R_BetaA matrix for defining restrictions on the cointegrating relations of the form
R_{\beta}\beta = r_{\beta}.r_BetaA vector for defining restrictions on the cointegrating relations of the form
R_{\beta}\beta = r_{\beta}.print2screenIndicator to print output to screen.
printGammasIndicator to print estimates and standard errors on autoregressive coefficients
\Gamma_i, i = i, ..., k.printRootsIndicator to print roots of characteristic polynomial.
plotRootsIndicator to plot roots of characteristic polynomial.
CalcSEIndicator to calculate the standard errors. It is used when displaying results.
hess_deltaSize of increment for numerical calculation of derivatives of the likelihood function for numerical calculation of the Hessian matrix. The default is
10^(-4), which works well in practice to balance errors between precision and truncation.gridSearchIndicator to perform a grid search for the optimization over the fractional integration parameters, for more accurate estimation. This will make estimation take longer.
dbStep1DThe step size for the grid search over the fractional integration parameters for the 1-dimensional grid search (such as when restrictions are imposed between
dandb.).dbStep2DThe step size for the grid search over the fractional integration parameters for the 2-dimensional grid search.
plotLikeIndicator to plot the likelihood (only if
gridSearch <- 1).progressShow a waitbar for a progress indicator for the grid search.
updateTimeHow often progress is updated in the waitbar for the grid search (in seconds).
References
Doornik, J. A. (2018) "Accelerated Estimation of Switching Algorithms: The Cointegrated VAR Model and Other Applications." Scandinavian Journal of Statistics, Volume 45, Issue 2.
Johansen, Søren, and Morten Ørregaard Nielsen (2010) "Likelihood inference for a nonstationary fractional autoregressive model." Journal of Econometrics 158, 51–66.
Carlini, F., and P. S. de Magistris (2019) "On the identification of fractionally cointegrated VAR models with the F(d) condition." Journal of Business & Economic Statistics 37(1), 134–146.
See Also
FCVARoptionUpdates to set and test estimation options for validity and compatibility.
FCVARestn for use of these options in estimation.
Other FCVAR estimation functions:
FCVARestn(),
summary.FCVAR_model()
Examples
opt <- FCVARoptions()
opt <- FCVARoptions(
gridSearch = 0, # Disable grid search in optimization.
dbMin = c(0.01, 0.01), # Set lower bound for d,b.
dbMax = c(2.00, 2.00), # Set upper bound for d,b.
constrained = 0 # Impose restriction dbMax >= d >= b >= dbMin ? 1 <- yes, 0 <- no.
)