Skip to content
Demo of Randomized Response model (Infer.NET)
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RandomizedTest
.gitattributes
.gitignore
LICENSE
README.md
RandomizedTest.sln

README.md

RandomizedTest

Demo of Randomized Response model

Suppose you want to estimate the proportion of cheaters among students. Nobody will confess that he/she cheated. The randomized response model offers the plausible deniability for test takers.

The process goes as follows:

  • Student comes up with an answer (cheating or working it through himself; this is hidden)
  • Student tosses two fair coins
    • if coin #1 is heads, he faitfully reports whether cheating took place
    • else:
      • if coin #2 is heads: report cheating
      • else: report no cheating

The program generates synthetic dataset given number of examples and the true cheating proportion.

The program code is BSD licensed.

Updated to use open source Infer.NET.

You can’t perform that action at this time.