### 8 releases

0.0.8 | Nov 20, 2022 |
---|---|

0.0.7 | Nov 20, 2022 |

#**204** in Math

**28** downloads per month

**MIT**license

48KB

1.5K
SLoC

# statc

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

## Install

statc can be installed by running

.`cargo`` install statc`

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

## Usage

Run

to bring up the help message.`statc`

`Usage``:` statc `[``OPTIONS``]` `<``COMMAND``>`
Commands`:`
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`,` s²`)` 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`)`
Options`:`
`-`q`,` `-``-`quiet
`-`h`,` `-``-`help Print help information

Run

such as `statc <subcommand>`

`statc binom`

to show more help on
the `binom`

subcommand for operations with the Binomial Distribution.Use the

flag to see more info on any help page.`-- help`

#### Dependencies

~7MB

~143K SLoC