Skip to content
Prev 22691 / 398502 Next

cov.rob: May I answer myself?

I asked:

Dear list,

here is something I do not understand about cov.rob.
# All fine; default for quantile.used is floor(211/2)
# quantile.used is floor(31/2). Also fine, but...
This seems to never come to an end and cannot even be stopped by C-c C-c 
(ESS).
I thought that a larger quantile should get more stable results for such
small datasets, and I do not understand where the computational problem
comes from.

Answer:

I realize that quantile>n=20. It seems that this is the
problem. quantile=19 works, quantile=20 gives an error, quantile=21 causes
this strange behaviour. Perhaps there should be a protection?

Best,
Christian