Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nguyenvukhang/statc
A statistics calculator for open-book exams
https://github.com/nguyenvukhang/statc
rust statistics
Last synced: 11 days ago
JSON representation
A statistics calculator for open-book exams
- Host: GitHub
- URL: https://github.com/nguyenvukhang/statc
- Owner: nguyenvukhang
- License: mit
- Created: 2022-09-16T03:08:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T07:33:33.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T17:27:41.648Z (6 months ago)
- Topics: rust, statistics
- Language: Rust
- Homepage: https://crates.io/crates/statc
- Size: 128 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# statc
A statistics calculator for that one open-book university module.
[![crates.io][badge]][crates_link]
## Install
statc can be installed by running `cargo install statc`.
Alternatively, you can download a copy of the [latest][latest] pre-built binary.
## Usage
Run `statc` to bring up the help message.
```
Usage: statc [OPTIONS]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 `statc ` 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.
[latest]: https://github.com/nguyenvukhang/statc/releases/latest
[crates_link]: https://crates.io/crates/statc
[badge]: https://img.shields.io/crates/dr/statc?color=brightgreen