View source: R/spflow_moments.R
derive_spflow_moments | R Documentation |
spflow()
These are internal functions called within the estimation procedure
derive_spflow_moments(spflow_matrices, n_o, n_d, N, wt, na_rm = FALSE)
spflow_moment_var(spflow_matrices, wt, N, n_d, n_o)
spflow_moment_cov(Y, spflow_matrices)
The implementation details are derived in \insertCiteDargel2021;textualspflow and \insertCiteDargel2023;textualspflow.
The moment (U'U) moment matrix is grouped into 4 x 4 blocks. These 16 blocks are derived as interactions from the four sets of variables U_alpha, U_alpha_I, U_beta, U_gamma. Only ten blocks are unique and the remaining six are inferred by symmetry.
The moment (U'y) is grouped into four blocks using the same arguments. Here we can use the same function to compute the inner product of y and its spatial lags with U.
A list containing all moments required for the estimation
Lukas Dargel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.