| compile_model {mbreaks} | R Documentation |
Format output of n break model
Description
compile_model() compiles the information of model class object x into 3
main tables:
-
date_tabTable for estimated break date in the model with 90% and 95% confidence intervals based onrobust,hetomega,hetqoptions for errors andprewhitoption -
RS_tabTable for estimated coefficients forzregressors with corrected standard errors based onrobust,hetdat,hetvaroptions for errors andprewhitoption -
FS_tabTable for estimated coefficients forxregressors with corrected standard errors based onrobust,hetdat,hetvaroptions for errors andprewhitoption
Usage
compile_model(x, digits = 3)
Arguments
x |
the |
digits |
number of digits displayed in console. Default value is 3 |
Value
x The input list of model class contains the following tables:
date_tabA data frame storing the break date estimated by the model, and their corresponding confidence intervalsRS_tabA data frame storing the estimated coefficients which allowed to change across regimes with corrected standard errorsFS_tabA data frame storing the estimated coefficients which is constant across regimes with corrected standard errors
Note
If
xreturns 0 number of estimated break, the function will returnNULLvalue instead of the list inValue.If
xis a pure structural break, theFS_tabwill returnNULLinValue