Skip to content

usptact/RandomizedTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Demo of Randomized Response model (Infer.NET)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages