Struct sim::output_analysis::IndependentSample[][src]

pub struct IndependentSample<T> { /* fields omitted */ }

The independent sample is for independent, identically-distributed (IID) samples, or where treating the data as an IID sample is determined to be reasonable. Typically, this will be non-time series data - no autocorrelation. There are no additional requirements on the data beyond being IID. For example, there are no normality assumptions. The TerminatingSimulationOutput or SteadyStateOutput structs are available for non-IID output analysis.

Implementations

impl<T: Float> IndependentSample<T>[src]

pub fn post(points: Vec<T>) -> IndependentSample<T>[src]

This constructor method creates an IndependentSample from a vector of floating point values.

pub fn confidence_interval_mean(&self, alpha: T) -> ConfidenceInterval<T>[src]

Calculate the confidence interval of the mean, base on the provided value of alpha.

pub fn point_estimate_mean(&self) -> T[src]

Return the sample mean.

pub fn variance(&self) -> T[src]

Return the sample variance.

Trait Implementations

impl<T: Clone> Clone for IndependentSample<T>[src]

impl<T: Debug> Debug for IndependentSample<T>[src]

impl<T: Default> Default for IndependentSample<T>[src]

impl<'de, T> Deserialize<'de> for IndependentSample<T> where
    T: Deserialize<'de>, 
[src]

impl<T> Serialize for IndependentSample<T> where
    T: Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for IndependentSample<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for IndependentSample<T> where
    T: Send
[src]

impl<T> Sync for IndependentSample<T> where
    T: Sync
[src]

impl<T> Unpin for IndependentSample<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for IndependentSample<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,