Abstract:
[KSI_TT,PARAM,P]=PS2R_EST(DATA) returns smoothed inferences KSI_TT, estimated parameters PARAM and transition matrix P of a 2-regime parameter switching (PS) model, i.e. a 2-regime Markov regime-switching (MRS) model with both regimes driven by AR(1) processes of the form: X(t+1)=phi_i*X(t)+c_i+sigma_i*|X(t)|^g_i*N(0,1). The first column (KSI_TT) or row (PARAM, P) contains results for the base regime and the second column/row for the spike regime.