Jesse Onland
banner
jdonland.bsky.social
Jesse Onland
@jdonland.bsky.social
dataviz and statistics | https://jdonland.github.io | views are my own
If you're looking for more on this sort of thing, what we did here was "enumerate non-decreasing sequences".

A lot of these elementary enumeration problems hinge on recursion: a non-decreasing sequence of length n+m is comprised of one of length m glued to the end of one of length n.
October 28, 2025 at 3:38 PM
When we add the (n + 1)-th variable, we need to know how many times the nth variable took on each of its possible values, which can be found in the nth diagonal of Pascal's triangle. (Prove by induction somehow.)

I think that solves the problem.
October 28, 2025 at 5:09 AM
For the case with just two variables 2 ≤ a ≤ b ≤ 6, there are (7 - a) choices for b once a is fixed, and the sum over a from 2 to 6 of (7 - a) is 15.

Can you do a similar trick for 2 ≤ a ≤ b ≤ c ≤ 6? Can you get a recurrence relation by writing the answer for this case in terms of the previous one?
October 28, 2025 at 4:42 AM
Are you sure there are only 15?
October 28, 2025 at 4:23 AM
Does this company only have "AI" in its name for marketing reasons, or is it actually engaged in slop generation?
August 20, 2025 at 3:32 PM
The plot on the right is exactly what I had in mind!
August 18, 2025 at 12:42 PM
Can you superimpose the exact and smoothed plots with differences in lighter grey?

Maybe just plotting a smoothed line on top would be more straightforward, I suppose.
August 17, 2025 at 7:59 PM
Also formalized the frequentist interpretation of probability.
August 5, 2025 at 10:56 PM
Would the "The Lady Tasting Tea" be too breezy?
July 22, 2025 at 3:54 AM
Not certain. I don't want a facsimile edition but other than that I'm not too picky.
July 18, 2025 at 9:58 PM
Maybe I'm too ggplot2-brained, but I wouldn't have guessed that "make one line in this chart dashed and the rest solid" is advanced!
July 17, 2025 at 5:28 PM
Every time I can't figure out how to get what I want, the solution always seems to be some zany kludge.
July 17, 2025 at 3:17 PM
I've been on the hunt for a copy of this, but it seems scarcer than his other book, "Graphic Methods for Presenting Facts".
July 17, 2025 at 12:51 PM
(After live-generating 80 lines of SQL with five paragraphs of pre-written prompts)

"This would have taken hours!"

Maybe for *you*.
July 15, 2025 at 5:48 PM
Plot by distance to an ocean port and you get a different set of outliers.
July 13, 2025 at 7:25 PM