# Articles by

### New Color Palette for R

May 22, 2019 |

As I was preparing some graphics for a presentation recently, I started digging into some of the different color palette options. My motivation was entirely about creating graphics that weren't too visually overwhelming, which I found the default "rain... [Read more...]

### Statistics Sunday: Scatterplots and Correlations with ggpairs

March 11, 2019 |

As I conduct some analysis for a content validation study, I wanted to quickly blog about a fun plot I discovered today: ggpairs, which displays scatterplots and correlations in a grid for a set of variables.To demonstrate, I'll return to my Facebook d...

### Statistics Sunday: Creating a Stacked Bar Chart for Rank Data

January 27, 2019 |

Stacked Bar Chart for Rank Data At work on Friday, I was trying to figure out the best way to display some rank data. What I had were rankings from 1-5 for 10 factors considered most important in a job (such as Salary, Insurance Benefits, and the Opportunity to Learn), meaning ...

### Statistics Sunday: Introduction to Regular Expressions

November 25, 2018 |

In my last Statistics Sunday post, I briefly mentioned the concept of regular expressions, also known as regex (though note that in some contexts, these refer to different things - see here). A regular expression is a text string, which you ask your program to match. You can use this ...

### Statistics Sunday: Reading and Creating a Data Frame with Multiple Text Files

November 18, 2018 |

First Statistics Sunday in far too long! It's going to be a short one, but it describes a great trick I learned recently while completing a time study for our exams at work.To give a bit of background, this time study involves analzying time examinees ...

### Statistics Sunday: What Fast Food Can Tell Us About a Community and the World

October 21, 2018 |

Two statistical indices crossed my inbox in the last week, both of which use fast food restaurants to measure a concept indirectly.First up, in the wake of recent hurricanes, is the Waffle House Index. As The Economist explains:Waffle House, a breakfas...

### Statistics Sunday: Some Psychometric Tricks in R

October 14, 2018 |

Statistics Sunday: Some Psychometrics Tricks in R It's been a long time since I've posted a Statistics Sunday post! Now that I'm moved out of my apartment and into my house, I have a bit more time on my hands, but work has been quite busy. Today, I'm preparing for 2 ...

### Statistics Sunday: What Should I Read Next?

September 16, 2018 |

When You Need a New Book to Read I log all of my books on Goodreads. On top of that, whenever I hear about a new book I have to read, I add it on Goodreads, so I remember it. Of course, this means my Goodreads bookshelves are a little ... [Read more...]

### Statistics Sunday: Visualizing Regression

August 27, 2018 |

Statistics Sunday: Visualizing Regression I had some much needed downtime this weekend, after an exhausting week, along with some self-care - Saturday I had a one-hour deep tissue massage, which left me a little bruised but much more relaxed, and Sunday I spent a few hours in the salon chair ...

### Statistics Sunday: Using Text Analysis to Become a Better Writer

August 19, 2018 |

Using Text Analysis to Become a Better Writer We all have words we love to use, and that we perhaps use too much. As an example: I have a tendency to use the same transitional statements, to the point that, before I submit a manuscript, I do a find all ...

### Topics and Categories in the Russian Troll Tweets

August 17, 2018 |

Topics and Categories in the Russian Troll Tweets I decided to return to the analysis I conducted for the IRA tweets dataset. (You can read up on that analysis and R code here.) Specifically, I returned to the LDA results, which looked like they lined up pretty well with the ...

### Statistics Sunday: Getting Started with the Russian Tweet Dataset

August 12, 2018 |

IRA Tweet Data You may have heard that two researchers at Clemson University analyzed almost 3 millions tweets from the Internet Research Agency (IRA) - a "Russian troll factory". In partnership with FiveThirtyEight, they made all of their data available on GitHub. So of course, I had to read the files ...

### Statistics Sunday: Highlighting a Subset of Data in ggplot2

August 7, 2018 |

Highlighting Specific Cases in ggplot2 Here's my belated Statistics Sunday post, using a cool technique I just learned about: gghighlight. This R package works with ggplot2 to highlight a subset of data. To demonstrate, I'll use a dataset I analyzed for a previous post about my 2017 reading habits. [Side note: ...

### Stats Note: Making Sense of Open-Ended Responses with Text Analysis

August 3, 2018 |

Using Text Mining on Open Ended Items Good survey design is both art and science. You have to think about how people will read and process your questions, and what sorts of responses might result from different question forms and wording. One of the big rules I follow in survey ... [Read more...]

### Statistics Sunday: More Text Analysis – Term Frequency and Inverse Document Frequency

July 29, 2018 |

Statistics Sunday: Term Frequency and Inverse Document Frequency As a mixed methods researcher, I love working with qualitative data, but I also love the idea of using quantitative methods to add some meaning and context to the words. This is the main reason I've started digging into using R for ...

### Statistics Sunday: Mixed Effects Meta-Analysis

July 8, 2018 |

As promised, how to conduct mixed effects meta-analysis in R:Code used in the video is available here. And I'd recommend the following posts to provide background for this video:What is meta-analysis?Introduction to effect sizesVariance and weights in ... [Read more...]

### Statistics Sunday: Converting Between Effect Sizes for Meta-Analysis

June 24, 2018 |

Converting Between Effect Sizes I'm currently working on my promised video on mixed effects meta-analysis, and was planning on covering this particular topic in that video - converting between effect sizes. But I decided to do this as a separate post that I can reference in the video, which I ...

June 22, 2018 |

As I've been blogging more about statistics, R, and research in general, I've been trying to increase my online presence, sharing my blog posts in groups of like-minded people. Those efforts seem to have paid off, based on my view counts over the past ...

### Statistics Sunday: Accessing the YouTube API with tuber

June 18, 2018 |

I haven't had a lot of time to play with this but yesterday, I discovered the tuber R package, which allows you to interact with the YouTube API.To use the tuber package, not only do you need to install it in R - you'll need a Google account and ...