computation Data Analytics Data Science Mathematics Statistics

R on Apple’s M1 Architecture

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

Mathematics Movies Physics Science

On Entropy and Time Reversal

As a huge Christopher Nolan fan, I am very excited that Tenet is finally coming out this week! Here is the new and final trailer for those of you that have not seen it yet: One of the main themes in this movie will evidently be on “time inversion/reversal” based on the reversing entropy. Since […]

Cosmology education General Relativity Mathematics Physics Science Uncategorized

Revisiting Kaluza Klein Theory

In the video below, I explain how to derive Kaluza Klein action which occurs from generalizing the Einstein-Hilbert action to five dimensions. The grand implication of this is that gravity and electromagnetism are unified!

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.

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

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

Basketball Mathematics NBA Sports Statistics

A Problem With Offensive Rating

Abstract: It is shown that the standard/common definition of team offensive rating/offensive efficiency implies that a team’s offensive rating increases as its opponent’s offensive rebounds increase, which, in principle, should not be the case. Over the past number of years, the advanced metric known as Offensive Rating has become the standard way of measuring a basketball […]

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

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

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