R code underlying the analysis reported in Predicting elbow load based on individualised (inter)segmental rotation in fastball pitching
doi: 10.4121/22134674
The R code for external valgus torque prediction in baseball pitching. We fitted two-level varying-intercept, varying-slope Bayesian models with various combinations of observed kinematic predictors (pelvis peak angular velocity, trunk peak angular velocity and separation time). The weight and height of the pitchers were added to the kinematic predictors in all models to strengthen the individualization of the external valgus torque prediction. The purpose of the external valgus torque future prediction is to estimate elbow loading for every individual pitcher, not only ones included in this study. Therefore we used leave-one-group-out cross-validation to select the model with best predictive performance.
- 2023-02-24 first online, published, posted
DATA
- 4,650 bytesMD5:
95ccb9483423b84426fc080ddd4283c0
Gomaz_Analysis.R -
download all files (zip)
4,650 bytes unzipped