oscirs_stats
A statistical analysis crate for Rust
Description
This crate allows for some basic statistical analysis such as finding the mean, standard deviation or five number summary of a data vector.
Use
To get some quick data summaries, start by importing the following quick-start module and declaring a data vector.
use *;
let input_vec: = vec!;
To get the mean and standard deviation of the data, call the normal() method.
println!;
To get the sample mean, sample standard deviation, and sample size, call the sample() method.
println!;
To get the five-number summary of the data, call the five_number() method.
println!;
Each of these methods returns a struct that wraps all the data into a clean type, with public fields that can be read at any time.