Lines Matching full:estimator
6929 template <typename URng, typename Iterator, typename Estimator>
6930 … sample resample(URng& rng, int resamples, Iterator first, Iterator last, Estimator& estimator) { in resample() argument
6936 … std::generate_n(std::back_inserter(out), resamples, [n, first, &estimator, &dist, &rng] { in resample()
6940 return estimator(resampled.begin(), resampled.end()); in resample()
6946 template <typename Estimator, typename Iterator>
6947 sample jackknife(Estimator&& estimator, Iterator first, Iterator last) { in jackknife() argument
6955 results.push_back(estimator(second, last)); in jackknife()
6969 template <typename Iterator, typename Estimator>
6970 …e confidence_level, Iterator first, Iterator last, sample const& resample, Estimator&& estimator) { in bootstrap() argument
6973 double point = estimator(first, last); in bootstrap()
6977 sample jack = jackknife(estimator, first, last); in bootstrap()