Uses optim to find regression estimates which minimize dispersion function on X and Y input matrices
minimize_dispersion(X, Y, method = "BFGS", init.guess = "quantreg",
verbose = FALSE, se = TRUE)
Input matrix
Response vector
Method optim should use - one of "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN", or "Brent".
How to calculate the first regression estimate. Defaults to using quantile regression.
Whether to print out verbose messages.
Whether or not to calculate standard errors of regression estimates.
Regression parameter estimates
Regression residuals