homo.test | R Documentation |
Computes the Test of time homogeneity based on Bickenbach and Bode (2003)
homo.test(x, classes = 5, pr = 3)
x |
numerical matrix of n spatial unit ans t time periods |
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 |
pr |
number of subperiods in which to divide the entire sample |
for later.....
A list coantaning the Q statistic and the LR statistic.
Bickenbach, F. and Bode, E. 2003. Evaluating the Markov Property in Studies of Economic Convergence, International Regional Science Review, vol. 26, no. 3, 363–92
data(us48)
data <- as.data.frame(us48)
pci <- data[,10:90]
rpci <- pci/matrix(1,dim(pci))%*%colMeans(pci)
homo.test(rpci,pr=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.