doglob | R Documentation |
Function obtains global minimizers using the recursive algorithm to compute and minimize SSR over all possible segments. The procedure is required to conduct supF, UDMax, WDMax and supF(l+1|l) test
doglob(y, z, x, m, eps, eps1, maxi, fixb, betaini, printd)
eps |
convergence criterion for iterative recursive computation |
eps1 |
trimming level |
maxi |
maximum number of iterations |
fixb |
option to use fixed initial input β. If |
betaini |
Initial beta_0 to use in estimation |
printd |
option to print results of iterations for partial change model |
y_name |
dependent variables in matrix form |
z_name |
matrix of independent variables with coefficients are allowed to change across regimes |
x_name |
matrix of independent variables with coefficients constant across regimes |
A list containing the following components:
glb Minimum global SSR
datevec Vector of dates (optimal minimizers)
bigvec Associated SSRs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.