Timothy Kyle Thomas

Financial Scatter Plots

Shiny app for comparing financial ratios and metrics. Allows to filter by year, market capitalization, S&P500 membership, share codes, industry and outliers. Dynamically displays scatter plot, distribution of variables being compared, as well as a fitted line with linear equation, \(R^2\), and number of observations.

Weather Comparison

Shiny app for comparing climate data between two cities. Shows records highs/lows, average highs/lows, precipitation, sunshine hours, and geographic position. Scales are dynamically adjusted to be the same when comparing cities.

R Notebooks

Getting Data from CRSP

There are multiple ways of getting data from WRDS. In this notebook, we will go over two primary ways as well as their respective pros and cons. We’ll also go over how to upload the data into a PostgreSQL database for easier use with your data analysis package of choice.

Python Notebooks

Getting Started with NFLDB and Postgresql

NFLDB and PostgreSQL are powerful yet easy to use tools for querying NFL data. This workflow can be used to answer questions you might have regarding the NFL or building a predictive model.

NFL Prediction with Logistic Regression

The NFL season is upon us. Most pundits can barely pick over 50% of the games right. Can we use machine learning techniques to beat them? Using a PostgreSQL database, we can build statistical tables that fed into a logistic regression model to predict home team wins. We also strengthen our model using ridge regression, scaling, and cross validation.