lol I forgot about splatterpie
maybe I should write a brunch-themed vis book
@mjskay.com
Assoc Prof Computer Science and Communication Studies at Northwestern. Infovis, HCI. Author of tidybayes & ggdist R pkgs. he/him. ๐ณ๏ธโ๐ https://mjskay.com/ Co-director https://mucollective.northwestern.edu Co-founder https://journalovi.org
lol I forgot about splatterpie
maybe I should write a brunch-themed vis book
had to look it up but yeah that tracks
if you look closely, these snake bars are also waffle charts, which raises the question, what food item are they really?
funnel cake chart?
i'm not an economist but if 900 people can afford to fund $3,000 checks to damn near everyone else in america and still be insanely fuckin rich afterwards maybe they have too much fuckin money
shocking you'd rather say "95% chance" instead of "while this 95% CI does not carry a 95% (aleatory) probability of containing the value, satisfied as I am with its assumptions and lacking other prior knowledge, it induces in me a 95% subjective probability it contains the value" every fucking time
Yeah some version of a ramp... Particulars vary, I often get PhD students with research experience in undergrad/masters so they're further along
I also try to ask "what are YOU interested in?" when we hit a crossroads, because if previous advisors haven't done that they may hesitate to say
I'm not gonna touch most of this but two things:
1. The apprenticeship model of science was never supposed to be about the PI's workflow. The point isn't to have research assistants to help to publish stuff faster. Training the next generation researcher *is* the point. Because we care. Allegedly.
This is a good point... I was shocked to discover when I became a professor that there are faculty who just want to hire students to do their (the professor's) projects instead of to help students develop into colleagues as they do their (the student's) projects.
e.g. in the example above the density estimator is not bounded while the data clearly is, so the ridgelines and violins are misleading. Meanwhile the jittered point cloud is hard to precisely read density from
A (good) dotplot would reflect boundedness and show density as bin heights
How big is the "no for loops" crowd? Some folks do adopt more extreme positions, but I find the experienced people doing a lot of the writing and training tend to understand that for loops are useful and higher-level operations are useful (especially if they unlock new reasoning tools)
hello, it is 4am and I am awake because I am in pain and I need a lot of distraction so who wants some HALF BAKED THOUGHTS about psychology in the AI era and what we're missing out on in the common narratives right now
In parliamentary democracies with strong whips, members *do not* vote against party. I thought this was bad until living in the US for awhile: here buying a bill is cheap (just a few members) and elections don't have clear consequences if you have to explain blue dogs, the filibuster, etc to voters
The term seems to originate in parliamentary democracies, so maybe "controlled opposition" is more what's meant here.
en.wikipedia.org/wiki/Loyal_o...
en.wikipedia.org/wiki/Control...
(as someone not from the US I've always found the obsession with bipartisanship here to be baffling)
Oddly, in parliamentary democracies "loyal opposition" means practically the opposite: parties that oppose the government but are loyal to the state and to democracy. In a way, the opposite of many Democrats, who strive for "bipartisanship" instead of opposing the gov't / offering an alternative.
> x = c("a","b","c","d",NA,"e") > outer(is.na(x), x, ifelse, yes = "na") [,1] [,2] [,3] [,4] [,5] [,6] [1,] "a" "b" "c" "d" NA "e" [2,] "a" "b" "c" "d" NA "e" [3,] "a" "b" "c" "d" NA "e" [4,] "a" "b" "c" "d" NA "e" [5,] "na" "na" "na" "na" "na" "na" [6,] "a" "b" "c" "d" NA "e" > diag(outer(is.na(x), x, ifelse, yes = "na")) [1] "a" "b" "c" "d" "na" "e"
lol oh no
my first thought is, yours is worst-case quadratic if x is all NA, but linear if there are no NAs
so just throw outer() at it so it's always quadratic:
thanks I hate it
worse than linear runtime is a nice touch
I'm a weighted average of neutral good and chaotic evil
you ain't lived till you've piped into a subset assign
Oh that's a new one for me! Looks neat
bottom right, probably
`=` is neutral in a broader context that considers many other languages, hence its place in the center column
R coding style alignment chart: LAWFUL GOOD y <- x y[is.na(x)] <- "na" NEUTRAL GOOD y = x y[is.na(x)] = "na" CHAOTIC GOOD y = x |> is.na() |> ifelse("na", x) LAWFUL NEUTRAL y <- ifelse(is.na(x), "na", x) TRUE NEUTRAL y = ifelse(is.na(x), "na", x) CHAOTIC NEUTRAL y = x %>% ifelse(is.na(.), "na", .) LAWFUL EVIL `<-`(y, x) `[<-`(y, is.na(x), "na") NEUTRAL EVIL y = x for (i in seq_along(x)) { if (is.na(x[[i]])) { x[[i]] = "na" } } CHAOTIC EVIL x %>% `[<-`(is.na(.), "na") %>% ``<<-``(y, .)
what's a "pipes" ?? #rstats
halve, sugar, cut, scoop, delicious
Could do:
data.frame(x = 1:10) |>
within({
y = x + 1
z = y + 2
})
Several fleurons from the Adobe Aldine typeface, including one snake
I love a good fleuron as a dinkus
Wikipedia entry for dinkus In typography, a dinkus is a typographic device or convention that typically consists of three spaced asterisks or bullet symbols in a horizontal row, e.g. โ โ โ โ โ or โ โข โข โข โ. The device has a variety of uses, and it usually denotes an intentional omission or a logical "break" of varying degree in a written work. This latter use is similar to a subsection, and it indicates that the subsequent text should be re-contextualized. Such a dinkus typically appears centrally aligned on a line of its own with vertical spacing before and after the device. The dinkus has been in use in various forms since c.โ1850.[1][2] Historically, the dinkus was often represented as an asterism, โ, though this has fallen out of favor and is now nearly obsolete.
perennial reminder that this typographic thing:
* * *
is called a "dinkus"
en.wikipedia.org/wiki/Dinkus
I had a great time talking at the Juniper seminar series last week about composable infectious disease models. Some very good discussion after the talk. The recording is now up!
youtu.be/FQYOqGnbJWA?...
If you are teaching any kind of statistics, probability or modeling classes, you'll love this website. Contains dozens of interactive simulations of random processes, with sliders, different visualizat options, and full numeric log ouput: www.randomservices.org/random/apps/...
People are complicated and rarely universally good, so shared admiration is necessarily more tentative due to the possibility that the person is a twat. With shared dislike, you know that they are.