homo.test: Test of time homogeneity

View source: R/homo.test.R

homo.testR Documentation

Test of time homogeneity

Description

Computes the Test of time homogeneity based on Bickenbach and Bode (2003)

Usage

homo.test(x, classes = 5, pr = 3)

Arguments

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

Details

for later.....

Value

A list coantaning the Q statistic and the LR statistic.

References

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

Examples

data(us48)
data <- as.data.frame(us48)
pci <- data[,10:90]
rpci <- pci/matrix(1,dim(pci))%*%colMeans(pci)
homo.test(rpci,pr=5)


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