Code and Data to "Quantile regression for temporal streamflow modeling"
<p>This is the accompanying code to "Quantile regression for temporal streamflow modeling", which is part of the manuscript "The Role of Process Heterogeneity in Statistical Modeling", which was submitted to the Austrian Journal of Statistics. </p> <p> </p> <p>The data used in this publication is fully accessible through the <a href="https://doi.org/10.5194/essd-13-4529-2021" target="_blank" rel="noopener">LamaH-CE</a> dataset. The two scripts "functions_create_data.R" and "create_data.R" will create the final dataset used for modelling. </p> <p>"functions_modelling.R" provide the functions for tuning the XGBoost model and computing the SHAP values. An example script is also attached (calc_predictions_shap.R). "analyzing_results.R" and "error_metrics.R" will produce the final output used in the manuscript. Finally, two plots produced in the script are added as pdf. </p> <p>All data analysis was performed in R, and we want to acknowledge the following packages: <a href="https://dplyr.tidyverse.org/">dplyr</a>, <a href="https://tidyr.tidyverse.org/">tidyr</a>, <a href="https://www.jstatsoft.org/v40/i03/">lubridate</a>, <a href="https://purrr.tidyverse.org/">purrr</a>, <a href="https://doi.org/10.18637/jss.v033.i01">glmnet</a>, <a href="https://cran.r-project.org/web/packages/xgboost/index.html">xgboost</a>, <a href="https://CRAN.R-project.org/package=shapr">shapr</a>, <a href="https://CRAN.R-project.org/package=Metrics">Metrics</a>, <a href="https://CRAN.R-project.org/package=gridExtra" target="_blank" rel="noopener">gridExtra</a>, <a href="https://doi.org/10.18637/jss.v014.i06">zoo</a> and <a href="https://CRAN.R-project.org/package=wesanderson">wesanderson</a>. </p> <p> </p>
ShareScore
40/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 8
- Harmonization
- 4
- Access
- 16
- Reuse readiness
- 8
- Engagement
- 4