Description Usage Arguments Details Value
Simulates a SAR model
1 2 3 |
G |
Square matrix of class |
X |
Numeric matrix of covariates of size n * k. |
rho |
Numeric scalar. |
beta |
Numeric colvector of length k. |
p |
Number of iterations in the approximation to (I_n - ρ W)^{-1}. |
xmean |
Numeric vector of length n. |
Follows a model SAR
y = rho * W * y + X*beta + eps, eps ~ MVN(0, sigma^2 *I_n)
A numeric vector of length n.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.