View source: R/03_IFE_algorithm_functions.R
calculate_sigma2 | R Documentation |
Calculates sum of squared errors, divided by NT
calculate_sigma2(e, NN = nrow(e), TT = ncol(e))
e |
matrix with error terms |
NN |
N |
TT |
T |
numeric
Y <- Y_dgp3
set.seed(1)
e <- matrix(rnorm(nrow(Y) * ncol(Y)), nrow = nrow(Y))
calculate_sigma2(e)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.