# Python

Hat tip to Lars Groenberg, Fermin Villena, Christopher Pimentel, Till Heenen for finding the following typos!

**Page 37/ Figure 1.10/ Script 1.23**: use “counts.index” instead of “mlab” to generate the graphs to get the right order of labels; also see the revised script “Descr-Figures-revised.py” here**Page 42/ Script 1.27**: average, median and standard deviation must be computed with “roe” instead of “salary”**Page 44/ Footnote 17**: wrong arguments; must read “…N is the number of drawn balls and x is number of drawn marked balls.”**Page 44**: Last three entries in the quantile column (Table 1.6): must be “.ppf” instead of “.pdf”**Page 44/ Table 1.6**: Uniform Distribution: The syntax of the commands is correct, but the meaning is misleading: a uniform distribution on the interval [a,b] is implemented with the arguments “a” and “b-a”, e.g. “uniform.pdf(x,a,b -a)”**Page 45/ Script 1.30**: wrong labels in Script 1.30; must be “plt.xlabel(‘x’)” and “plt.ylabel(‘fx’)”**Page 270/ Last paragraph**: “Script 17.5 implements the test of overall significance for the probit model using both manual and and automatic calculations” should read “Script 17.5 implements the test of overall significance for the probit model using both manual and automatic calculations”**Page 289/ Second sentence**: “Namely, we we look…” should read “Namely, we look…”