powered by
The function generates k-ahead and k-behind weighting matrices as in Kelejian and Prucha (1999)
circular(nrow, ncol, ab)
An object of class nb
nb
Number of rows
Number of columns
Ahead - behind
Gianfranco Piras gpiras@mac.com
Generate circular weigthing matrices
ab.3 <- circular(10, 10, 3) ab.5 <- circular(15, 15, 5)
Run the code above in your browser using DataLab