//! Re-exports of upstream traits so `crate::traits::Foo` continues to resolve
//! inside the stats sub-crate's source files. Plus the local
//! [`HypothesisTest`] trait that unifies hypothesis-test result types.
pub use DistributionExt;
pub use DistributionSampler;
pub use FloatExt;
pub use Fn1D;
pub use Fn2D;
pub use SimdFloatExt;
pub use Malliavin2DExt;
pub use MalliavinExt;
pub use ProcessExt;
/// Unifies `*Result` types produced by hypothesis-test estimators.
///
/// Implemented by stationarity tests (ADF, KPSS, ERS-DFGLS,
/// Phillips-Perron, Leybourne-McCabe) and normality tests (Jarque-Bera,
/// Anderson-Darling, Shapiro-Francia). Each test exposes its statistic;
/// the rejection decision is `Some(true|false)` when the test embeds a
/// rejection rule for a fixed `alpha` chosen at run time, or `None` when
/// the result is informational only (e.g. Phillips-Perron with the
/// `Z(alpha)` output that lacks tabulated critical values in this crate).
///
/// The trait does not specify the *p-value* signature because some tests
/// (ADF, KPSS, ERS, PP-tau) do not currently return a p-value and only
/// expose tabulated critical values. Use the underlying struct's named
/// fields when you need the p-value or critical-values directly.