I wanted to test out R on Apple’s new M1/ARM architecture. Here’s how it went:

# Tag: Data Science

Many textbooks when introducing ordinary least squares as a method to do regression (usually via introducing linear regression) don’t explain / derive the coefficients. Here, I explain how to do it using tensor/index notation.

Using mathematics to analyze who is a “better” player By: Dr. Ikjyot Singh Kohli It seems that nowadays one cannot escape the never-ending debate of “Who is better? Michael Jordan or Lebron James?” The situation is made worse by organizations like ESPN that have endless debates on their various shows combined with releasing lists of […]

By: Dr. Ikjyot Singh Kohli I wrote an extensive script in R that takes the most recent data available for the number of new/confirmed COVID-19 cases per day by location and computes the probability using statistical learning that a selected location will observe a new COVID-19 case (probability of observing a non-zero daily percentage return). […]

I wrote an extensive application using NLP and TensorFlow/Keras in Python that looks at all of the current and upcoming Hollywood releases for 2020 and tracks the online Twitter sentiment for each of them. The model output was then displayed in a PowerBI dashboard. In essence, we are predicting the classification probability . You can […]

By: Dr. Ikjyot Singh Kohli The conventional wisdom by the political pundits/analysts who are seeking to explain Joe Biden’s massive win in the 2020 South Carolina primary is that Jim Clyburn’s endorsement was the sole reason why Biden won. (Here is just one article describing this.) I wanted to analyze the data behind this and […]

By: Dr. Ikjyot Singh Kohli Election season is upon us again, and a number of people from political analysts to campaign advisors are making a huge deal about winning the Iowa caucuses. This seems to be the standard “wisdom”. I decided to run some analysis on the data to see if it was true. I […]

Here is an embedded dashboard that shows a number of statistical insights for NBA teams, their opponents, and individual players as well. You can compare multiple teams and players. Navigate through the different pages by clicking through the scrolling arrow below. (The data is based on the most recent season “per-game” numbers.) (If you cannot […]

Trump has once again put The U.S. on the world stage this time at the expense of innocent children whose families are seeking asylum. The Trump administration’s justification is that: “They want to have illegal immigrants pouring into our country, bringing with them crime, tremendous amounts of crime.” I decided to try to […]

As more and more teams are increasing the number of threes they attempt based on some misplaced logical fallacy that this somehow leads to an efficient offense, we show below that it is in fact in a team’s opponent’s interest for a team to attempt as many three point shots as possible. Looking at this […]