| beta_ols | R Documentation |
Computes OLS coefficients using .lm.fit for computational efficiency.
If Y is a matrix, applies OLS column-wise.
beta_ols(X, Y)
X |
A numeric matrix of regressors (T × k). |
Y |
A numeric matrix or vector of responses (T × N or T × 1). |
A numeric matrix of coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.