rstpet | R Documentation |
Random St. Petersburg Paradox lottery draws
rstpet(size, log2 = FALSE)
size |
the number of draws |
log2 |
Logical. If |
In this lottery, the gain is 1 with a probability 1/2, 2 with probability 1/4, 4 with probability 1/8, and so on.
a vector of length size
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.