Public Member Functions |
| BootstrapList (unsigned int N, unsigned int nprm, unsigned int nblocks, std::vector< double > Cuts) |
| set up the list
|
void | setBCa_t (unsigned int i, double Bias, double Acceleration) |
| set bias and acceleration to get BCa confidence intervals
|
void | setBCa_s (unsigned int i, double Bias, double Acceleration) |
| set bias and acceleration to get BCa confidence intervals
|
void | setData (unsigned int i, const std::vector< int > &newdata) |
| store a simulated data set
|
std::vector< int > | getData (unsigned int i) const |
| get a simulated data set at posititon i
|
double | getThres (double p, unsigned int cut) |
| get the p-th percentile associated with the threshold at cut
|
double | getThres_byPos (unsigned int i, unsigned int cut) |
| get the threshold for the i-th sample
|
void | setThres (double thres, unsigned int i, unsigned int cut) |
| set the value of a threshold associated with the threshold at cut
|
double | getSlope (double p, unsigned int cut) |
| get the p-th percentile associated with the slope at the given cut
|
double | getSlope_byPos (unsigned int i, unsigned int cut) |
| get the slope at cut for the i-th sample
|
void | setSlope (double sl, unsigned int i, unsigned int cut) |
| set the value of the slope associated with the threshold at cut
|
unsigned int | getNblocks (void) const |
| get the number of blocks in the underlying dataset
|
double | getCut (unsigned int i) const |
| get the value of cut i
|
double | getAcc_t (unsigned int i) const |
| get the acceleration constant for cut i
|
double | getBias_t (unsigned int i) const |
| get the bias for cut i
|
double | getAcc_s (unsigned int i) const |
| get the acceleration constant for cut i
|
double | getBias_s (unsigned int i) const |
| get the bias for cut i
|
void | setRpd (unsigned int i, double r_pd) |
| set correlation between predicted values and deviance residuals for a simulated dataset
|
double | getRpd (unsigned int i) const |
| get correlation between predicted values and deviance residuals for simulated dataset i
|
double | percRpd (double p) |
| get the p-th percentile of the correlations between predicted values and deviance residuals
|
void | setRkd (unsigned int i, double r_kd) |
| set correlation between block index and deviance residuals for a simulated dataset
|
double | getRkd (unsigned int i) const |
| get correlation between block index and deviance residuals for simulated dataset i
|
double | percRkd (double p) |
| get the p-th percentile of the correlations between block index and deviance residuals
|
Bootstrap samples support some special operations that regular monte carlo samples don't. In particular bootstrap samples from a psychometric function should incorporate information about