Skip to content

Instantly share code, notes, and snippets.

@korenmiklos
Created November 8, 2022 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korenmiklos/6f03dbaf02372ae125083cd8017ab5bf to your computer and use it in GitHub Desktop.
Save korenmiklos/6f03dbaf02372ae125083cd8017ab5bf to your computer and use it in GitHub Desktop.

Suppose there are $n$ questions on the test. Each can be answered correctly for 1 point or incorrectly for 0 point. Student $i$ has probability $\pi_i$ of answering each question correctly. (This can be generalized for asymmetric test questions.)

The expected number of correct answers is $n\pi_i$.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment