Man pages for sstvars
Toolkit for Reduced Form and Structural Smooth Transition Vector Autoregressive Models

acidataA monthly U.S. data covering the period from 1961I to 2022III...
all_pos_intsCheck whether all arguments are positive integers
alt_stvarConstruct a STVAR model based on results from an arbitrary...
bounding_const_MCompute the bounding constant for acceptance-rejection...
bound_JSRCalculate upper bound for the joint spectral radius of the...
bound_jsr_GCalculate upper bound for the joint spectral radius of a set...
calc_gradientCalculate gradient or Hessian matrix
change_parametrizationChange parametrization of a parameter vector
change_regimeChange the parameters of a specific regime of the given...
check_Bt_CppCheck Matrix B Invertibility with C++ (Internal Function)
check_constraintsCheck the constraint matrix has the correct form
check_dataCheck the data is in the correct form
check_exoweightsChecks whether the given exogenous transition weights for...
check_paramsCheck whether the parameter vector is in the parameter space...
check_pMdCheck that p, M, and d are correctly set
check_stvarChecks whether the given object has class attribute 'stvar'
check_weightfun_parsCheck the argument 'weightfun_pars'
create_Fi_matrixCreate Matrix F_i
create_J_matrixCreate a special matrix J
diagnostic_plotResidual diagnostic plot for a STVAR model
diag_OmegasSimultaneously diagonalize two covariance matrices
estim_LSInternal estimation function for estimating autoregressive...
estim_NLSInternal estimation function for estimating autoregressive...
filter_estimatesFilter inappropriate the estimates produced by fitSTVAR
fitbsSSTVARInternal estimation function for estimating STVAR model when...
fitSSTVARMaximum likelihood estimation of a structural STVAR model...
fitSTVARTwo-phase or three-phase (penalized) maximum likelihood...
format_valuefFunction factory for value formatting
form_boldAForm the (dp\times dp) "bold A" matrices related to the VAR...
GAfitGenetic algorithm for preliminary estimation of reduced form...
Gaussian_densities_const_CppCalculate log multivariate Gaussian densities
Gaussian_densities_CppCalculate log multivariate Gaussian densities
gdpdefU.S. real GDP percent change and GDP implicit price deflator...
generate_skewed_tGenerate random samples from the skewed t-distribution
get_alpha_mtGet the transition weights alpha_mt
get_boldA_eigensCalculate absolute values of the eigenvalues of the "bold A"...
get_boldA_eigens_parCalculate absolute values of the eigenvalues of the "bold A"...
get_Bt_CppCalculate the impact matrix B_t for all t for models with a...
get_hetsked_sstvarSwitch from two-regime reduced form STVAR model to a...
get_ICCalculate AIC, HQIC, and BIC
get_minvalReturns the default smallest allowed log-likelihood for given...
get_mu_yt_CppCalculate the conditional means of the process
get_new_startGet the new starting time of series that is forwarded some...
get_omega_eigensCalculate the eigenvalues of the "Omega" error term...
get_omega_eigens_parCalculate the eigenvalues of the "Omega" error term...
get_regime_autocovsCalculate regimewise autocovariance matrices
get_regime_meansCalculate regime means mu_{m}
get_residualsCalculate residuals of a smooth transition VAR
get_SigmasCalculate the dp-dimensional covariance matrices Sigma_{m,p}...
get_symmetric_sqrtCalculate symmetric square root matrix of a positive definite...
GFEVDEstimate generalized forecast error variance decomposition...
GIRFEstimate generalized impulse response function for structural...
ind_skewed_t_densities_CppCalculate log independent multivariate skewed t densities
ind_Student_densities_CppCalculate log independent multivariate Student's t densities
in_paramspaceDetermine whether the parameter vector is in the parameter...
iterate_moreMaximum likelihood estimation of a reduced form or structural...
linear_IRFEstimate linear impulse response function based on a single...
loglikelihoodLog-likelihood function
LR_testPerform likelihood ratio test for a STVAR model
mat_powerCompute the j:th power of a square matrix A
n_paramsCalculate the number of (freely estimaed) parameters in the...
order_BReorder columns of a square matrix so that the first nonzero...
pick_allAPick all coefficient matrices
pick_AmPick coefficient matrices
pick_AmiPick coefficient matrix
pick_distparsPick distribution parameters
pick_lambdasPick the structural parameter eigenvalues 'lambdas'
pick_OmegasPick covariance matrices
pick_phi0Pick phi_{m} or mu_{m}, m=1,..,M vectors
pick_regimePick regime parameters
pick_WPick the structural parameter matrix W
pick_weightparsPick transition weight parameters
plot_struct_shocksPlot structural shock time series of a STVAR model
Portmanteau_testPerform adjusted Portmanteau test for a STVAR model
predict.stvarPredict method for class 'stvar' objects
print.hypotestPrint method for the class hypotest
print.stvarsumSummary print method from objects of class 'stvarsum'
profile_logliksPlot profile log-likelihood functions about the estimates
random_coefmatsCreate random VAR model (dxd) coefficient matrices A.
random_coefmats2Create random stationary VAR model (dxd) coefficient matrices...
random_covmatCreate random VAR model error term covariance matrix
random_distparsCreate random distribution parameter values
random_impactmatCreate random VAR model impact matrix
random_indCreate random mean parametrized parameter vector
random_weightparsCreate random transition weight parameter values
Rao_testPerform Rao's score test for a STVAR model
redecompose_OmegasIn the decomposition of the covariance matrices (Muirhead,...
reform_constrained_parsReform constrained parameter vector into the "standard" form
reform_dataReform data
regime_distanceCalculate "distance" between two (scaled) regimes...
reorder_B_columnsReorder columns of impact matrix B of a structural STVAR...
simulate_from_regimeSimulate observations from a regime of a STVAR model
simulate.stvarSimulate method for class 'stvar' objects
skewed_t_densThe density function of the univariate skewed t distribution
smart_covmatCreate random VAR model (dxd) error term covariance matrix...
smart_distparsCreate random distribution parameter values close to given...
smart_impactmatCreate a random VAR model (dxd) error impact matrix B fairly...
smart_indCreate random parameter vector that is fairly close to a...
smart_weightparsCreate random transition weight parameter values
sort_impactmatsSort and sign change the columns of the impact matrices of...
sort_regimesSort regimes in parameter vector according to transition...
sstvars-packagesstvars: toolkit for reduced form and structural smooth...
stab_conds_satisfiedCheck the stability condition for each of the regimes
standard_errorsCalculate standard errors for estimates of a smooth...
stand_t_densThe density function of the univariate t distribution with...
Student_densities_CppCalculate log multivariate Student's t densities
STVARCreate a class 'stvar' object defining a reduced form or...
stvar_to_sstvars110Update STVAR model estimated with a version of the package...
swap_B_signsSwap all signs in pointed columns of the impact matrix of a...
swap_parametrizationSwap the parametrization of a STVAR model
uncond_momentsCalculate the unconditional means, variances, the first p...
unvecReverse vectorization operator
unvechReverse operator of the parsimonious vectorization operator...
unWvecReverse vectorization operator that restores zeros
usacpuA monthly U.S. data covering the period from 1987:4 to...
usamoneA quarterly U.S. data covering the period from 1954Q3 to...
VAR_pcovmatCalculate the dp-dimensional covariance matrix of p...
vecVectorization operator
vechParsimonious vectorization operator for symmetric matrices
Wald_testPerform Wald test for a STVAR model
warn_eigensWarn about near-unit-roots in some regimes
WvecVectorization operator that removes zeros
sstvars documentation built on April 11, 2025, 5:47 p.m.