RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

datadataguy13

Tom Matthews

Recently Published

Errors, Endurance, and Enshrinement: A Statistical Look at Baseball with the Lahman Database
Do certain positions in baseball have a higher correlation to errors? Are there factors that determine if a player will play 80 or more games in a season? Does a player having more Gold Gloves and All-Star game appearances put them in special company in the Baseball Hall of Fame? Using a logistic regression model, this analysis explores which factors are most correlated with a fielder being error-prone. A principal component analysis (PCA) is then used to show that a player’s offensive output (hits, runs, RBIs) is closely tied to how many games they play in a season – i.e. whether they are an everyday “workhorse.” Finally, a K-Means clustering model groups Hall of Fame players by All-Star appearances and Gold Gloves won, revealing three distinct types of Hall of Famer. These models were built in R using the publicly available Lahman package (Friendly, Dalzell, Monkman, Murphy, Foot, & Zaki-Azat, 2020), which was cross-referenced against Baseball Reference for validation. The tables used were Fielding, Batting, People, HallOfFame, AwardsPlayers, and AllstarFull.
Thesis Defense Slides
Slides for Thesis defense
Raw Data: ChatGPT Poem Recreations, with Audio Readings
Audio files for Thesis
ChatGPTNLP
Compas Data Project