Learn R Programming

desk (version 1.1.2)

qlr.cv: Calculates the critical value in a Quandt Likelihood Ratio-Test for Structural Breaks in a Parameter with Unknown Break Date

Description

Calculates critical values for Quandt Likelihood Ratio-test (QLR) for structural breaks with unknown break date.

Usage

qlr.cv(tAll, from = round(0.15*tAll), to = round(0.85*tAll),
L = 2, sig.level = list(0.05, 0.01, 0.1))

Value

A list object including:

lambdathe lambda correction value for the critical value.
rangerange of values.
cv.chi2critical value of chi^2-test statistics.
cv.fcritical value of F-test statistics.

Arguments

tAll

sample size.

from

start period of range to be analyzed for a break.

to

end period of range to be analyzed for a break.

L

number of parameters.

sig.level

significance level. Allowed values are 0.01, 0.05 or 0.10.

References

Quandt, R.E. (1960): Tests of the Hypothesis That a Linear Regression Obeys Two Separate Regimes. Journal of the American Statistical Association 55, 324–30.

Hansen, B. (1996): “Inference When a Nuisance Parameter is Not Identified under the Null Hypothesis,” Econometrica, 64, 413–430.

Examples

Run this code
qlr.cv(20, L = 2, sig.level = 0.01)

Run the code above in your browser using DataLab