Darrin Speegle
@speegled
Followers
193
Following
2K
Media
113
Statuses
954
mostly rstats, occasionally math
Saint Louis, Missouri
Joined September 2011
Pleased to announce that I just signed a contract with @CRCPress to publish a print version of my stats book! I love working with them, as they will allow the web based version to stay after the print book comes out!
slu.edu
Learn more about SLU's Department of Mathematics and Statistics, including more about degrees offered by the department.
3
4
34
I remember this because I was asked on an in-class exam (pencil and paper) what the largest LCM of integers that add to 100 is! I did not get that question right 3/3
0
0
0
The sum of the first 9 primes is 100, for example, and the LCM of 3, 16, 9, 5, 7, 11, 13, 17, 19 (232792560) is larger than the LCM of 2, 3, 5, 7, 11, 13, 17, 19, 23 (223092870) 2/3
1
0
0
Fun fact: the sum of the first 8 primes is 77, and the largest LCM of any integers that add to 77 is the product of the first 8 primes. This is no longer true for the first 9 or more primes! 1/3
1
0
0
Haven't seen many Day 11 #Rstats #adventofocode solutions posted, so here is mine. Decided to just manually input the functions and test conditions, don't judge me.
2
2
5
Check out my SpongeBob package - complete transcripts of thirteen seasons SpongeBob SquarePants episodes. https://t.co/otpMJmyg6o I got inspiration from @Emil_Hvitfeldt's friends package! #RStats
github.com
Transcripts of SpongeBob Squarepants. Contribute to speegled/SpongeBob development by creating an account on GitHub.
1
3
3
I suspect some of the tails first responses were using an automated system of some kind, though it might also be that they were aware of the heads first bias. 2/2
0
0
1
52 Heads first and 23 Tails first out of 75 respondents. Exercises 10.20-10.21 in our book https://t.co/KGY26xzrlg explores this from Bar-Hillel, Peer, and Acquisti, “‘Heads or Tails?’ – a Reachability Bias in Binary Choice” @turtlegraphics 1/2
slu.edu
Learn more about SLU's Department of Mathematics and Statistics, including more about degrees offered by the department.
Hey Twitter, I have a game we can play: How well do you think you could simulate a sequence of flips from a fair coin? Reply to this tweet with a sequence of at least 20 flips (using H and T to mean heads and tails, for e.g. HTTTHTTHTHHTHHTHTTTT) and I will tell you how you did
1
1
2
Really enjoying James, @daniela_witten, Hastie and Tibshirani's ISLR. I have a modest proposal to improve Figure 7.1, though. #rstats #LePetitPrince
1
5
31
Wordle 198 3/6. First try at Wordle, and I am announcing my retirement. 🟨⬜⬜⬜🟩 ⬜⬜🟨🟨🟩 🟩🟩🟩🟩🟩
0
0
0
#rstats #adventofocode day 24 complete. do you know what happens if dd is a data frame of one variable x, and it contains one value, dd$x = "1 -2 3", and you use tidyr::separate(dd, x, into = c("a", "b", "c"), convert = T)? well, one day later, i do. https://t.co/NRTAHVAsME
0
2
8
the D amphipods were "clearly" optimal so i worked on getting the C amphipods better. turns out there was only one that wasn't optimal, so i fixed the one mistake in my plan. double plus unpleased with this solution
0
0
0
#rstats #adventofcode day 23. yikes. we'll call this one a "computer aided" solution. found a solution by hand and counted the minimal number of steps each type of amphipod could possibly have taken. 1/1
1
2
5
I kept a running list of disjoint parallelepipeds that represented the union/set difference of all of the given cubes. Pretty sure that I could've improved the code a lot. The ugly code is here:
0
0
0
I just completed "Reactor Reboot" - Day 22 - Advent of Code 2021 https://t.co/zD3Lw2y6xC
#AdventOfCode #RStats I was more nervous than i thought i would be after letting my code run for 12 hours, but it worked.
1
2
4
#rstats #adventofcode day 22 the race is on. will my code finish before midnight? 351/420
1
2
1
#rstats #adventofcode day 20 i really wanted to use convolution to solve this. tried stats::filter and OpenImageR::convolution, but didn't find the perfect tool.
0
2
5