blandaltman_stats#
- mobgap.plotting.blandaltman_stats( ) tuple[Series, Series][source]#
Calculate the Bland-Altman statistics.
- Parameters:
- reference
The reference measurements
- detected
The detected measurements
- x_val
Which value to use for the x-axis. Can be one of
mean,reference,detected.meanis the mean of the reference and detected values. This is typically used for a Bland-Altman plot.referenceis the reference values. This is typically used for a residual plot.
- Returns:
- x
The x-values for the plot (depends on
x_val, is always a copy)- y
The y-values for the plot (detected - reference)