-
data.zip: zip file containing data used
- Files under data_from_R output from Data_Acquisition.Rmd and input for Clean_OB.ipynb
- Files under data_cleaned_OB output from Clean_OB.ipynb and input for Data_Cleaning_PA.ipynb and Data_Cleaning_SB.ipynb
-
Data_Aquisition.Rmd: Provides code to access pbp data for all seasons
- Output files stored within data.zip, in data_from_R folder
-
Clean_OB.Rmd: Provides code to clean and adjust "Men_OB" feature of pbp data
- Input files stored within data.zip, in data_from_R folder
- Ouput files stored within data.zip, in data_cleaned_OB folder
-
ABS_teams.Rmd: Provides code to acquire game_pks of Triple-A teams from 2022 season that used automated ball and strike system (ABS)
-
problem_pks.csv: Output of ABS_teams.Rmd, list of game_pks of Triple-A games from 2022 in which ABS was active
- Used as inputs for Data_Cleaning_PA.ipynb and Data_Cleaning_SB.ipynb
-
Data_Cleaning_PA.Rmd: Provides code to clean and prepare data for final PA model
- Main input files stored within data.zip, in data_cleaned_OB folder
- Additional input file, problem_pks.csv
- Ouput files stored within /PA/PA_data.zip
-
Data_Cleaning_SB.Rmd: Provides code to clean and prepare data for final SB model
- Main input files stored within data.zip, in data_cleaned_OB folder
- Additional input file, problem_pks.csv
- Ouput files stored within /SB/SB_data.zip
-
PA_data.zip: zip file containing data used
- Files under data_from_R output from Data_Cleaning_PA.ipynb and input for PA_model.Rmd
-
Final_fitted_PA_models.zip: zip file containing final fitted R model objects for overarching as well as count sub-models
- Each sub-model has its own folder within it, containing:
- .txt output of the model summary
- The .rds model object
- A .csv file with output of fitted values
- Each sub-model has its own folder within it, containing:
-
PA_model.Rmd:
- Used to fit the PA outcome models
-
SB_data.zip: zip file containing data used
- Files under data_from_R output from Data_Cleaning_SB.ipynb and input for SB_model.Rmd
-
Final_fitted_SB_models.zip: zip file containing final fitted R model objects for overarching as well as count sub-models
- Each sub-model has its own folder within it, containing:
- .txt output of the model summary
- The .rds model object
- .txt output of the model summary for model fit without "AB_pickoffs" feature
- The .rds model object for model fit without "AB_pickoffs" feature
- Each sub-model has its own folder within it, containing:
-
SB_model.Rmd:
- Used to fit the SB attempt models