Description Usage Arguments Value Author(s)
Uses optim to find regression estimates which minimize dispersion function on X and Y input matrices
1 2 | minimize_dispersion(X, Y, method = "BFGS", init.guess = "quantreg",
verbose = FALSE, se = TRUE)
|
X |
Input matrix |
Y |
Response vector |
method |
Method optim should use - one of "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN", or "Brent". |
init.guess |
How to calculate the first regression estimate. Defaults to using quantile regression. |
verbose |
Whether to print out verbose messages. |
se |
Whether or not to calculate standard errors of regression estimates. |
theta |
Regression parameter estimates |
ehat |
Regression residuals |
Herb Susmann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.