/third_party/boost/boost/accumulators/statistics/ |
D | kurtosis.hpp | 79 struct kurtosis struct 93 extractor<tag::kurtosis> const kurtosis = {}; variable 95 BOOST_ACCUMULATORS_IGNORE_GLOBAL(kurtosis) 98 using extract::kurtosis; 103 struct as_weighted_feature<tag::kurtosis> 110 : feature_of<tag::kurtosis>
|
/third_party/boost/libs/accumulators/test/ |
D | kurtosis.cpp | 33 accumulator_set<double, stats<tag::kurtosis > > acc1; in test_stat() 34 accumulator_set<int, stats<tag::kurtosis > > acc2; in test_stat() 59 BOOST_CHECK_CLOSE( kurtosis(acc2), -1.39965397924, 1e-6 ); in test_stat() 73 accumulator_set<int, stats<tag::kurtosis > > acc; in test_persistency() 79 BOOST_CHECK_CLOSE( kurtosis(acc), kurtosis_value, epsilon); in test_persistency() 84 accumulator_set<double, stats<tag::kurtosis > > acc; in test_persistency() 87 BOOST_CHECK_CLOSE( kurtosis(acc), kurtosis_value, epsilon); in test_persistency()
|
/third_party/boost/libs/math/test/ |
D | test_students_t.cpp | 447 kurtosis(dist) in test_spots() 603 …BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(static_cast<RealType>(2.1))), st… in test_spots() 610 BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(nan)), std::domain_error); in test_spots() 611 BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(-1)), std::domain_error); in test_spots() 612 BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(0)), std::domain_error); in test_spots() 613 BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(1)), std::domain_error); in test_spots() 614 BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(2)), std::domain_error); in test_spots() 615 …BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(static_cast<RealType>(2.0001L)))… in test_spots() 616 BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(3)), std::domain_error); in test_spots() 617 …BOOST_MATH_CHECK_THROW(kurtosis(students_t_distribution<RealType>(4)), std::domain_error); // df =… in test_spots() [all …]
|
D | test_bernoulli.cpp | 128 kurtosis(bernoulli_distribution<RealType>(static_cast<RealType>(0.1L))), in test_spots() 285 BOOST_CHECK_EQUAL(kurtosis(bn2) -3, kurtosis_excess(bn2)); in BOOST_AUTO_TEST_CASE() 295 BOOST_CHECK_CLOSE_FRACTION(kurtosis(bernoulli(0.6)), 1./0.4 + 1./0.6 -3., tol5eps); in BOOST_AUTO_TEST_CASE() 296 BOOST_CHECK_EQUAL(kurtosis(bernoulli(0)), +std::numeric_limits<double>::infinity()); in BOOST_AUTO_TEST_CASE() 297 BOOST_CHECK_EQUAL(kurtosis(bernoulli(1)), +std::numeric_limits<double>::infinity()); in BOOST_AUTO_TEST_CASE()
|
D | test_nc_t.hpp | 144 kurtosis(dist), 3 + naive_kurtosis_excess(df, ncp), tol * 50 * tolerance_tgamma_extra); in test_spot() 701 …BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(std::numeric_limits<RealType>… in test_ignore_policy() 702 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(-1, 0)))); in test_ignore_policy() 703 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(0, 0)))); in test_ignore_policy() 704 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(1, 0)))); in test_ignore_policy() 705 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(2, 0)))); in test_ignore_policy() 706 …BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(static_cast<RealType>(2.0001L… in test_ignore_policy() 707 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(3, 0)))); in test_ignore_policy() 708 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_non_central_t(4, 0)))); in test_ignore_policy() 725 …BOOST_CHECK(boost::math::isfinite(kurtosis(ignore_error_non_central_t(4 + 4 * std::numeric_limits<… in test_ignore_policy() [all …]
|
D | univariate_statistics_test.cpp | 378 Real kurt = boost::math::statistics::kurtosis(v); in test_kurtosis() 383 kurt = boost::math::statistics::kurtosis(v); in test_kurtosis() 388 kurt = boost::math::statistics::kurtosis(v); in test_kurtosis() 392 kurt = boost::math::statistics::kurtosis(v1); in test_kurtosis() 396 kurt = boost::math::statistics::kurtosis(v2); in test_kurtosis() 405 kurt = boost::math::statistics::kurtosis(v3); in test_kurtosis() 417 Real m1 = boost::math::statistics::kurtosis(v); in test_kurtosis() 422 Real m2 = boost::math::statistics::kurtosis(v); in test_kurtosis() 444 double kurt = boost::math::statistics::kurtosis(v); in test_integer_kurtosis() 449 kurt = boost::math::statistics::kurtosis(v); in test_integer_kurtosis() [all …]
|
D | test_arcsine.cpp | 142 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(nan, 0)))); in test_ignore_policy() 143 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(-1, nan)))); in test_ignore_policy() 144 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(0, 0)))); in test_ignore_policy() 145 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(1, 0)))); in test_ignore_policy() 146 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(2, 0)))); in test_ignore_policy() 147 …BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(static_cast<RealType>(2.0001L), 0))… in test_ignore_policy() 148 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(3, 0)))); in test_ignore_policy() 149 BOOST_CHECK((boost::math::isnan)(kurtosis(ignore_error_arcsine(4, 0)))); in test_ignore_policy()
|
D | test_skew_normal.cpp | 310 kurtosis(dist) in test_spots() 368 kurtosis(dist) in test_spots() 415 kurtosis(dist) in test_spots() 434 kurtosis(dist) in test_spots() 453 kurtosis(dist) in test_spots()
|
/third_party/boost/libs/math/doc/distributions/ |
D | non_members.qbk | 295 [h4:kurtosis Kurtosis] 298 RealType kurtosis(const ``['Distribution-Type]``<RealType, ``__Policy``>& dist); 300 Returns the 'proper' kurtosis (normalized fourth moment) of the distribution /dist/. 302 kurtosis = [beta][sub 2]= [mu][sub 4] / [mu][sub 2][super 2] 307 The kurtosis is a measure of the "peakedness" of a distribution. 309 Note that the literature definition of kurtosis is confusing. 312 (that includes a table of formulae for kurtosis excess for various distributions) 314 [@http://en.wikipedia.org/wiki/Kurtosis kurtosis used by Wikipedia] 315 which treats "kurtosis" and "kurtosis excess" as the same quantity. 317 kurtosis_excess = 'proper' kurtosis - 3 [all …]
|
D | bernoulli.qbk | 103 [[kurtosis][6 * p * p - 6 * p +1/ p * q]] 104 [[kurtosis excess][kurtosis -3]]
|
D | extreme_value.qbk | 107 [[kurtosis][27 / 5]] 108 [[kurtosis excess][kurtosis - 3 or 12 / 5]]
|
D | rayleigh.qbk | 84 Some constants such as skewness and kurtosis were calculated using 103 [[kurtosis][Constant from [@http://mathworld.wolfram.com/RayleighDistribution.html Weisstein, Eric … 104 [[kurtosis excess][Constant from [@http://mathworld.wolfram.com/RayleighDistribution.html Weisstein…
|
/third_party/boost/libs/math/dot_net_example/boost_math/ |
D | boost_math.h | 46 virtual double kurtosis()const = 0; 98 virtual double kurtosis()const in kurtosis() function 100 return boost::math::kurtosis(m_dist); in kurtosis() 211 double kurtosis() in kurtosis() function 214 return pimpl->kurtosis(); in kurtosis()
|
/third_party/boost/libs/math/doc/statistics/ |
D | signal_statistics.qbk | 159 …M/[sub 4] SNR estimator, by default, assumes that the kurtosis of the signal is 1 and the kurtosis… 165 // Noise is assumed to follow Laplace distribution, which has kurtosis of 6: 170 …thod is /vastly/ better if you can come up with a better estimate of the signal and noise kurtosis. 172 Then we can estimate the signal kurtosis simply by using the noisy signal kurtosis. 173 …s the noisy signal kurtosis will tend to the noise kurtosis-though in this limit we have an excell… 174 …, if you have a model of what your signal should look like, you can precompute the signal kurtosis. 175 For example, sinusoids have a kurtosis of 1.5. 188 …lution of a system of quadratic equations involving the noise kurtosis, the signal kurtosis, and t… 195 Suppose the signal and noise kurtosis are equal.
|
D | univariate_statistics.qbk | 46 auto kurtosis(Container const & c); 49 auto kurtosis(ForwardIterator first, ForwardIterator last); 164 Computes the kurtosis of a dataset: 167 double kurtosis = boost::math::statistics::kurtosis(v); 168 // kurtosis = 17/10 173 Note that this is /not/ the excess kurtosis. 174 If you require the excess kurtosis, use `boost::math::statistics::excess_kurtosis`. 175 This function simply subtracts 3 from the kurtosis, but it makes eminently clear our definition of …
|
/third_party/boost/libs/accumulators/example/ |
D | main.cpp | 176 …s<tag::min, tag::mean(immediate), tag::sum, tag::moment<2>, tag::p_square_quantile, tag::kurtosis > in example4() 192 std::cout << " kurtosis = " << accumulators::kurtosis(acc) << std::endl; in example4() 206 …s<tag::min, tag::mean(immediate), tag::sum, tag::moment<2>, tag::p_square_quantile, tag::kurtosis > in example4() 232 std::cout << " kurtosis(acc) = " << accumulators::kurtosis(acc) << std::endl; in example4() 241 std::cout << " kurtosis(acc) = " << accumulators::kurtosis(restored_acc) << std::endl; in example4()
|
/third_party/abseil-cpp/absl/random/ |
D | uniform_int_distribution_test.cc | 160 const double kurtosis = 3 - 6 * (n * n + 1) / (5 * (n * n - 1)); in TYPED_TEST() local 167 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
|
D | distributions_test.cc | 290 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F() 309 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F() 338 EXPECT_LT(5.0, moments.kurtosis); in TEST_F() 354 EXPECT_LT(2.0, moments.kurtosis); in TEST_F() 371 EXPECT_LT(2.0, moments.kurtosis); in TEST_F() 432 EXPECT_NEAR(3.0, moments.kurtosis, 0.5); in TEST_F()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | uniform_int_distribution_test.cc | 160 const double kurtosis = 3 - 6 * (n * n + 1) / (5 * (n * n - 1)); in TYPED_TEST() local 167 EXPECT_NEAR(kurtosis, moments.kurtosis, 0.02 * kurtosis); in TYPED_TEST()
|
D | distributions_test.cc | 300 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F() 319 EXPECT_NEAR(9 / 5.0, moments.kurtosis, 0.02); in TEST_F() 348 EXPECT_LT(5.0, moments.kurtosis); in TEST_F() 364 EXPECT_LT(2.0, moments.kurtosis); in TEST_F() 381 EXPECT_LT(2.0, moments.kurtosis); in TEST_F() 442 EXPECT_NEAR(3.0, moments.kurtosis, 0.5); in TEST_F()
|
D | gaussian_distribution_test.cc | 164 double kurtosis() const { return 3.0; } in kurtosis() function in __anona913da760111::GaussianModel 240 (std::pow(m.skewness, 2.0) + std::pow(m.kurtosis - 3.0, 2.0) / 4.0); in SingleZTest() 252 stddev(), m.skewness, skew(), m.kurtosis, in SingleZTest() 253 kurtosis(), z, jb)); in SingleZTest()
|
/third_party/boost/libs/math/dot_net_example/distribution_explorer/ |
D | DistexForm.cs | 214 kurtosis.Text = dist.kurtosis().ToString(); in tabPage2_Enter() 218 kurtosis.Text = "Undefined."; in tabPage2_Enter() 478 kurtosis.Text = dist.kurtosis().ToString(); in saveFileDialog1_FileOk() 482 kurtosis.Text = "Undefined"; in saveFileDialog1_FileOk() 484 sw.WriteLine("Kurtosis" + separator + kurtosis.Text); in saveFileDialog1_FileOk()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | distribution_test_util.cc | 55 result.kurtosis += v * v * v * v; in ComputeDistributionMoments() 62 result.kurtosis /= static_cast<double>(result.n); in ComputeDistributionMoments() 63 result.kurtosis /= std::pow(result.variance, 2.0); in ComputeDistributionMoments() 77 moments.skewness, moments.kurtosis); in operator <<()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | distribution_test_util.cc | 55 result.kurtosis += v * v * v * v; in ComputeDistributionMoments() 62 result.kurtosis /= static_cast<double>(result.n); in ComputeDistributionMoments() 63 result.kurtosis /= std::pow(result.variance, 2.0); in ComputeDistributionMoments() 77 moments.skewness, moments.kurtosis); in operator <<()
|
/third_party/boost/boost/math/tools/ |
D | univariate_statistics.hpp | 270 auto kurtosis(ForwardIterator first, ForwardIterator last) in kurtosis() function 281 inline auto kurtosis(Container const & v) in kurtosis() function 283 return kurtosis(v.cbegin(), v.cend()); in kurtosis() 289 return kurtosis(first, last) - 3; in excess_kurtosis()
|