Djump
is a model selection function based on the slope heuristics.
Djump(data,scoef=2,Careajump=0,Ctresh=0)
The model
selected by the dimension jump method.
A list describing the algorithm.
The vector of jump heights.
The vector of the values of \(\kappa\) at each jump.
The vector of the selected models \(m(\kappa)\) by the jump.
The location of the greatest jump.
\(\kappa_{opt}=scoef\hat{\kappa}\).
A list computed for the plot
method.
data
is a matrix or a data.frame with four columns of the same length
and each line corresponds to a model:
The first column contains the model names.
The second column contains the penalty shape values.
The third column contains the model complexity values.
The fourth column contains the minimum contrast value for each model.
Ratio parameter. Default value is 2.
Constant of jump area. Default value is 0 (no area). In practice, it is advisable to take \(Careajump=\sqrt{\frac{log(n)}{n}}\) where \(n\) is the number of observations.
Maximal treshold for the complexity associated to the penalty coefficient. Default value is 0 (Maximal jump selected as the greatest jump). In practice, it is advisable to take \(Ctresh=\frac{n}{log(n)}\) where \(n\) is the number of observations.
Vincent Brault
The Djump algorithm proceeds in three steps:
For all \(\kappa>0\), compute\(m(\kappa)\in argmin_{m\in M} \{\gamma_n(\hat{s}_m)+\kappa\times pen_{shape}(m)\}\)This gives a decreasing step function \(\kappa \mapsto C_{m(\kappa)}\).
Find \(\hat{\kappa}\) such that \(C_{m(\hat{\kappa})}\) corresponds to the greatest jump of complexity if \(C_{tresh}=0\) else \(\hat{\kappa}\) such that \(\hat{\kappa}=inf\{\kappa>0: C_{m(\kappa)}\leq C_{tresh}\}.\)
Select \(\hat{m}=m(scoef\times\hat{\kappa})\) (output @model
).
Arlot has proposed a jump area containing the maximal jump defined by :
\([\kappa(1-Careajump);\kappa(1+Careajump)].\)
If \(Careajump>0\), Djump
return the area with the greatest jump. In practice,
it is advisable to take \(Careajump=\frac{log(n)}{n}\) where \(n\) is the number of observations.
http://www.math.univ-toulouse.fr/~maugis/CAPUSHE.html
http://www.math.u-psud.fr/~brault/capushe.html
Article: Baudry, J.-P., Maugis, C. and Michel, B. (2011) Slope heuristics: overview and implementation. Statistics and Computing, to appear. doi: 10.1007/ s11222-011-9236-1
capushe
for a model selection function including AIC
,
BIC
, the DDSE
algorithm and the Djump
algorithm. plot
for a graphical display of the DDSE
algorithm and the Djump
algorithm.
data(datacapushe)
Djump(datacapushe)
plot(Djump(datacapushe))
Djump(datacapushe,Careajump=sqrt(log(1000)/1000))
plot(Djump(datacapushe,Careajump=sqrt(log(1000)/1000)))
Djump(datacapushe,Ctresh=1000/log(1000))
plot(Djump(datacapushe,Ctresh=1000/log(1000)))
Run the code above in your browser using DataLab