Archive for textbook

all of regression

Posted in Books, Statistics, University life with tags , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , on October 16, 2026 by xi'an

My friends Isabella Verdinelli and Larry Wasserman published recently a new book with CUP in the spirit of the lean, terse, All of Statistics and All of Non-parametric Statistics (hilariously immodest titles!). This new volume is All of Regression, with expedited treatment of linear regression and hardly anything about machine learning (not even a mention in the index!). Time series barely escape oblivion within the final two pages!

(Our mutual friend) Ed George’s endorsement of All of Regression is worth quoting:

“Remarkable in scope and clarity, this book masterfully traces the evolution of regression from classical linear modeling to its many modern descendants. Each chapter offers a lucid introduction to a distinct methodology, explained with precision and insight from a contemporary perspective. Complete with exercises and datasets, it will serve equally well as a textbook and an indispensable research resource.”

The linear regression chapter shuns most of the linear algebra machinery swamping regression classics (except in its appendix), but it finds space to cover misspecified models, bootstrap, and model choice. The next and minuscule chapter is centred on X-validation for evaluating prediction error, while its follower is (barely) broaching on high-dimensional linear regression with a brief (and un-Bayesian) intuition on the Lasso. A few more words on logistic and Poisson regressions, and we are already landing at non-parametric regression.

The pace does not abate in any manner, though, since the univariate NP chapter covers kernels, local polynomials, k-nearest neighbours, and RKHS with a similar terseness (and no mention of Gaussian processes). Moving to multivariate regression zips thru trees and random forests, without severe consequences. Quantile regression is given the alm of a few pages (which imho may indeed be all it deserves!)

We are now already past the middle of the book, fighting for breath!, and classification then comes, mostly presented as an adaptation of earlier techniques to discrete outcome (which I find mildly objectionable for categorical data). With mentions of boosting (if not bagging) and SVMs. And no time for the ambiguity of the notion (which is at least as evil as mixtures, as earlier posted by Larry!) Of clear interest to the authors, the modern theory of conformal prediction gets its own, cosy, chapter, albeit somewhat misleadingly making it sound a very simple exercise.  And no machine learning link. Next comes the equally modern and central notion of causality. With the (predictable) causal graphs, confounding variables, and instrumental variables (which have been a mystery to me since my first econometrics class). The final chapter is acknowledged as being made of parts each deserving an entire book, still getting a few pages at best. Empirical Bayes is restrained to linear regression, deep learning is questioned about being useful in statistical problems, and survival analysis mostly summarises as the Kaplan-Meier estimator.

Having gone through the book in a single rush (while on a train to Normandy), I felt more exhausted than at the finish line of a successful half-marathon (with a similar race time). It is great to see most fundamental notions linked with regression covered in such a minimalist way. With mathematical justifications whenever manageable in the alloted space. Albeit not expecting them (!), I regret Bayesian approaches to regression and classification not being mentioned. (No BART!) The computational aspects are not covered, hence readers may face a steep cliff when moving to actual problems but this is the theme for another course.

One funny typo: the bibliography (or reference list) is ordered by the first name, except for a misclassified Nicolai Meinshausen!, which presumes some first-hand knowledge of the entire community! And the inevitable “the the” makes its first (?) appearance on p12.

[The usual disclaimer applies, namely that this review is likely to appear later in CHANCE, in my book reviews column.]

max vs. min

Posted in Books, Kids, Statistics with tags , , , , , , , , on March 26, 2022 by xi'an

Another intriguing question on X validated (about an exercise in Jun Shao’s book) that made me realise a basic fact about exponential distributions. When considering two Exponential random variables X and Y with possibly different parameters λ and μ,  Z⁺=max{X,Y} is dependent on the event X>Y while Z⁻=min{X,Y} is not (and distributed as an Exponential variate with parameter λ+μ.) Furthermore, Z⁺ is distributed from a signed mixture

\frac{\lambda+\mu}{\mu}\mathcal Exp(\lambda)-\frac{\lambda}{\mu}\mathcal Exp(\lambda+\mu)

conditionally on the event X>Y, meaning that there is no sufficient statistic of fixed dimension when given a sample of n realisations of Z⁺’s along with the indicators of the events X>Y…. This may explain why there exists an unbiased estimator of λ⁻¹-μ⁻¹ in this case and (apparently) not when replacing Z⁺ by Z⁻. (Even though the exercise asks for the UMVUE.)

statistics for making decisions [book review]

Posted in Books, Statistics with tags , , , , , , , , , , , , on March 7, 2022 by xi'an

