## Archive for students

## library, whatzat???

Posted in Books, Kids, pictures, University life with tags banned books, ENSAE, Francis Bacon, library, Monte Carlo Statistical Methods, online book, students, Trinity College Dublin on December 19, 2022 by xi'an## inf R ! [book review]

Posted in Books, R, Travel with tags book review, circles of Hell, code golf, Dante Alighieri, Hell, ifelse, Inferno, R, R book, Sandro Botticelli, Stack Exchange, students on June 10, 2021 by xi'an**T**hanks to my answering a (basic) question on X validated involving an R code, R mistakes and some misunderstanding about Bayesian hierarchical modelling, I got pointed out to Patrick Burns’ The R inferno. This is not a recent book as the second edition is of 2012, with a 2011 version still available on-line. Which is the version I read. As hinted by the cover, the book plays on Dante’s Inferno and each chapter is associated with a circle of Hell… Including drawings by Botticelli. The style is thus most enjoyable and sometimes hilarious. Like hell!

The first circle (reserved for virtuous pagans) is about treating integral reals as if they were integers, the second circle (attributed to gluttons, although Dante’s is for the lustful) is about allocating more space along the way, as in the question I answered and in most of my students’ codes! The third circle (allocated here to blasphemous sinners, destined for Dante’s seven circle, when Dante’s third circle is to the gluttons) points out the consequences of not vectorising, with for instance the impressive capacities of the ifelse() function [exploited to the max in R codecolfing!]. And the fourth circle (made for the lustfuls rather than Dante’s avaricious and prodigals) is a short warning about the opposite over-vectorising. Circle five (destined for the treasoners, and not Dante’s wrathfuls) pushes for and advises about writing R functions. Circle six recovers Dante’s classification, welcoming (!) heretics, and prohibiting global assignments, in another short chapter. Circle seven (alloted to the simoniacs—who should be sharing the eight circle with many other sinners—rather than the violents as in Dante’s seventh) discusses object attributes, with the distinction between S3 and S4 methods somewhat lost on me. Circle eight (targeting the fraudulents, as in Dante’s original) is massive as it covers “a large number of ghosts, chimeras and devils”, a collection of difficulties and dangers and freak occurences, with the initial warning that “It is a sin to assume that code does what is intended”. A lot of these came as surprises to me and I was rarely able to spot the difficulty without the guidance of the book. Plenty to learn from these examples and counter-examples. Reaching Circle nine (where live (!) the thieves, rather than Dante’s traitors). A “special place for those who feel compelled to drag the rest of us into hell.” Discussing the proper ways to get help on fori. Like Stack Exchange. Concluding with the tongue-in-cheek comment that “there seems to be positive correlation between a person’s level of annoyance at [being asked several times the same question] and ability to answer questions.” This being a hidden test, right?!, as the correlation should be negative.

## dire new semester, indeed…

Posted in Statistics with tags courses, COVID-19, French universities, Le Monde, pandemic, students, Teams, videoed lectures, Zoom on August 10, 2020 by xi'an## data is everywhere

Posted in Kids, pictures, Statistics, University life with tags CIRM, data, high school mathematics, les mercredis mathématiques du CIRM, Luminy, public lecture, Statistics, students, vulgarisation on November 25, 2018 by xi'an## all those ε’s…

Posted in Kids, pictures, Statistics, University life with tags conditional probability, cross validated, fiducial inference, it's greek to me, σ-algebra, random variates, students on October 25, 2017 by xi'an**A** revealing [and interesting] question on X validated about ε’s… The question was about the apparent contradiction in writing Normal random variates as the sum of their mean and of a random noise ε in the context of the bivariate Normal variate (x,y), since using the marginal x conditional decomposition led to two different sets of ε’s. Which did not seem to agree. I replied about these ε’s having to live in different σ-algebras, but this reminded me of some paradoxes found in fiducial analysis through this incautious manipulation of ε’s…