Skip to contents

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, ...)

Arguments

object

An spqtest object including a list of htest.

...

further arguments passed to or from other methods.

Value

An object of class summary.spqtest

Author

Fernando Lópezfernando.lopez@upct.es
Román Mínguezroman.minguez@uclm.es
Antonio Páezpaezha@gmail.com
Manuel Ruizmanuel.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
30.76 26 0.23727 3 100 3 1 49 27 1.81 135
V1 - equivalent-combinations
14.00 9 0.12222 3 100 3 1 49 10 4.90 135
plot(q.test) #> [[1]] #> #> [[2]] #>