我想使用boot()和boot.ci()函数从library("boot")非常大的数据集(~50 000)type="bca".
如果R(bootstraps的数量)太小,则会出现以下错误:
Error in bca.ci(boot.out, conf, index[1L], L = L, t = t.o, t0 = t0.o, :
estimated adjustment 'a' is NA
Run Code Online (Sandbox Code Playgroud)
我也不希望它太大.
R的好数字是多少?我知道这将取决于数据的大小.