Blog Archives

Feller’s coin-tossing puzzle: tidy simulation in R

January 17, 2020
By
Feller’s coin-tossing puzzle: tidy simulation in R

Previously in this series: The “lost boarding pass” puzzle The “deadly board game” puzzle The “knight on an infinite chessboard” puzzle The “largest stock profit or loss” puzzle The “birthday paradox” puzzle I have an interest in probability puzzles and riddles, and especially in simulating them in R. I recently learned about Feller’s coin-tossing puzzle, from the...

Read more »

The ‘Spelling Bee Honeycomb’ puzzle: efficient computation in R

January 6, 2020
By
The ‘Spelling Bee Honeycomb’ puzzle: efficient computation in R

Previously in this series: The “lost boarding pass” puzzle The “deadly board game” puzzle The “knight on an infinite chessboard” puzzle The “largest stock profit or loss” puzzle The “birthday paradox” puzzle I love 538’s Riddler column, and the January 3 puzzle is a fun one. I’ll quote: The New York Times recently launched some new...

Read more »

The birthday paradox puzzle: tidy simulation in R

January 3, 2020
By
The birthday paradox puzzle: tidy simulation in R

Previously in this series: The “lost boarding pass” puzzle The “deadly board game” puzzle The “knight on an infinite chessboard” puzzle The “largest stock profit or loss” puzzle The birthday problem is a classic probability ...

Read more »

The ‘largest stock profit or loss’ puzzle: efficient computation in R

December 24, 2019
By
The ‘largest stock profit or loss’ puzzle: efficient computation in R

Previously in this series: The “knight on an infinite chessboard” puzzle The “lost boarding pass” puzzle The “deadly board game” puzzle I recently came across an interview problem from A Cool SQL Problem: Avoiding For-Loops . Avoiding loops is a topic I always enjoy reading about, and the blog post didn’t disappoint. I’ll quote that post’s description of the problem: ...

Read more »

The ‘knight on an infinite chessboard’ puzzle: efficient simulation in R

December 10, 2018
By
The ‘knight on an infinite chessboard’ puzzle: efficient simulation in R

Previously in this series: The “lost boarding pass” puzzle The “deadly board game” puzzle I’ve recently been enjoying The Riddler: Fantastic Puzzles from FiveThirtyEight, a wonderful book from 538’s Oliver Roeder. Many of the probab...

Read more »

Exploring college major and income: a live data analysis in R

October 16, 2018
By
Exploring college major and income: a live data analysis in R

I recently came up with the idea for a series of screencasts: I've thought about recording a screencast of an example data analysis in #rstats. I'd do it on a dataset I'm unfamiliar with so that I can show and narrate my live thought process.Any suggestions for interesting datasets to use?— David Robinson (@drob) October 6, 2018 Hadley Wickham had the...

Read more »

Who wrote the anti-Trump New York Times op-ed? Using tidytext to find document similarity

September 6, 2018
By
Who wrote the anti-Trump New York Times op-ed? Using tidytext to find document similarity

Like a lot of people, I was intrigued by “I Am Part of the Resistance Inside the Trump Administration”, an anonymous New York Times op-ed written by a “senior official in the Trump administration”. And like many data scientists, I was curious about what role text mining could play. Ok NLP people, now’s your chance to shine. Just spitballing here...

Read more »

Scientific debt

May 10, 2018
By
Scientific debt

A very useful concept in software engineering is technical debt. Technical debt occurs when engineers choose a quick but suboptimal solution to a problem, or don’t spend time to build sustainable infrastructure. Maybe they’re using an approach that doesn’t scale well as the team and codebase expand (such as hardcoding “magic numbers”), or using a tool for reasons of convenience...

Read more »

Data science at DataCamp

April 10, 2018
By
Data science at DataCamp

In January, I was excited to make an announcement about a shift in my career: I have some exciting news: today I'm joining @DataCamp as their Chief Data Scientist 🎉📊📈 pic.twitter.com/wiN9J4qSjx— David Robinson (@drob) January 29, 2018 When I first discussed the role with the DataCamp CEO, I described my goal as to “Make DataCamp as good at doing data science...

Read more »

What digits should you bet on in Super Bowl squares?

February 4, 2018
By
What digits should you bet on in Super Bowl squares?

My new office introduced me to a betting game I wasn’t previously familiar with: Super Bowl squares. It’s played with a ten-by-ten grid, like this one from printyourbrackets.com: Each row and column gets an assortment of digits from 0-9 represen...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)