Quantile Regression for robust regression
ranger …predict
if (is.null(data)) {
stop(“Error: Argument ‘data’ is required for non-quantile prediction.”)
}
Error: Argument ‘data’ is required for non-quantile prediction
https://cran.r-project.org/web/packages/quantreg/quantreg.pdf
library(moments) ## skewness and kurtosis
library(quantreg) ## for robust regression