doseqtests {mbreaks} | R Documentation |
Sequential Sup F tests
Description
doseqtests()
computes the sequential sup F tests of l versus l+1 for l from
1 to m with each corresponding null hypothesis of maximum number of break is l
and alternative hypothesis is l+1. The l breaks under the null hypothesis
are taken from the global minimization estimation
Usage
doseqtests(
y_name,
z_name = NULL,
x_name = NULL,
data,
m = 5,
eps = 1e-05,
eps1 = 0.15,
maxi = 10,
fixb = 0,
betaini = 0,
printd = 0,
prewhit = 1,
robust = 1,
hetdat = 1,
hetvar = 1,
hetq = 1,
hetomega = 1,
const = 1
)
Arguments
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 |
name of data set used |
m |
maximum number of breaks |
eps |
convergence criterion for recursive calculations (For partial change model ONLY) |
eps1 |
value of trimming (in percentage) for the construction
and critical values. Minimal segment length
|
maxi |
number of maximum iterations for recursive calculations of finding
global minimizers. |
fixb |
option to use fixed initial input |
betaini |
Initial |
printd |
Print option for model estimation. |
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 |
hetq |
used in the construction of the confidence intervals for the break
dates. If |
hetomega |
used in the construction of the confidence intervals for the break
dates. If |
const |
indicates whether the regression model include an intercept changing across regimes. Default value is 1 |
Value
A list that contains following:
supfl: SupF(l+1|l) test statistics
cv: Critical values for SupF(l+1|l) test
Examples
doseqtests('inf',c('inflag','lbs','inffut'),data=nkpc,prewhit=0)