circular {sphet}R Documentation

Generate circular weigthing matrices

Description

The function generates k-ahead and k-behind weighting matrices as in Kelejian and Prucha (1999)

Usage

circular(nrow, ncol, ab)

Arguments

nrow

Number of rows

ncol

Number of columns

ab

Ahead - behind

Details

Generate circular weigthing matrices

Value

An object of class nb

Author(s)

Gianfranco Piras gpiras@mac.com

Examples

ab.3 <- circular(10, 10, 3)
ab.5 <-  circular(15, 15, 5)

[Package sphet version 2.0 Index]