I bought this book [or more precisely received it from CRC Press as a ({prospective} book) review reward] as I was interested in the author’s perspectives on actual decision making (and unaware of the earlier Statistical Decision Theory book he had written in 2013). It is intended for a postgraduate semester course and  “not for a beginner in statistics”. Exercises with solutions are included in each chapter (with some R codes in the solutions). From Chapter 4 onwards, the “Further reading suggestions” are primarily referring to papers and books written by the author, as these chapters are based on his earlier papers.

“I regard hypothesis testing as a distraction from and a barrier to good statistical practice. Its ritualised application should be resisted from the position of strength, by being well acquainted with all its theoretical and practical aspects. I very much hope (…) that the right place for hypothesis testing is in a museum, next to the steam engine.”

The first chapter exposes the shortcomings of hypothesis testing for conducting decision making, in particular by ignoring the consequences of the decisions. A perspective with which I agree, but I fear the subsequent developments found in the book remain too formalised to be appealing, reverting to the over-simplification found in Neyman-Pearson theory. The second chapter is somewhat superfluous for a book assuming a prior exposure to statistics, with a quick exposition of the frequentist, Bayesian, and … fiducial paradigms. With estimators being first defined without referring to a specific loss function. And I find the presentation of the fiducial approach rather shaky (if usual). Esp. when considering fiducial perspective to be used as default Bayes in the subsequent chapters. I also do not understand the notation (p.31)

P(\hat\theta<c;\,\theta\in\Theta_\text{H})

outside of a Bayesian (or fiducial?) framework. (I did not spot typos aside from the traditional “the the” duplicates, with at least six occurences!)

The aforementioned subsequent chapters are not particularly enticing as they cater to artificial loss functions and engage into detailed derivations that do not seem essential. At times they appear to be nothing more than simple calculus exercises. The very construction of the loss function, which I deem critical to implement statistical decision theory, is mostly bypassed. The overall setting is also frighteningly unidimensional. In the parameter, in the statistic, and in the decision. Covariates only appear in the final chapter which appears to have very little connection with decision making in that the loss function there is the standard quadratic loss, used to achieve the optimal composition of estimators, rather than selecting the best model. The book is also missing in practical or realistic illustrations.

“With a bit of immodesty and a tinge of obsession, I would like to refer to the principal theme of this book as a paradigm, ascribing to it as much importance and distinction as to the frequentist and Bayesian paradigms”

The book concludes with a short postscript (pp.247-249) reproducing the introducing paragraphs about the ill-suited nature of hypothesis testing for decision-making. Which would have been better supported by a stronger engagement into elicitating loss functions and quantifying the consequences of actions from the clients…

[Disclaimer about potential self-plagiarism: this post or an edited version will eventually appear in my Book Review section in CHANCE.]

Introduction to Sequential Monte Carlo [book review]

Posted in Books, Statistics with tags , , , , , , , , , , , , , , , , on June 8, 2021 by xi'an

[Warning: Due to many CoI, from Nicolas being a former PhD student of mine, to his being a current colleague at CREST, to Omiros being co-deputy-editor for Biometrika, this review will not be part of my CHANCE book reviews.]

My friends Nicolas Chopin and Omiros Papaspiliopoulos wrote in 2020 An Introduction to Sequential Monte Carlo (Springer) that took several years to achieve and which I find remarkably coherent in its unified presentation. Particles filters and more broadly sequential Monte Carlo have expended considerably in the last 25 years and I find it difficult to keep track of the main advances given the expansive and heterogeneous literature. The book is also quite careful in its mathematical treatment of the concepts and, while the Feynman-Kac formalism is somewhat scary, it provides a careful introduction to the sampling techniques relating to state-space models and to their asymptotic validation. As an introduction it does not go to the same depths as Pierre Del Moral’s 2004 book or our 2005 book (Cappé et al.). But it also proposes a unified treatment of the most recent developments, including SMC² and ABC-SMC. There is even a chapter on sequential quasi-Monte Carlo, naturally connected to Mathieu Gerber’s and Nicolas Chopin’s 2015 Read Paper. Another significant feature is the articulation of the practical part around a massive Python package called particles [what else?!]. While the book is intended as a textbook, and has been used as such at ENSAE and in other places, there are only a few exercises per chapter and they are not necessarily manageable (as Exercise 7.1, the unique exercise for the very short Chapter 7.) The style is highly pedagogical, take for instance Chapter 10 on the various particle filters, with a detailed and separate analysis of the input, algorithm, and output of each of these. Examples are only strategically used when comparing methods or illustrating convergence. While the MCMC chapter (Chapter 15) is surprisingly small, it is actually an introducing of the massive chapter on particle MCMC (and a teaser for an incoming Papaspiloulos, Roberts and Tweedie, a slow-cooking dish that has now been baking for quite a while!).

Data Science & Machine Learning book free for download

Posted in Statistics with tags , , , , , , , on November 30, 2020 by xi'an