Thanks, this might work, but actually what I was looking to do was flip multiple coints with different weights, are there modifications of this that would work? I suppose that would need a new distribution every time so it might not be optimal.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Turing.jl coin flipping example with large number of data points | 4 | 1209 | April 26, 2022 | |
Probability Outcomes Plot with JULIA for Fair Coin Tossing | 28 | 907 | April 30, 2023 | |
Choosing a binary value with a certain probability (Biased random generator) | 4 | 1251 | February 4, 2020 | |
Equivalent Julia package to R package `prob` | 9 | 1792 | March 23, 2017 | |
Efficient binary vector | 33 | 3623 | July 1, 2018 |