FunctionsStatistical
Statistical
92 Statistical functions in the NYXDB native function registry, with signatures, briefs, and measured medians where available.
92 functions in the statistical family. Each name links to its page; … marks the variadic argument list (the engine declares no named parameters). A Measured value appears only where a benchmark corpus case joins by name (server-class hardware, median).
| Function | Type | Description | Measured |
|---|---|---|---|
anova(…) → Float64 | aggregate | One-way ANOVA statistics. | — |
corr(…) → Float64 | aggregate | Pearson correlation coefficient. | — |
corr(…) → Float64 | scalar | Pearson correlation for arrays. | — |
corr_matrix(…) → String | aggregate | Correlation matrix. | — |
corr_stable(…) → Float64 | aggregate | Pearson correlation with improved stability. | — |
covar_pop(…) → Float64 | aggregate | Population covariance. | — |
covar_pop(…) → Float64 | scalar | Population covariance for scalar batches. | — |
covar_pop_matrix(…) → String | aggregate | Population covariance matrix. | — |
covar_pop_stable(…) → Float64 | aggregate | Population covariance with improved stability. | — |
covar_samp(…) → Float64 | aggregate | Sample covariance. | — |
covar_samp(…) → Float64 | scalar | Sample covariance for scalar batches. | — |
covar_samp_matrix(…) → String | aggregate | Sample covariance matrix. | — |
covar_samp_stable(…) → Float64 | aggregate | Sample covariance with improved stability. | — |
median(…) → Float64 | aggregate | Median. | — |
median_b_float16(…) → Float64 | aggregate | Median (bfloat16). | — |
median_b_float16_weighted(…) → Float64 | aggregate | Median (bfloat16, weighted). | — |
median_bfloat16(…) → Float64 | aggregate | Median (bfloat16). | — |
median_bfloat16_weighted(…) → Float64 | aggregate | Median (bfloat16, weighted). | — |
median_dd(…) → Float64 | aggregate | Median (DD). | — |
median_deterministic(…) → Float64 | aggregate | Median (deterministic). | — |
median_exact(…) → Float64 | aggregate | Median (exact). | — |
median_exact_high(…) → Float64 | aggregate | Median (exact, high). | — |
median_exact_low(…) → Float64 | aggregate | Median (exact, low). | — |
median_exact_weighted(…) → Float64 | aggregate | Median (exact, weighted). | — |
median_exact_weighted_interpolated(…) → Float64 | aggregate | Median (exact, weighted, interpolated). | — |
median_gk(…) → Float64 | aggregate | Median (GK). | — |
median_interpolated_weighted(…) → Float64 | aggregate | Median (weighted, interpolated). | — |
median_t_digest(…) → Float64 | aggregate | Median (t-digest). | — |
median_t_digest_weighted(…) → Float64 | aggregate | Median (t-digest, weighted). | — |
median_tdigest(…) → Float64 | aggregate | Median (tdigest). | — |
median_tdigest_weighted(…) → Float64 | aggregate | Median (tdigest, weighted). | — |
median_timing(…) → Float64 | aggregate | Median (timing). | — |
median_timing_weighted(…) → Float64 | aggregate | Median (timing, weighted). | — |
percentile_cont(…) → Float64 | aggregate | Continuous percentile. | — |
percentile_cont(…) → Float64 | scalar | Continuous percentile over scalar batches. | — |
percentile_disc(…) → Float64 | aggregate | Discrete percentile. | — |
percentile_disc(…) → Float64 | scalar | Discrete percentile over scalar batches. | — |
quantile(…) → Float64 | aggregate | Quantile. | — |
quantile_b_float16(…) → Float64 | aggregate | Quantile (bfloat16). | — |
quantile_b_float16_weighted(…) → Float64 | scalar | Weighted quantile over scalar batches. | — |
quantile_dd(…) → Float64 | aggregate | Quantile (DD). | — |
quantile_deterministic(…) → Float64 | aggregate | Quantile (deterministic). | — |
quantile_exact(…) → Float64 | aggregate | Quantile (exact). | — |
quantile_exact_exclusive(…) → Float64 | aggregate | Quantile (exact, exclusive). | — |
quantile_exact_high(…) → Float64 | aggregate | Quantile (exact, high). | — |
quantile_exact_inclusive(…) → Float64 | aggregate | Quantile (exact, inclusive). | — |
quantile_exact_low(…) → Float64 | aggregate | Quantile (exact, low). | — |
quantile_exact_weighted(…) → Float64 | aggregate | Quantile (exact, weighted). | — |
quantile_exact_weighted_interpolated(…) → Float64 | aggregate | Quantile (exact, weighted, interpolated). | — |
quantile_gk(…) → Float64 | aggregate | Quantile (GK). | — |
quantile_interpolated_weighted(…) → Float64 | aggregate | Quantile (weighted, interpolated). | — |
quantile_prometheus_histogram(…) → Float64 | aggregate | Quantile from Prometheus histogram. | — |
quantile_t_digest(…) → Float64 | aggregate | Quantile (t-digest). | — |
quantile_t_digest_weighted(…) → Float64 | aggregate | Quantile (t-digest, weighted). | — |
quantile_timing(…) → Float64 | aggregate | Quantile (timing). | — |
quantile_timing_weighted(…) → Float64 | aggregate | Quantile (timing, weighted). | — |
quantiles(…) → Float64 | aggregate | Multiple quantiles. | — |
quantiles_b_float16(…) → Float64 | scalar | Batch quantile with bfloat16-style naming. | — |
quantiles_b_float16_weighted(…) → Float64 | scalar | Weighted batch quantile with bfloat16-style naming. | — |
quantiles_deterministic(…) → Float64 | scalar | Deterministic batch quantile. | — |
quantiles_exact(…) → Float64 | scalar | Exact batch quantile. | — |
quantiles_exact_exclusive(…) → Float64 | aggregate | Multiple quantiles (exact, exclusive). | — |
quantiles_exact_high(…) → Float64 | scalar | Exact high quantile over scalar batches. | — |
quantiles_exact_inclusive(…) → Float64 | aggregate | Multiple quantiles (exact, inclusive). | — |
quantiles_exact_low(…) → Float64 | scalar | Exact low quantile over scalar batches. | — |
quantiles_exact_weighted(…) → Float64 | scalar | Exact weighted quantile over scalar batches. | — |
quantiles_gk(…) → Float64 | aggregate | Multiple quantiles (GK). | — |
quantiles_t_digest(…) → Float64 | scalar | t-digest style batch quantile. | — |
quantiles_t_digest_weighted(…) → Float64 | scalar | Weighted t-digest style batch quantile. | — |
quantiles_timing(…) → Float64 | scalar | Timing-oriented batch quantile. | — |
quantiles_timing_weighted(…) → Float64 | aggregate | Multiple quantiles (timing, weighted). | — |
regr_avgx(…) → Float64 | scalar | Regression mean of X. | — |
regr_avgy(…) → Float64 | scalar | Regression mean of Y. | — |
regr_count(…) → Float64 | scalar | Regression paired-row count. | — |
regr_intercept(…) → Float64 | scalar | Regression intercept. | — |
regr_r2(…) → Float64 | scalar | Regression coefficient of determination. | — |
regr_slope(…) → Float64 | scalar | Regression slope. | — |
regr_sxx(…) → Float64 | scalar | Regression SXX. | — |
regr_sxy(…) → Float64 | scalar | Regression SXY. | — |
regr_syy(…) → Float64 | scalar | Regression SYY. | — |
stddev_pop(…) → Float64 | aggregate | Population standard deviation. | 441 ns · server-class |
stddev_pop(…) → Float64 | scalar | Population standard deviation for scalar batches. | 441 ns · server-class |
stddev_pop_stable(…) → Float64 | aggregate | Population standard deviation with improved stability. | — |
stddev_samp(…) → Float64 | aggregate | Sample standard deviation. | 441 ns · server-class |
stddev_samp(…) → Float64 | scalar | Sample standard deviation for scalar batches. | 441 ns · server-class |
stddev_samp_stable(…) → Float64 | aggregate | Sample standard deviation with improved stability. | — |
var_pop(…) → Float64 | aggregate | Population variance. | 428 ns · server-class |
var_pop(…) → Float64 | scalar | Population variance for scalar batches. | 428 ns · server-class |
var_pop_stable(…) → Float64 | aggregate | Population variance with improved stability. | — |
var_samp(…) → Float64 | aggregate | Sample variance. | 428 ns · server-class |
var_samp(…) → Float64 | scalar | Sample variance for scalar batches. | 428 ns · server-class |
var_samp_stable(…) → Float64 | aggregate | Sample variance with improved stability. | — |