00001
00002
00003
00004
00005 #ifndef BOOTSTRAP_H
00006 #define BOOTSTRAP_H
00007
00008 #include <vector>
00009 #include <cmath>
00010 #include "psychometric.h"
00011 #include "mclist.h"
00012 #include "optimizer.h"
00013
00019 BootstrapList bootstrap (
00020 unsigned int B,
00021 const PsiData * data,
00022 const PsiPsychometric* model,
00023 std::vector<double> cuts,
00024 std::vector<double>* param=NULL,
00025 bool BCa=true,
00026 bool parametric=true
00027 );
00028
00036 JackKnifeList jackknifedata ( const PsiData * data, const PsiPsychometric* model );
00037
00038
00039 void newsample ( const PsiData * data, const std::vector<double>& p, std::vector<int> * sample );
00040
00041 #endif