November 2016
Beginner to intermediate
282 pages
6h 58m
English
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "To compute the HPD in the correct way we will use the function plot_post."
A block of code is set as follows:
n_params = [1, 2, 4] p_params = [0.25, 0.5, 0.75] x = np.arange(0, max(n_params)+1) f, ax = plt.subplots(len(n_params), len(p_params), sharex=True, sharey=True) for i in range(3): for j in range(3): n = n_params[i] p = p_params[j] y = stats.binom(n=n, p=p).pmf(x) ax[i,j].vlines(x, 0, y, ...
Read now
Unlock full access