Articles by StatOfMind

Does home-court advantage in the NBA matter?

December 5, 2020 | StatOfMind

Home-court advantage in the NBA For obvious reasons, 2020 has not been the best of years, and alongside the terrible societal and economical turmoil created by the COVID-19 pandemic, the sports and entertainment industry has also undergone some dramatic transformations. Of all major sports leagues, the NBA was able to adapt ... [Read more...]

Comparing rental prices in the US market

December 10, 2017 | StatOfMind

Rental Prices in the US As a fortunate resident of New York City, I get to enjoy the many activities offered by a city that never really turns off its lights. The price to pay for such entertainment, however, are the crazy rental fees. I have stopped counting the number ... [Read more...]

NFL Series

October 7, 2017 | StatOfMind

If you have previously attempted to analyze NFL data, it is likely that you have tried to scrape ESPN or football-reference, which provides a wealth on statistics surrounding game data. However, if you ever wanted to obtain truly in-depth data, then it... [Read more...]

A map of elevators in NYC

August 30, 2016 | StatOfMind

Not too long ago, I came across a random tweet pointing to a GitHub repository full of miscallaneous datasets. I was imemdiately excited by the various data science and visualization problems tha I could take on and immediately decided to get my hand... [Read more...]

The biggest liars in US politics

June 10, 2016 | StatOfMind

Who lies the most in US politics? Most Americans, and anyone that follows US politics, will be aware of the tremendous changes and volatility that has struck the US political landscape in the past year. The ascent of Donald Trump from a billionaire entertainer to a fully fledged presidential candidate, ... [Read more...]

Data science with Docker

April 29, 2016 | StatOfMind

Using docker to facilitate your data science pipelines Until recently, and like many other fellow data scientists I have talked to, I built data science pipelines on my local machine or a remote host while relying on virtual environments. In doing so, I ensured some degree of replicability by keeping ... [Read more...]

Player and roster similarity in the NBA

March 16, 2016 | StatOfMind

Recently, professional sports associations and teams have made big strides towards leveraging data to inform both personel and on-the-field decision making. While the four major leagues (NBA, NFL, MLB, NHL) vary in terms of where they are in that process, most people would argue that the NBA is at the ... [Read more...]

Tracking Social Issues and Topics in Presidential Speeches

October 22, 2015 | StatOfMind

Scraping presidential transcripts To begin, we must scrape the content of all presidential speeches recorded in American history. To do that, I’ll rely on the very handy BeautifulSoup library, and eventually store all data in a pandas dataframe that will be persisted in a pickle file. # import required libraries ... [Read more...]

Cloning a graph in Python

October 9, 2015 | StatOfMind

If you have ever played around with Algorithms & Data Structures, then you most likely have heard of, which contains a number of famous (or infamous) of technical questions. One of my favorite in there is the graph clone question, which can be shortly stated as:
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.
Like most ... [Read more...]

Prison Locations around the USA

September 8, 2015 | StatOfMind

I recently discovered the resource, a repository of freely available public with the following goals (as stated on their website): The volume of data created by governments and businesses is growing exponentially. Organizations struggle ju... [Read more...]

Flow and Dynamics in NBA games – Part III

June 28, 2015 | StatOfMind

In part I and II of this post series on NBA game dynamics, I explored both the average score differential and proportion of time spent in the lead for each NBA team. Interestingly, this proved to not be a very reliable proxy for overall performance and number of wins accrued ... [Read more...]

Flow and Dynamics in NBA games – Part II

June 11, 2015 | StatOfMind

In part I of this post series on NBA game dynamics, I explored the average score differential that teams faced over the course of games. Interestingly, this proved to not be a very reliable proxy for overall performance and number of wins accrued over an entire season. To continue, I ... [Read more...]

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)