Main
Overview
Getting Started
Components
Videos
Sample Files

simulation components, logic, intelligence, patterns
AIB2 Components - Running Stats
Category: Math
  Description:
The Running Stats component provides a set of convenient statistical processes given its single input. Users can choose which of these outputs are of value in the current configuration. Specific output values are described below. The component can be reset by providing a non-zero value to the input receptacle labeled Reset.
 

  Inputs: 3
Input Name:
Description:
On Off
Boolean input of zero or non-zero value that either enables or disables computation on incoming value. If this is zero, or the input value is not connected. No computation will be made.
Value
Incoming value of double type. Each cycle of execution will recompute and update all statistical output values, considering this new value and increasing the sample size (N) by one.
Reset
Boolean input that causes all prior computation and sample size (N) to be reset to zero.

 

  Outputs: 7
Output Name:
Description:
Min
The lowest incoming value received since the last reset of (N) the sample size.
Max
The highest incoming value received since the last reset of (N) the sample size.
Mean
The output value resulting from computing the average of all incoming values (samples) since the last reset of (N) the sample size.
Count (N)
The number of samples of the incoming value used in computation of the output parameters. At any one point in time, it reflects how many consecutive prior samples have been used in computation.
Variance
It is the average squared distance between the mean and each incoming value received since the last reset. Calculation is made using (N) samples.
Std Deviation
The standard deviation is a measure of dispersion. It results from taking the square root of the variance. Calculation is made using (N) samples.
Change
The value resulting from computing the difference between the current sample at (N) and the last sample at (N-1).

 

  Components in Same Category: Delay
Compare to Input (=)
Compare to Input (>)
Compare to Input (<)
Compare to Constant (=)
Compare to Constant (>)
Compare to Constant (<)
Add Input Values
Subtract Input Values
Multiply Input Values
Divide Input Values
Delta
Absolute Value
Raise to Power
Square Root
Running Total
Moving Average
Vector 2D Magnitude
Vector 3D Magnitude
Vector 2D Normalize
Vector 3D Normalize
Vector 2D [+ - * ^]
Vector 3D [+ - * ^]
Sine
Cosine
Tangent
Get Min
Get Max
Reverse Sign
In Range


  Sample Files with this Component:
 



Copyright © TinMan Systems, Inc. 2010-2015. All Rights Reserved.
Questions or comments: support@tinmansystems.com