๐ 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 three dots 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 additional 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 selectes 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. 68% of the data falls within one standard deviation of the mean.
- Mean Absolute Deviation: The average distance between each value and the mean. This is an alternative to 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 or mean absolute 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)