theta | R Documentation |
Compute the Regime mobility measure Rey (2004)
theta(x, Regime, nsim = NULL)
x |
a |
Regime |
values corresponding to which regime each observation belongs to |
nsim |
number of random spatial permutations to generate for computationally based inference |
For sequence of time periods Theta measures the extent to which rank changes for a variable measured over n locations are in the same direction within mutually exclusive and exhaustive partitions (regimes) of the n locations.
A data frame
Rey, S.J. (2004) “Spatial dependence in the evolution of regional income distributions,” in A. Getis, J. Mur and H.Zoeller (eds). Spatial Econometrics and Spatial Statistics. Palgrave, London, pp. 194-213.
data(mexico)
theta(mexico[,1:7],mexico[,8],999)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.