OLSw | R Documentation |
Compute OLS with arbitrary vector of weights (possibly negative)
OLSw(y, X, w)
y |
Response vector |
X |
A numeric data matrix |
w |
vector of weights (same length as y) |
Regression vector beta of length ncol(X).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.