Publications by r on Tony ElHabr

Investigating Ranks, Monotonicity, and Spearman’s Rho with R

15.04.2018

The Problem I have a bunch of data that can be categorized into many small groups. Each small group has a set of values for an ordered set of intervals. Having observed that the values for most groups seem to increase with the order of the interval, I hypothesize that their is a statistically-significant, monotonically increasing trend. An Analog...

18592 sym R (2653 sym/6 pcs) 12 img

Thoughts on Using Flexdashboard

29.04.2018

I’ve experimented with the {flexdashboard} package for a couple of things after first trying out not so long ago. In particular, I found the storyboard format to be my favorite. I used it to create the storyboard that I wrote about in a previous post about tracking the activity of NBA team Twitter accounts. I also used {flexdashboard} for a pr...

3772 sym R (142 sym/2 pcs) 6 img

The DRY Principle and Knowing When to Make a Package

04.05.2018

Don’t Repeat Yourself (DRY) Probably everyone who has done some kind of programming has heard of the “Don’t Repeat Yourself” (DRY) principle. In a nutshell, it’s about reducing code redundancy for the purpose of reducing error and enhancing readability. Undoubtedly the most common manifestation of the DRY principle is the creation of a ...

5294 sym R (1175 sym/3 pcs) 4 img

An Analysis of Texas High School Academic Competition Results, Part 1 – Introduction

19.05.2018

NOTE: This is part of a series of write-ups discussing my findings of Texas high school academic University Interscholastic Scholarship (UIL) competitions. To keep this and the other write-ups concise and to focus reader attention on the content, I have decided not to show the underlying code (especially that which is used to create the visuals)...

4533 sym 4 img

An Analysis of Texas High School Academic Competition Results, Part 4 – Schools

19.05.2018

Having investigated individuals elsewhere, let’s now take a look at the schools. NOTE: Although I began the examinations of competitions and individuals by looking at volume of participation (to provide context), I’ll skip an analogous discussion here because the participation of schools is shown indirectly through those analyses.) School S...

6169 sym 6 img 1 tbl

An Analysis of Texas High School Academic Competition Results, Part 2 – Competitions

19.05.2018

Competition Participation Some of the first questions that might come to mind are those regarding the number of schools in each level of competition (District, Region, and State) and each conference classification level (1A, 2A, … 6A). It seems fair to say that the distribution of schools among Districts, Regions, and Conferences is relatively...

8267 sym 16 img 1 tbl

An Analysis of Texas High School Academic Competition Results, Part 5 – Miscellaneous

19.05.2018

There’s a lot to analyze with the Texas high school academic UIL data set. Maybe I find it more interesting than others due to my personal experiences with these competitions. Now, after examining some of the biggest topics associated with this data–including competitions, individuals, and schools–in a broad manner, there are some other thi...

3796 sym 3 tbl

An Analysis of Texas High School Academic Competition Results, Part 3 – Individuals

19.05.2018

Let’s take a look at individual competitors in the academic UIL competitions. Individual Participation The first question that comes to mind is that of participation–which individuals have competed the most? NOTE: To give some context to the values for individual participants, I’ll include the numbers for myself (“Elhabr, Anthony”) in ...

11826 sym 10 img 7 tbl

Correlations Between Texas High School Academic Competition Results and SAT/ACT Scores

20.07.2018

Introduction I wanted to do a follow-up on my series of posts about Texas high school University Interscholastic League (UIL) academic competitions to more closely evaluate the relationship between the school performance in those competitions with school-wide SAT) and ACT scores. For those who may not be familiar with these tests, these are the t...

9532 sym R (7407 sym/10 pcs) 4 img 8 tbl

Visualizing Texas High School SAT Math Scores with Bubble Grids

21.07.2018

Two awesome things inspired this post: {ggplot2}’s version 3.0 release on CRAN, including full support for the {sf} package and new functions geom_sf() and coord_sf(), which make plotting data from shapefiles very straightforward. Jonas Scholey’s blog post discussing the use of “bubble grid” maps as an alternative to choropleth maps, whi...

3913 sym R (7138 sym/4 pcs) 4 img