πŸ“Š Statistics

Descriptive statistics, regression models, and hypothesis tests. All commands accept lists in {1,2,3} syntax.

βœ“ 35 Implemented ⏳ 26 Coming Soon
Descriptive Statistics β€” Implemented
Mittelwert( <Liste> )
Aliases: mean, Mean
βœ“ Done
Returns the arithmetic mean of all values in the list.
Example
Mittelwert({1, 2, 3, 4, 5})       β†’ 3
Mittelwert({10, 20, 30})           β†’ 20
Median( <Liste> )
Aliases: median
βœ“ Done
Returns the median. For even-length lists, returns the average of two middle values.
Example
Median({1, 3, 5, 7, 9})           β†’ 5
Median({1, 2, 3, 4})               β†’ 2.5
Modalwert( <Liste> )
Aliases: mode, Mode
βœ“ Done
Returns the most frequently occurring value in the list.
Example
Modalwert({1, 2, 2, 3, 3, 3})     β†’ 3
Standardabweichung( <Liste> )
Aliases: sd, stdev
βœ“ Done
Population standard deviation (divides by n).
Example
Standardabweichung({2, 4, 4, 4, 5, 5, 7, 9})  β†’ 2
StichprobenStandardabweichung( <Liste> )
Aliases: samplesd
βœ“ Done
Sample standard deviation (divides by nβˆ’1). Use this when working with a sample, not the full population.
Example
StichprobenStandardabweichung({1,2,3,4,5})   β†’ 1.5811
Varianz( <Liste> )
Aliases: variance
βœ“ Done
Population variance (σ²). Square of population standard deviation.
Example
Varianz({2, 4, 4, 4, 5, 5, 7, 9})   β†’ 4
Stichprobenvarianz( <Liste> )
Aliases: samplevariance
βœ“ Done
Sample variance (sΒ²), divides by nβˆ’1.
Example
Stichprobenvarianz({1, 2, 3, 4, 5})   β†’ 2.5
GeometrischerMittelwert( <Liste> )
Aliases: gmean, GeometricMean
βœ“ Done
Returns the geometric mean: n-th root of the product of all values.
Example
GeometrischerMittelwert({1, 2, 4, 8})   β†’ 2.828
HarmonischerMittelwert( <Liste> )
Aliases: hmean, HarmonicMean
βœ“ Done
Returns the harmonic mean: n / Ξ£(1/xα΅’). Useful for averaging rates.
Example
HarmonischerMittelwert({1, 2, 4})   β†’ 1.714
Effektivwert( <Liste> )
Aliases: rms, RMS
βœ“ Done
Root Mean Square: √(Σxᡒ²/n). Commonly used in physics and engineering.
Example
Effektivwert({3, 4, 5, 3, 2, 3, 4})   β†’ 3.559
Q1( <Liste> )  /  Q3( <Liste> )
Aliases: q1, Quartile1 / q3, Quartile3
βœ“ Done
First and third quartile using the Moore & McCabe method.
Example
Q1({1, 2, 3, 4, 5, 6, 7})   β†’ 2
Q3({1, 2, 3, 4, 5, 6, 7})   β†’ 6
Perzentil( <Liste>, <p> )
Aliases: percentile, Percentile
βœ“ Done
Returns the p-th percentile (0 ≀ p ≀ 100).
Example
Perzentil({1, 2, 3, 4}, 25)   β†’ 1.25
Perzentil({1, 2, 3, 4}, 75)   β†’ 3.25
Summe( <Liste> )  /  Produkt( <Liste> )
Aliases: sum, Sum / product, Product
βœ“ Done
Sum or product of all elements in the list.
Example
Summe({1, 2, 3, 4, 5})     β†’ 15
Produkt({1, 2, 3, 4, 5})   β†’ 120
Correlation & Covariance β€” Implemented
KorrelationsKoeffizient( <ListeX>, <ListeY> )
Aliases: r, PearsonR
βœ“ Done
Pearson correlation coefficient (βˆ’1 to 1). Measures linear association between two variables.
Example
KorrelationsKoeffizient({1,2,3},{2,4,5})   β†’ 0.9819
Kovarianz( <ListeX>, <ListeY> )
Aliases: covariance
βœ“ Done
Population covariance of two data series.
Example
Kovarianz({1,2,3}, {1,3,7})   β†’ 2
RQuadrat( <ListeX>, <ListeY> )
Aliases: r2, RSquared
βœ“ Done
Coefficient of determination RΒ². rΒ² = 1 means perfect linear fit.
Example
RQuadrat({1,2,3}, {2,4,5})   β†’ 0.9641
Spearman( <ListeX>, <ListeY> )
Aliases: spearman, SpearmanR
βœ“ Done
Spearman rank correlation β€” measures monotonic relationship, robust to outliers.
Example
Spearman({1,2,3,4,5}, {5,6,7,8,7})   β†’ 0.82
Sxx( <Liste> )  /  Sxy( <ListeX>, <ListeY> )  /  Syy( <Liste> )
Aliases: SigmaXX, SigmaXY, SigmaYY
βœ“ Done
Sum of squared deviations: Sxx = Ξ£(xiβˆ’xΜ„)Β², Sxy = Ξ£(xiβˆ’xΜ„)(yiβˆ’Θ³).
Example
Sxx({1, 2, 3, 4, 5})   β†’ 10
Regression β€” Implemented
Trend( <ListeX>, <ListeY> )
Aliases: Trendlinie, LinearRegression
βœ“ Done
Linear regression (least squares). Returns equation y = mx + b.
Example
Trend({1,2,3,4,5}, {2,4,5,4,5})
β†’ y = 0.7000x + 1.5000
TrendPoly( <ListeX>, <ListeY>, <Grad> )
Aliases: PolynomialRegression
βœ“ Done
Polynomial regression of specified degree.
Example
TrendPoly({1,2,3,4}, {1,4,9,16}, 2)   β†’ Degree-2 polynomial
TrendExp( <ListeX>, <ListeY> )
Aliases: TrendExp2, ExponentialRegression
βœ“ Done
Exponential regression: y = aΒ·e^(bx).
Example
TrendExp({1,2,3,4}, {2.7,7.4,20,55})
β†’ y = 1.0003Β·e^(1.0001x)
TrendLog( <ListeX>, <ListeY> )
Aliases: LogarithmicRegression
βœ“ Done
Logarithmic regression: y = a + bΒ·ln(x).
Example
TrendLog({1,2,3,4}, {1,1.7,2.1,2.4})
β†’ y = 0.010 + 1.197Β·ln(x)
TrendPot( <ListeX>, <ListeY> )
Aliases: PowerRegression
βœ“ Done
Power law regression: y = aΒ·x^b.
Example
TrendPot({1,2,3,4}, {1,4,9,16})
β†’ y = 1.000Β·x^2.000
TrendSin( <ListeX>, <ListeY> )
Aliases: SinusoidalRegression
βœ“ Done
Sinusoidal regression. Estimates amplitude and vertical offset.
Example
TrendSin({0,1,2,3,4}, {1,3,1,-1,1})
β†’ A=2.0000, k=1.0000
Hypothesis Tests β€” Implemented (basic)
GaussTest( <mu0>, <sigma>, <Liste> )
Aliases: ztest, ZTest
βœ“ Done
One-sample z-test. Tests whether the sample mean differs from mu0 with known sigma. Returns z-statistic and p-value.
Example
GaussTest(5, 2, {4, 5, 6, 5, 4})
β†’ z = -0.3536, p = 0.7236
TTest( <mu0>, <Liste> )
Aliases: ttest, OneSampleTTest
βœ“ Done
One-sample t-test. Tests whether sample mean differs from a hypothesized value mu0 (unknown sigma).
Example
TTest(5, {4, 5, 6, 5, 4})
β†’ t(4) = -0.4082, p = 0.7024
TTest2( <Liste1>, <Liste2> )
Aliases: WelchTTest, TwoSampleTTest
βœ“ Done
Welch's two-sample t-test. Compares means of two independent groups without assuming equal variances.
Example
TTest2({4,5,6,5}, {7,8,9,8})
β†’ t(6.0) = -5.6569, p = 0.0013
ChiQuadratTest( <Beobachtet>, <Erwartet> )
Aliases: chitest, ChiSquaredTest
βœ“ Done
Chi-squared goodness-of-fit test. Compares observed to expected frequencies. Returns chiΒ² statistic and p-value.
Example
ChiQuadratTest({25,30,20,25}, {25,25,25,25})
β†’ χ²(3) = 2.0000, p = 0.5724
Coming Soon β€” Hypothesis Tests & CIs
TTestGepaart( <Liste1>, <Liste2>, <Seite> )
⏳ Soon
Paired t-test. For related samples (before/after). Seite: "<", ">" or "!=".
Planned Syntax
TTestGepaart({10,12,14}, {11,13,16}, "!=")  β†’ {p-value, t-stat}
ANOVA( <Liste>, <Liste>, ... )
⏳ Soon
One-way ANOVA for comparing means across multiple independent groups. Returns {p-value, F-statistic}.
Planned Syntax
ANOVA({1,2,3}, {4,5,6}, {7,8,9})  β†’ {p-value, F}
GaussSchaetzer( <Liste>, <sigma>, <Niveau> )
⏳ Soon
Z-confidence interval for the mean with known sigma. Niveau = confidence level (e.g. 0.95).
Planned Syntax
GaussSchaetzer({1,2,3,4,5}, 1, 0.95)  β†’ {lower, upper}
TMittelwertSchaetzer( <Liste>, <Niveau> )
⏳ Soon
t-confidence interval for the mean with unknown sigma.
Planned Syntax
TMittelwertSchaetzer({1,2,3,4,5}, 0.95)  β†’ {lower, upper}
GaussAnteilTest / GaussAnteilSchaetzer
⏳ Soon
Proportion z-test and confidence interval. For testing whether a sample proportion differs from a hypothesized value.
Planned Syntax
GaussAnteilTest(0.45, 200, 0.5, "!=")  β†’ {p-value, z}
GaussAnteilSchaetzer(0.45, 200, 0.95)  β†’ {lower, upper}
SQA( <Punktliste>, <Funktion> )
⏳ Soon
Sum of squared deviations (SSE) from a given function. Used to evaluate goodness-of-fit.
GebundenerRang( <Liste> ) / OrdinalRang( <Liste> )
⏳ Soon
GebundenerRang: Tied ranks β€” equal values get average rank.
OrdinalRang: Unique ranks β€” equal values get consecutive ranks.
Planned Syntax
GebundenerRang({3, 2, 2, 1})  β†’ {4, 2.5, 2.5, 1}
OrdinalRang({3, 2, 2, 1})     β†’ {4, 2, 3, 1}
TrendLogistisch( <ListeX>, <ListeY> )
⏳ Soon
Logistic regression: y = a / (1 + bΒ·e^(βˆ’kx)). Useful for S-curve data like growth/adoption models.