sp.mkv: Spatial Markov transition probability matrix

View source: R/sp.mkv.R

sp.mkvR Documentation

Spatial Markov transition probability matrix

Description

Compute the Spatial Markov transition probability matrix (Rey,2001)

Usage

sp.mkv(m, W, classes = 5, fixed = TRUE)

Arguments

m

numerical matrix of n spatial unit ans t time periods

W

an objet of listw class.

classes

a number of a numeric vector of two or more unique cut points giving the number of intervals into which x will be cut

fixed

logical, if it is TRUE the data are pooled over space and time and the quintiles calculated for the pooled data

Details

for later..

Value

a list contaning the markov's trantiional matrix and the markov's transition probability matrix

References

Rey, S.J. (2001) “Spatial empirics for economic growth and convergence”, 34 Geographical Analysis, 33, 195-214.

Examples

data(us48)
data <- as.data.frame(us48)
pci <- data[,10:90]
rpci <- pci/matrix(1,dim(pci))%*%colMeans(pci)
w1queen <- nb2listw(poly2nb(us48))
sp.mkv(rpci,w1queen)


amvallone/estdaR documentation built on March 30, 2024, 9:38 p.m.