Skip to contents

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

Usage

make_randomized_response(categories, prob, .T = NULL, .QO = NULL)

Arguments

categories

Set of valid outcomes

prob

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

.T

Data type of a category.

.QO

Data type of probability and output distance.

Value

Measurement

Details

make_randomized_response in Rust documentation.

Supporting Elements:

  • Input Domain: AtomDomain<T>

  • Output Type: T

  • Input Metric: DiscreteDistance

  • Output Measure: MaxDivergence<QO>

Proof Definition:

(Proof Document)