This function summarizes estimated spqtest objects. The tables in the output include basic information for each test. blablabla...
Usage
# S3 method for class 'spqtest'
summary(object, ...)
Author
Fernando López | fernando.lopez@upct.es |
Román Mínguez | roman.minguez@uclm.es |
Antonio Páez | paezha@gmail.com |
Manuel Ruiz | manuel.ruiz@upct.es |
Examples
# Example 1: With coordinates
N <- 100
cx <- runif(N)
cy <- runif(N)
coor <- cbind(cx,cy)
p <- c(1/6,3/6,2/6)
rho = 0.5
listw <- spdep::nb2listw(spdep::knn2nb(
spdep::knearneigh(cbind(cx, cy), k = 4)))
fx <- dgp.spq(list = listw, p = p, rho = rho)
q.test <- Q.test(fx = fx, coor = coor, m = 3, r = 1)
summary(q.test)
Qualitative Dependence Test (Q)
Distribution: asymptotic. Distance: Euclidean
Q
df
p.value
k
N
m
r
R
n
R/n
5k^m
V1 - standard-permutations
V1 - equivalent-combinations
plot(q.test)
#> [[1]]
#>
#> [[2]]
#>