#statistics #eval #floating-point

app statc

statc is essentially a TI-84 extended, geared towards statistical calculations and making data easily readable and obtainable

8 releases

0.0.8 Nov 20, 2022
0.0.7 Nov 20, 2022

#204 in Math

28 downloads per month

MIT license

1.5K SLoC


A statistics calculator for that one open-book university module.



statc can be installed by running cargo install statc.

Alternatively, you can download a copy of the latest pre-built binary.


Run statc to bring up the help message.

Usage: statc [OPTIONS] <COMMAND>

  binom   X ~ B(n, p)     P(win x times in n tries)
  nbinom  X ~ NB(k, p)    P(win kth time on the xth try)
  geom    X ~ G(p)        P(win once on the xth try)
  pois    X ~ Poisson(l)  P(get x hits in interval)
  unif    X ~ U(a, b)     Uniform distribution
  exp     X ~ Exp(l)      Exponential distribution
  norm    X ~ N(m,)    Normal distribution
  t       X ~ t(n)        Student's t-distribution
  chisq   X ~ χ²(n)       Chi-squared distribution
  f       X ~ F(m, n)     Fisher-Snedecor distribution
  inorm   Reverse-engineer the Normal distribution
  it      Reverse-engineer the Student's t-distribution
  ichisq  Reverse-engineer the Chi-squared distribution
  vpool   Calculate pooled sample variance
  data    Summarize data from a file
  diff    Compare difference of two samples
  comp    Compare two data samples
  eval    Evaluate an expression
  help    Print this message or the help of the given subcommand(s)

  -q, --quiet
  -h, --help   Print help information

Run statc <subcommand> such as statc binom to show more help on the binom subcommand for operations with the Binomial Distribution.

Use the --help flag to see more info on any help page.


~143K SLoC