Function reference
-
calc_score_for_coin_game()
- Calculate the payout after each round of the coin toss game
-
calc_score_for_die()
- Calculate the payout after each round of the die game
-
coin_toss_seq()
- Get Sequence of Coin Tosses and corresponding payouts
-
create_side_by_side_plot()
- Create a side-by-side plot of time series and histogram
-
die_game_seq()
- Generate all possible die sequences
-
draw_lln_with_func_facet()
- Visualize the behavior of the Law of Large Numbers with a given function compared to a normal distribution.
-
generate_coin_sequences()
- Generate all possible coin toss sequences
-
generate_die_sequences()
- Generate all possible die sequences
-
get_coin_game_results()
- Perform the coin toss game, given a heads/tails sequence
-
get_kelly_bet()
- Get the optimal fraction of your bankroll to bet based on the Kelly Criterion
-
p_normal_given_event()
- Get the probability that an event was generated by a normal distribution given the alternative is a t-distribution with given degrees of freedom.