Categories
Data Analytics Data Science education Mathematics Statistics

Deriving Least Squares Coefficients Using Tensor/Index Notation

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.

Categories
Basketball Chicago Bulls Data Analytics Data Science Mathematics NBA Sports Statistics

Michael Jordan or Lebron James?

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 […]

Categories
Biology Data Analytics Data Science Mathematics Statistics

Coronavirus Predictions

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). […]

Categories
Data Analytics Data Science Hollywood Movies Statistics

Movie Sentiment Tracker

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 […]

Categories
Data Analytics Data Science Elections Politics Statistics

Did Clyburn Help Biden in South Carolina?

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 […]

Categories
Uncategorized

Optimal Strategies for Winning The Democratic Primaries

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 […]

Categories
Basketball Data Analytics Data Science Mathematics NBA Sports Statistics Uncategorized

NBA Analytics Dashboard

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 […]

Categories
Data Analytics Data Science Elections Mathematics Politics Statistics

The Probability of An Illegal Immigrant Committing a Crime In The United States

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 […]

Categories
Basketball Data Analytics Data Science Mathematics NBA NBA Playoffs Sports Statistics

The Risk of The 3-Point Shot

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 […]

Categories
Basketball Chicago Bulls Data Analytics Data Science Mathematics NBA NBA Finals Sports Statistics

What if Michael Jordan Played in Today’s NBA?

By: Dr. Ikjyot Singh Kohli It seems that one cannot turn on ESPN or any YouTube channel nowadays without the ongoing debate of whether Michael Jordan is better than Lebron, what would happen if Michael Jordan played in today’s NBA, etc… However, I have not seen a single scientific approach to this question. Albeit, it […]