easyiec.validation.position_bias#
- easyiec.validation.position_bias(log, kinds=('select', 'best_worst', 'line'))[source]#
Choice rate by display position in a session log, with a χ² test of uniformity.
For every answered query of the given kinds the display position of each chosen candidate is counted; under no position bias the expected rate of a position is proportional to how often it was shown.