Description Usage Arguments Value
View source: R/utility_functions.R
This function draws random variables vec(X'X, X'y) from a multivariate normal and constructs a simulated \tilde{β} and b.
1 | simulateEst(X, mu, Sigma, S, N)
|
X |
Design matrix that produced OLS coefficients |
mu |
Mean vector for multivariate normal |
Sigma |
Variance covariance matrix for mjultivariate normal |
S |
Matrix of error terms. Dimensions must be ncol(X) x ncol(X) |
N |
Number of rows in X |
One draw of vector of re-sample b and \tilde{β}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.