Description Usage Arguments Value Author(s)
Calculates the variance-covariance matrix of ordinary least squares estimates (σ^2 ≤ft(\mathbf{X}^{\prime} \mathbf{X} \right)^{-1}).
1 | linreg_vcov(beta_hat = NULL, X, y, m = FALSE, s2_est = "ols")
|
beta_hat |
Vector of k estimated regression parameters.
If |
X |
The data matrix, that is an n \times k matrix of n observations of k regressors, which includes a regressor whose value is 1 for each observation. |
y |
n \times 1 vector of observations on the regressand variable. |
m |
Logical.
If |
s2_est |
String.
Residual variance estimator.
If |
Returns variance-covariance matrix of regression coefficients.
Ivan Jacob Agaloos Pesigan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.