📊 Statistics
The statistics tab allows for deep statistical analysis of numerical fields, analyzing overall trends rather than changes over time. The selected fields are analyzed using a histogram and a variety of standard statistical measures.
Control Pane
To get started, drag a field to the "Measurements" section. Delete a field using the X button, or hide it temporarily by clicking the eye icon or double-clicking the field name. To remove all fields, click the trash can near the axis title and then Clear All. Fields can be rearranged in the list by clicking and dragging.
To analyze the difference between fields, switch a field to "Reference" mode and add other fields as children. Children can be switched between "Relative Error" and "Absolute Error" modes.
The color of each field can be customized by clicking the colored icon or right-clicking on the field name.
Configuration
The Time Range option selects what parts of the log are used for analysis:
- Visible Range: Analyzes the range of time visible on the timeline.
- Full Log: Analyzes the full range of the log file.
- Enabled: Analyzes time ranges where the robot is enabled.
- Auto: Analyzes time ranges where the robot is autonomous.
- Teleop: Analyzes time ranges where the robot is teleoperated.
- Live: 30 Seconds: Analyzes the most recent 30 seconds (when connected to a live source).
- Live: 10 Seconds: Analyzes the most recent 10 seconds (when connected to a live source).
The Data Range option selects the min and max values to display on the histogram. Data outside this range is not shown, but it continues to be used for the statistical measures.
The Step Size option selects the size of each histogram bin. Smaller values produce more detailed graphs, but also reveal more noise.
Viewer Pane
Histogram
The histogram shows the number of samples that fall in each bin, within the specific range. Note that data outside the specified range is discarded (rather than being grouped into a separate bin).
Statistical Measures
The table of statistical measures shows the calculated values of each measure for the provided fields. More information on each measure is provided below.
Summary
- Count: The number of discrete samples generated.
- Min: The smallest value in the data.
- Max: The largest value in the data.
Center
- Mean: The arithmetic mean (simple average) of the data.
- Median: The "middle" value of the data, or the 50% percentile.
- Mode: The most common value in the data.
- Geometric Mean: A measure of center calculated using the product of the values rather than the sum. Applicable when measuring exponential growth rates (like percent change between cycles).
- Harmonic Mean: A measure of center calculated using the sum of the reciprocals of the values. Applicable when measuring rates or velocities.
- Quadratic Mean: A measure of center calculated using the squares of the values. Applicable when measuring data with both positive and negative values, like periodic motion.
Spread
- Standard Deviation: The most common statistical measure of variation, where a lower value indicates less variation. For normally distributed data, approximately 68% of the data falls within one standard deviation of the mean.
- Median Absolute Deviation: The median of the absolute deviations from the data's median. This is a measure of statistical dispersion that is more resilient to outliers than the standard deviation.
- Interquartile Range: The difference between the third and first quartiles (75th percentile and 25th percentile), less affected by outliers than the standard deviation.
- Skewness: A measure of the asymmetric skew of the data. A negative value indicates a tail to the left, a positive value indicates a tail to the right, and a zero value suggests a symmetric distribution.
Percentiles
The percentiles measure values below which the given percentage of other values fall. For example, 10% of values fall below the 10th percentile. The following percentiles are also known as:
- 25th Percentile = 1st quartile (Q1)
- 50th Percentile = 2nd quartile (Q2) = median
- 75th Percentile = 3rd quartile (Q3)