Description Usage Arguments Value
View source: R/utility_functions.R
This function takes OLS coefficients and a Y vector to estimate σ^2 for the model.
1 | sigmaSq(Y, bias_correct, S, X)
|
Y |
Dependent variable from OLS model |
S |
Matrix of error terms. Dimensions must be length(coef) x length(coef) |
X |
Design matrix that produced OLS coefficients |
bias_corrrect |
Bias corrected OLS coefficients |
Estimate of σ^2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.