Publications by by : Chris at Savvy Analytics
Inverted Yield Curves in Motion
Background : Inverted yield curves have been touted as the harbinger of recession. Goal : This document is just going to visualize a few historical inverted yield curves and animate them so that we can visually see how the yield curve changes in the time period around its’ inversion. This analysis will strictly focus on US treasury yield rate...
1678 sym R (4467 sym/5 pcs) 4 img
Minimum Wage and Inflation
Background : The federal minimum wage was first legislated in the US in 1938 at $0.25/hr. In the years since, opinions have been divided on the benefits and detriments of a floor on wages. Goal : This document will focus on the basic relationship between the federal minimum wage and inflation as measured by the Consumer Price Index or CPI. Spec...
5089 sym R (9692 sym/7 pcs) 4 img
News Bias Analysis
Background : Can bias in news reporting be measured with basic text analytics? Goal : We are going to explore daily news feeds and see if we can detect variances in how various news sources report or don’t report stories. Can text analytics make sense of this? Note : This article, like most of mine on R-Pubs, is both instructional and inves...
50531 sym R (23816 sym/20 pcs) 8 img
NFL Survivor Project
Background : We decided to have an NFL “Survivor League” for our fall office pool this year (2021-2022). The rules are fairly simple. Pick 1 winning team for each week of the 18 game regular season. If your team wins or ties, you advance to the next week. Week 12 is a special case where you have to pick two teams and both have to win in ord...
6821 sym R (22443 sym/9 pcs) 3 img 4 tbl
Inflation Monitor
Background : As we exit the recession driven by Covid-19, there has been a lot of talk about high inflation. Some inflation is probably inevitable with all of the various stimulus programs in 2020 and 2021. However, nearly all of the comparisons we hear on the news are measuring back to the trough of the recession in 2020. Comparisons to that tr...
2867 sym R (6682 sym/5 pcs) 4 img
Excess Deaths
Background : Yes, this is yet another Covid dashboard. However, while there are many Covid dashboards, many of them fail to put the scale of the pandemic in perspective over time and across countries. Goal : Positive cases can be skewed by the availability of testing. Likewise the success of the vaccines are muted when you have a positive test ...
1913 sym R (9656 sym/7 pcs) 5 img 1 tbl
Clustering With K-Means and DBScan
Purpose : This notebook will explore simple examples of how K-Means and DBScan clustering algorithms work in R. The goal is to give my analytics team a quick primer in clustering so that they can explore adding clustering features to their regression and classification models in order to improve accuracy. In order to do a simple evaluation of cl...
4946 sym R (3198 sym/4 pcs) 4 img