res.surface | R Documentation |
This function returns critical values obtained from a response surface analysis.
Note that this procedure only applies when the trimming is symmetric, i.e., q.R=1-q.L
.
res.surface(p, l, q.L, q.R, d.Sym)
p |
The number of parameters in the model. |
l |
The number of breaks under the null |
q.L |
The lower bound of the quantile range. |
q.R |
The upper bound of the quantile range (not used in the function because |
d.Sym |
A logical value. Must be TRUE, as this method applies only to symmetric trimming ( |
A numeric vector of length 3 containing critical values at the 10%, 5%, and 1% significance levels.
# The number of regerssors
p = 5
## The number of breaks under the null
l = 2
# qunatile range (left and right limits)
q.L = 0.2
q.R = 0.8
# symmetric quantile trimming is true
d.Sym = TRUE
## critical values from response surface
cvs = res.surface(p, l, q.L, q.R, d.Sym)
print(cvs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.