mdl | R Documentation |
Function executes all the main procedures to estimate either i) pure structural breaks model or ii) partial structural breaks model
mdl( y_name, z_name = NULL, x_name = NULL, data, eps1 = 0.15, m = -1, prewhit = 1, robust = 1, hetdat = 1, hetvar = 1, hetomega = 1, hetq = 1, maxi = 10, eps = 1e-05, fixn = -1, printd = 0 )
y_name |
name of dependent variable in the data set |
z_name |
name of independent variables in the data set which coefficients are allowed to change
across regimes. |
x_name |
name of independent variables in the data set which coefficients are constant across
regimes. |
data |
the data set for estimation |
eps1 |
value of trimming (in percentage) for the construction
and critical values. Minimal segment length will be set
at
The |
m |
Maximum number of structural changes allowed. If not specify,
m will be set to |
prewhit |
set to |
robust |
set to |
hetdat |
option for the construction of the F tests. Set to 1 if want to
allow different moment matrices of the regressors across segments.
If |
hetvar |
option for the construction of the F tests.Set to |
hetomega |
used in the construction of the confidence intervals for the break
dates. If |
hetq |
used in the construction of the confidence intervals for the break
dates. If |
maxi |
number of maximum iterations for recursive calculations of finding
global minimizers. |
eps |
convergence criterion for recursive calculations |
fixn |
number of pre-specified breaks. |
printd |
Print option for model estimation. |
The 7 main procedures include:
dotest
: Procedure to conduct SupF test of 0 versus m breaks and
Double Max test.
dospflp1
: Procedure to conduct sequential SupF(l+1|l) (l versus l+1 breaks)
doorder
: Procedure to find number of break by criteria selection
(including BIC and LWZ criterion)
dosequa
: Procedure to find number of break and break dates via sequential method
dorepart
: Procedure to find number of break and break dates via repartition method
fix
: Procedure to find number of break by pre-specified number of breaks, which are set at default
to be 2
All default
values of error assumptions (robust
,
hetdat
, hetvar
, hetq
) will be set to 1. The implications on
the structure of model's errors related to individual settings are explained within
the arguments section for each option. Users can separately invoke only one at a
time one of the main7 procedures mentioned above
A list that contains the following:
Wtest: Sup F tests of 0 versus m breaks and Double Max tests
spflp1: Sequential Sup F test of l versus l+1 breaks
BIC: Estimated number of breaks by BIC and the corresponding model
LWZ: Estimated number of breaks by LWZ and the corresponding model
sequa: Estimated number of breaks by sequential procedure the corresponding model
repart: Estimated number of breaks by repartition procedure the corresponding model
fix: Estimated model with pre-specified number of breaks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.