Skip to contents

Make a Measurement that implements randomized response on a boolean value.

Usage

make_randomized_response_bool(prob, constant_time = FALSE, .QO = NULL)

Arguments

prob

Probability of returning the correct answer. Must be in [0.5, 1)

constant_time

Set to true to enable constant time. Slower.

.QO

Data type of probability and output distance.

Value

Measurement

Details

make_randomized_response_bool in Rust documentation.

Supporting Elements:

  • Input Domain: AtomDomain<bool>

  • Output Type: bool

  • Input Metric: DiscreteDistance

  • Output Measure: MaxDivergence<QO>

Proof Definition:

(Proof Document)