2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-01 08:32:15 +00:00
Files
math/doc/html/standalone_HTML.manifest
Evan Miller 18ed616376 Kolmogorov-Smirnov distribution (#422)
* Kolmogorov-Smirnov distribution #421

Add a new distribution, kolmogorov_smirnov_distribution, which takes a
parameter that represents the number of observations used in a
Kolmogorov-Smirnov test. (The K-S test is a popular test for comparing
two CDFs, but the test statistic is not implemented here.)

This implementation includes Kolmogorov's original 1st order Taylor
expansion. There is a literature on the distribution's other
mathematical properties (higher order terms and exact version); this
literature is summarized in the main header file for anyone who may
want to expand the implementation later.

The CDF is implemented using a Jacobi theta function, and the PDF is a
hand-rolled derivative of that function. Quantiles plug the CDF and PDF
into a Newton-Raphson iteration. The mean and variance have nice
closed-form expressions, and the mode uses a dumb run-time maximizer.

This commit includes graphs, a ULP plotter for the PDF, and the usual
compilation and numerical tests. The test file is on the small side, but
it integrates the distribution from zero to infinity, and covers the
quantiles pretty well. As of now the numerical tests only verify
self-consistency (e.g. distribution moments and CDF-quantile relations),
so there's room to add some external checks.

* Implement skewness for K-S distribution [CI SKIP]

The third moment integrates nicely with the help of Apery's constant
(zeta_three). Verify the result via quadrature.

* Implement kurtosis for the K-S distribution

Verify the result via quadrature.
2020-09-04 08:48:51 -04:00

468 lines
16 KiB
Plaintext

index.html
overview.html
math_toolkit/main_intro.html
math_toolkit/navigation.html
math_toolkit/conventions.html
math_toolkit/hints.html
math_toolkit/directories.html
math_toolkit/namespaces.html
math_toolkit/result_type.html
math_toolkit/error_handling.html
math_toolkit/compilers_overview.html
math_toolkit/config_macros.html
math_toolkit/intro_pol_overview.html
math_toolkit/threads.html
math_toolkit/perf_over1.html
math_toolkit/building.html
math_toolkit/history1.html
math_toolkit/overview_tr1.html
math_toolkit/main_faq.html
math_toolkit/contact.html
utils.html
math_toolkit/rounding.html
math_toolkit/rounding/round.html
math_toolkit/rounding/trunc.html
math_toolkit/rounding/modf.html
math_toolkit/fpclass.html
math_toolkit/sign_functions.html
math_toolkit/fp_facets.html
math_toolkit/fp_facets/facets_intro.html
math_toolkit/fp_facets/reference.html
math_toolkit/fp_facets/examples.html
math_toolkit/fp_facets/portability.html
math_toolkit/fp_facets/rationale.html
math_toolkit/next_float.html
math_toolkit/next_float/nextafter.html
math_toolkit/next_float/float_next.html
math_toolkit/next_float/float_prior.html
math_toolkit/next_float/float_distance.html
math_toolkit/next_float/float_advance.html
math_toolkit/next_float/ulp.html
math_toolkit/float_comparison.html
math_toolkit/cond.html
cstdfloat.html
math_toolkit/specified_typedefs.html
math_toolkit/rationale.html
math_toolkit/exact_typdefs.html
math_toolkit/minimum_typdefs.html
math_toolkit/fastest_typdefs.html
math_toolkit/greatest_typdefs.html
math_toolkit/macros.html
math_toolkit/examples.html
math_toolkit/float128_hints.html
math_toolkit/float128.html
math_toolkit/float128/overloading.html
math_toolkit/float128/exp_function.html
math_toolkit/float128/typeinfo.html
constants.html
math_toolkit/constants_intro.html
math_toolkit/tutorial.html
math_toolkit/tutorial/non_templ.html
math_toolkit/tutorial/templ.html
math_toolkit/tutorial/user_def.html
math_toolkit/constants.html
math_toolkit/new_const.html
math_toolkit/constants_faq.html
dist.html
math_toolkit/stat_tut.html
math_toolkit/stat_tut/overview.html
math_toolkit/stat_tut/overview/headers.html
math_toolkit/stat_tut/overview/objects.html
math_toolkit/stat_tut/overview/generic.html
math_toolkit/stat_tut/overview/complements.html
math_toolkit/stat_tut/overview/parameters.html
math_toolkit/stat_tut/overview/summary.html
math_toolkit/stat_tut/weg.html
math_toolkit/stat_tut/weg/dist_construct_eg.html
math_toolkit/stat_tut/weg/st_eg.html
math_toolkit/stat_tut/weg/st_eg/tut_mean_intervals.html
math_toolkit/stat_tut/weg/st_eg/tut_mean_test.html
math_toolkit/stat_tut/weg/st_eg/tut_mean_size.html
math_toolkit/stat_tut/weg/st_eg/two_sample_students_t.html
math_toolkit/stat_tut/weg/st_eg/paired_st.html
math_toolkit/stat_tut/weg/cs_eg.html
math_toolkit/stat_tut/weg/cs_eg/chi_sq_intervals.html
math_toolkit/stat_tut/weg/cs_eg/chi_sq_test.html
math_toolkit/stat_tut/weg/cs_eg/chi_sq_size.html
math_toolkit/stat_tut/weg/f_eg.html
math_toolkit/stat_tut/weg/binom_eg.html
math_toolkit/stat_tut/weg/binom_eg/binomial_coinflip_example.html
math_toolkit/stat_tut/weg/binom_eg/binomial_quiz_example.html
math_toolkit/stat_tut/weg/binom_eg/binom_conf.html
math_toolkit/stat_tut/weg/binom_eg/binom_size_eg.html
math_toolkit/stat_tut/weg/geometric_eg.html
math_toolkit/stat_tut/weg/neg_binom_eg.html
math_toolkit/stat_tut/weg/neg_binom_eg/neg_binom_conf.html
math_toolkit/stat_tut/weg/neg_binom_eg/neg_binom_size_eg.html
math_toolkit/stat_tut/weg/neg_binom_eg/negative_binomial_example1.html
math_toolkit/stat_tut/weg/neg_binom_eg/negative_binomial_example2.html
math_toolkit/stat_tut/weg/normal_example.html
math_toolkit/stat_tut/weg/normal_example/normal_misc.html
math_toolkit/stat_tut/weg/inverse_chi_squared_eg.html
math_toolkit/stat_tut/weg/nccs_eg.html
math_toolkit/stat_tut/weg/nccs_eg/nccs_power_eg.html
math_toolkit/stat_tut/weg/error_eg.html
math_toolkit/stat_tut/weg/find_eg.html
math_toolkit/stat_tut/weg/find_eg/find_location_eg.html
math_toolkit/stat_tut/weg/find_eg/find_scale_eg.html
math_toolkit/stat_tut/weg/find_eg/find_mean_and_sd_eg.html
math_toolkit/stat_tut/weg/nag_library.html
math_toolkit/stat_tut/weg/c_sharp.html
math_toolkit/stat_tut/variates.html
math_toolkit/stat_tut/dist_params.html
math_toolkit/dist_ref.html
math_toolkit/dist_ref/nmp.html
math_toolkit/dist_ref/dists.html
math_toolkit/dist_ref/dists/arcine_dist.html
math_toolkit/dist_ref/dists/bernoulli_dist.html
math_toolkit/dist_ref/dists/beta_dist.html
math_toolkit/dist_ref/dists/binomial_dist.html
math_toolkit/dist_ref/dists/cauchy_dist.html
math_toolkit/dist_ref/dists/chi_squared_dist.html
math_toolkit/dist_ref/dists/empirical_cdf.html
math_toolkit/dist_ref/dists/exp_dist.html
math_toolkit/dist_ref/dists/extreme_dist.html
math_toolkit/dist_ref/dists/f_dist.html
math_toolkit/dist_ref/dists/gamma_dist.html
math_toolkit/dist_ref/dists/geometric_dist.html
math_toolkit/dist_ref/dists/hyperexponential_dist.html
math_toolkit/dist_ref/dists/hypergeometric_dist.html
math_toolkit/dist_ref/dists/inverse_chi_squared_dist.html
math_toolkit/dist_ref/dists/inverse_gamma_dist.html
math_toolkit/dist_ref/dists/inverse_gaussian_dist.html
math_toolkit/dist_ref/dists/kolmogorov_smirnov_dist.html
math_toolkit/dist_ref/dists/laplace_dist.html
math_toolkit/dist_ref/dists/logistic_dist.html
math_toolkit/dist_ref/dists/lognormal_dist.html
math_toolkit/dist_ref/dists/negative_binomial_dist.html
math_toolkit/dist_ref/dists/nc_beta_dist.html
math_toolkit/dist_ref/dists/nc_chi_squared_dist.html
math_toolkit/dist_ref/dists/nc_f_dist.html
math_toolkit/dist_ref/dists/nc_t_dist.html
math_toolkit/dist_ref/dists/normal_dist.html
math_toolkit/dist_ref/dists/pareto.html
math_toolkit/dist_ref/dists/poisson_dist.html
math_toolkit/dist_ref/dists/rayleigh.html
math_toolkit/dist_ref/dists/skew_normal_dist.html
math_toolkit/dist_ref/dists/students_t_dist.html
math_toolkit/dist_ref/dists/triangular_dist.html
math_toolkit/dist_ref/dists/uniform_dist.html
math_toolkit/dist_ref/dists/weibull_dist.html
math_toolkit/dist_ref/dist_algorithms.html
math_toolkit/future.html
statistics.html
math_toolkit/univariate_statistics.html
math_toolkit/bivariate_statistics.html
math_toolkit/signal_statistics.html
math_toolkit/anderson_darling.html
math_toolkit/t_test.html
math_toolkit/runs_test.html
math_toolkit/ljung_box.html
math_toolkit/linear_regression.html
vector_functionals.html
math_toolkit/norms.html
special.html
math_toolkit/number_series.html
math_toolkit/number_series/bernoulli_numbers.html
math_toolkit/number_series/tangent_numbers.html
math_toolkit/number_series/primes.html
math_toolkit/sf_gamma.html
math_toolkit/sf_gamma/tgamma.html
math_toolkit/sf_gamma/lgamma.html
math_toolkit/sf_gamma/digamma.html
math_toolkit/sf_gamma/trigamma.html
math_toolkit/sf_gamma/polygamma.html
math_toolkit/sf_gamma/gamma_ratios.html
math_toolkit/sf_gamma/igamma.html
math_toolkit/sf_gamma/igamma_inv.html
math_toolkit/sf_gamma/gamma_derivatives.html
math_toolkit/factorials.html
math_toolkit/factorials/sf_factorial.html
math_toolkit/factorials/sf_double_factorial.html
math_toolkit/factorials/sf_rising_factorial.html
math_toolkit/factorials/sf_falling_factorial.html
math_toolkit/factorials/sf_binomial.html
math_toolkit/sf_beta.html
math_toolkit/sf_beta/beta_function.html
math_toolkit/sf_beta/ibeta_function.html
math_toolkit/sf_beta/ibeta_inv_function.html
math_toolkit/sf_beta/beta_derivative.html
math_toolkit/sf_erf.html
math_toolkit/sf_erf/error_function.html
math_toolkit/sf_erf/error_inv.html
math_toolkit/sf_poly.html
math_toolkit/sf_poly/legendre.html
math_toolkit/sf_poly/legendre_stieltjes.html
math_toolkit/sf_poly/laguerre.html
math_toolkit/sf_poly/hermite.html
math_toolkit/sf_poly/chebyshev.html
math_toolkit/sf_poly/sph_harm.html
math_toolkit/sf_poly/cardinal_b_splines.html
math_toolkit/sf_poly/gegenbauer.html
math_toolkit/sf_poly/jacobi.html
math_toolkit/bessel.html
math_toolkit/bessel/bessel_over.html
math_toolkit/bessel/bessel_first.html
math_toolkit/bessel/bessel_root.html
math_toolkit/bessel/mbessel.html
math_toolkit/bessel/sph_bessel.html
math_toolkit/bessel/bessel_derivatives.html
math_toolkit/hankel.html
math_toolkit/hankel/cyl_hankel.html
math_toolkit/hankel/sph_hankel.html
math_toolkit/airy.html
math_toolkit/airy/ai.html
math_toolkit/airy/bi.html
math_toolkit/airy/aip.html
math_toolkit/airy/bip.html
math_toolkit/airy/airy_root.html
math_toolkit/ellint.html
math_toolkit/ellint/ellint_intro.html
math_toolkit/ellint/ellint_carlson.html
math_toolkit/ellint/ellint_1.html
math_toolkit/ellint/ellint_2.html
math_toolkit/ellint/ellint_3.html
math_toolkit/ellint/ellint_d.html
math_toolkit/ellint/jacobi_zeta.html
math_toolkit/ellint/heuman_lambda.html
math_toolkit/jacobi.html
math_toolkit/jacobi/jac_over.html
math_toolkit/jacobi/jacobi_elliptic.html
math_toolkit/jacobi/jacobi_cd.html
math_toolkit/jacobi/jacobi_cn.html
math_toolkit/jacobi/jacobi_cs.html
math_toolkit/jacobi/jacobi_dc.html
math_toolkit/jacobi/jacobi_dn.html
math_toolkit/jacobi/jacobi_ds.html
math_toolkit/jacobi/jacobi_nc.html
math_toolkit/jacobi/jacobi_nd.html
math_toolkit/jacobi/jacobi_ns.html
math_toolkit/jacobi/jacobi_sc.html
math_toolkit/jacobi/jacobi_sd.html
math_toolkit/jacobi/jacobi_sn.html
math_toolkit/jacobi_theta.html
math_toolkit/jacobi_theta/jacobi_theta_overview.html
math_toolkit/jacobi_theta/jacobi_theta1.html
math_toolkit/jacobi_theta/jacobi_theta2.html
math_toolkit/jacobi_theta/jacobi_theta3.html
math_toolkit/jacobi_theta/jacobi_theta4.html
math_toolkit/lambert_w.html
math_toolkit/zetas.html
math_toolkit/zetas/zeta.html
math_toolkit/expint.html
math_toolkit/expint/expint_n.html
math_toolkit/expint/expint_i.html
math_toolkit/hypergeometric.html
math_toolkit/hypergeometric/hypergeometric_1f0.html
math_toolkit/hypergeometric/hypergeometric_0f1.html
math_toolkit/hypergeometric/hypergeometric_2f0.html
math_toolkit/hypergeometric/hypergeometric_1f1.html
math_toolkit/hypergeometric/hypergeometric_pfq.html
math_toolkit/hypergeometric/hypergeometric_refs.html
math_toolkit/powers.html
math_toolkit/powers/sin_pi.html
math_toolkit/powers/cos_pi.html
math_toolkit/powers/log1p.html
math_toolkit/powers/expm1.html
math_toolkit/powers/cbrt.html
math_toolkit/powers/sqrt1pm1.html
math_toolkit/powers/powm1.html
math_toolkit/powers/hypot.html
math_toolkit/powers/ct_pow.html
math_toolkit/sinc.html
math_toolkit/sinc/sinc_overview.html
math_toolkit/sinc/sinc_pi.html
math_toolkit/sinc/sinhc_pi.html
math_toolkit/inv_hyper.html
math_toolkit/inv_hyper/inv_hyper_over.html
math_toolkit/inv_hyper/acosh.html
math_toolkit/inv_hyper/asinh.html
math_toolkit/inv_hyper/atanh.html
math_toolkit/owens_t.html
math_toolkit/daubechies.html
extern_c.html
math_toolkit/main_tr1.html
math_toolkit/c99.html
math_toolkit/tr1_ref.html
root_finding.html
math_toolkit/roots_noderiv.html
math_toolkit/roots_noderiv/bisect.html
math_toolkit/roots_noderiv/bracket_solve.html
math_toolkit/roots_noderiv/TOMS748.html
math_toolkit/roots_noderiv/brent.html
math_toolkit/roots_noderiv/root_termination.html
math_toolkit/roots_noderiv/implementation.html
math_toolkit/roots_deriv.html
math_toolkit/root_finding_examples.html
math_toolkit/root_finding_examples/cbrt_eg.html
math_toolkit/root_finding_examples/lambda.html
math_toolkit/root_finding_examples/5th_root_eg.html
math_toolkit/root_finding_examples/multiprecision_root.html
math_toolkit/root_finding_examples/nth_root.html
math_toolkit/root_finding_examples/elliptic_eg.html
math_toolkit/bad_guess.html
math_toolkit/bad_roots.html
math_toolkit/brent_minima.html
math_toolkit/root_comparison.html
math_toolkit/root_comparison/cbrt_comparison.html
math_toolkit/root_comparison/root_n_comparison.html
math_toolkit/root_comparison/elliptic_comparison.html
poly.html
math_toolkit/polynomials.html
math_toolkit/rational.html
interpolation.html
math_toolkit/cardinal_cubic_b.html
math_toolkit/cardinal_quadratic_b.html
math_toolkit/cardinal_quintic_b.html
math_toolkit/whittaker_shannon.html
math_toolkit/barycentric.html
math_toolkit/vector_barycentric.html
math_toolkit/catmull_rom.html
math_toolkit/cardinal_trigonometric.html
math_toolkit/cubic_hermite.html
math_toolkit/makima.html
math_toolkit/pchip.html
math_toolkit/quintic_hermite.html
quadrature.html
math_toolkit/trapezoidal.html
math_toolkit/gauss.html
math_toolkit/gauss_kronrod.html
math_toolkit/double_exponential.html
math_toolkit/double_exponential/de_overview.html
math_toolkit/double_exponential/de_tanh_sinh.html
math_toolkit/double_exponential/de_tanh_sinh_2_arg.html
math_toolkit/double_exponential/de_sinh_sinh.html
math_toolkit/double_exponential/de_exp_sinh.html
math_toolkit/double_exponential/de_tol.html
math_toolkit/double_exponential/de_levels.html
math_toolkit/double_exponential/de_thread.html
math_toolkit/double_exponential/de_caveats.html
math_toolkit/double_exponential/de_refes.html
math_toolkit/fourier_integrals.html
math_toolkit/naive_monte_carlo.html
math_toolkit/wavelet_transforms.html
math_toolkit/diff.html
math_toolkit/autodiff.html
math_toolkit/diff0.html
filters.html
math_toolkit/daubechies_filters.html
inverse_complex.html
math_toolkit/complex_implementation.html
math_toolkit/asin.html
math_toolkit/acos.html
math_toolkit/atan.html
math_toolkit/asinh.html
math_toolkit/acosh.html
math_toolkit/atanh.html
math_toolkit/complex_history.html
quaternions.html
math_toolkit/quat_overview.html
math_toolkit/quat_header.html
math_toolkit/quat_synopsis.html
math_toolkit/quat.html
math_toolkit/spec.html
math_toolkit/mem_typedef.html
math_toolkit/quat_mem_fun.html
math_toolkit/quat_non_mem.html
math_toolkit/value_op.html
math_toolkit/create.html
math_toolkit/trans.html
math_toolkit/quat_tests.html
math_toolkit/exp.html
math_toolkit/acknowledgement.html
math_toolkit/quat_history.html
math_toolkit/quat_todo.html
octonions.html
math_toolkit/oct_overview.html
math_toolkit/oct_header.html
math_toolkit/oct_synopsis.html
math_toolkit/octonion.html
math_toolkit/oct_specialization.html
math_toolkit/oct_typedefs.html
math_toolkit/oct_mem_fun.html
math_toolkit/oct_non_mem.html
math_toolkit/oct_value_ops.html
math_toolkit/oct_create.html
math_toolkit/oct_trans.html
math_toolkit/oct_tests.html
math_toolkit/acknowledgements.html
math_toolkit/oct_history.html
math_toolkit/oct_todo.html
gcd_lcm.html
internals.html
math_toolkit/internals_overview.html
math_toolkit/internals.html
math_toolkit/internals/series_evaluation.html
math_toolkit/internals/cf.html
math_toolkit/internals/recurrence.html
math_toolkit/internals/tuples.html
math_toolkit/internals/minimax.html
math_toolkit/internals/error_test.html
math_toolkit/internals/test_data.html
using_udt.html
math_toolkit/high_precision.html
math_toolkit/high_precision/why_high_precision.html
math_toolkit/high_precision/use_multiprecision.html
math_toolkit/high_precision/float128.html
math_toolkit/high_precision/use_mpfr.html
math_toolkit/high_precision/e_float.html
math_toolkit/high_precision/use_ntl.html
math_toolkit/high_precision/using_test.html
math_toolkit/real_concepts.html
math_toolkit/dist_concept.html
math_toolkit/archetypes.html
policy.html
math_toolkit/pol_overview.html
math_toolkit/pol_tutorial.html
math_toolkit/pol_tutorial/what_is_a_policy.html
math_toolkit/pol_tutorial/policy_tut_defaults.html
math_toolkit/pol_tutorial/policy_usage.html
math_toolkit/pol_tutorial/changing_policy_defaults.html
math_toolkit/pol_tutorial/ad_hoc_dist_policies.html
math_toolkit/pol_tutorial/ad_hoc_sf_policies.html
math_toolkit/pol_tutorial/namespace_policies.html
math_toolkit/pol_tutorial/user_def_err_pol.html
math_toolkit/pol_tutorial/understand_dis_quant.html
math_toolkit/pol_ref.html
math_toolkit/pol_ref/error_handling_policies.html
math_toolkit/pol_ref/internal_promotion.html
math_toolkit/pol_ref/assert_undefined.html
math_toolkit/pol_ref/discrete_quant_ref.html
math_toolkit/pol_ref/precision_pol.html
math_toolkit/pol_ref/iteration_pol.html
math_toolkit/pol_ref/policy_defaults.html
math_toolkit/pol_ref/namespace_pol.html
math_toolkit/pol_ref/pol_ref_ref.html
perf.html
math_toolkit/perf_over2.html
math_toolkit/interp.html
math_toolkit/getting_best.html
math_toolkit/tradoffs.html
math_toolkit/multiprecision.html
math_toolkit/tuning.html
math_toolkit/comp_compilers.html
math_toolkit/comparisons.html
math_toolkit/perf_test_app.html
backgrounders.html
math_toolkit/sf_implementation.html
math_toolkit/special_tut.html
math_toolkit/special_tut/special_tut_impl.html
math_toolkit/special_tut/special_tut_test.html
math_toolkit/relative_error.html
math_toolkit/lanczos.html
math_toolkit/remez.html
math_toolkit/refs.html
math_toolkit/logs_and_tables.html
math_toolkit/logs_and_tables/all_table.html
math_toolkit/logs_and_tables/logs.html
status.html
math_toolkit/history2.html
math_toolkit/issues.html
math_toolkit/credits.html
indexes.html
indexes/s01.html
indexes/s02.html
indexes/s03.html
indexes/s04.html
indexes/s05.html