Why is bootci not terminating?

10 Ansichten (letzte 30 Tage)
Gabriela
Gabriela am 27 Okt. 2012
I am trying to bootstrap my data to find confidence intervals. My code is as follows:
N=10; f = @(x) fitLifeTimesBoot(microtime, Gsm1,gammakin,bkgfrac,x); [ci,bootstat] = bootci(N,f,kinburst);
It just recalculates endlessly, instead of the 10 times specified by nboot (for testing). If I switch my code to the following it works fine:
N=10; f = @(x) fitLifeTimesBoot(microtime, Gsm1,gammakin,bkgfrac,x); [bootstat] = bootstrp(N,f,kinburst);
However, I want to get out the confidence intervals, not just the matrix of bootstrapped values. What am I doing wrong?

Akzeptierte Antwort

Tom Lane
Tom Lane am 27 Okt. 2012
The default bootci 'type' is bca. This requires doing a jackknife and it can take a long time if the number of data rows is large. Try one of the other types and see if that makes the problem go away.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by