Skip to main content
QUICK REVIEW

[Paper Review] QR-Adjustment for Clustering Tests Based on Nearest Neighbor Contingency Tables

Elvan Ceyhan|ArXiv.org|Jul 26, 2008
Advanced Clustering Algorithms ResearchComputer Science14 references6 citations
TL;DR

This paper proposes QR-adjustment for nearest neighbor contingency table (NNCT) tests to correct for conditional inference under complete spatial randomness (CSR) independence, using empirically estimated expected values of shared (Q) and reflexive (R) nearest neighbors. Monte Carlo simulations show QR-adjustment does not significantly alter empirical size or power, indicating unadjusted and adjusted tests yield comparable results for clustering detection.

ABSTRACT

The spatial interaction between two or more classes of points may cause spatial clustering patterns such as segregation or association, which can be tested using a nearest neighbor contingency table (NNCT). A NNCT is constructed using the frequencies of class types of points in nearest neighbor (NN) pairs. For the NNCT-tests, the null pattern is either complete spatial randomness (CSR) of the points from two or more classes (called CSR independence) or random labeling (RL). The distributions of the NNCT-test statistics depend on the number of reflexive NNs (denoted by $R$) and the number of shared NNs (denoted by $Q$), both of which depend on the allocation of the points. Hence $Q$ and $R$ are fixed quantities under RL, but random variables under CSR independence. Using their observed values in NNCT analysis makes the distributions of the NNCT-test statistics conditional on $Q$ and $R$ under CSR independence. In this article, I use the empirically estimated expected values of $Q$ and $R$ under CSR independence pattern to remove the conditioning of NNCT-tests (such a correction is called the \emph{QR-adjustment}, henceforth). I present a Monte Carlo simulation study to compare the conditional NNCT-tests and QR-adjusted tests under CSR independence and segregation and association alternatives. I demonstrate that QR-adjustment does not significantly improve the empirical size estimates under CSR independence and power estimates under segregation or association alternatives. For illustrative purposes, I apply the conditional and empirically corrected tests on two example data sets.

Motivation & Objective

  • To address the conditional nature of NNCT-tests under CSR independence, where test statistics depend on random Q and R values.
  • To develop a practical correction (QR-adjustment) that replaces observed Q and R with empirically estimated expected values under CSR.
  • To evaluate whether QR-adjustment improves the validity and performance of NNCT-tests for detecting spatial segregation or association.
  • To compare conditional (unadjusted) and unconditional (QR-adjusted) NNCT-tests under CSR independence and alternative patterns.

Proposed method

  • Empirically estimate expected values of shared nearest neighbors (Q) and reflexive nearest neighbors (R) under CSR independence using extensive Monte Carlo simulations.
  • Replace observed Q and R values in NNCT-test statistics with their estimated expected values to create QR-adjusted test statistics.
  • Apply QR-adjusted versions of Dixon’s overall test and Ceyhan’s three new segregation tests to NNCTs.
  • Conduct Monte Carlo simulations to compare empirical sizes and power estimates between unadjusted and QR-adjusted tests under CSR independence and segregation/association alternatives.
  • Use the same NNCT structure and test statistics (e.g., chi-square-based) but condition on estimated E[Q] and E[R] instead of observed Q and R.
  • Apply both unadjusted and QR-adjusted tests to real and artificial data sets to illustrate practical implications.

Experimental results

Research questions

  • RQ1Does QR-adjustment improve the empirical size of NNCT-tests under the CSR independence null hypothesis?
  • RQ2Does QR-adjustment enhance the statistical power of NNCT-tests under segregation or association alternatives?
  • RQ3How do QR-adjusted and unadjusted NNCT-tests compare in terms of Type I and Type II error rates under CSR and alternative patterns?
  • RQ4Can empirically estimated expected values of Q and R effectively replace observed values in NNCT-tests without biasing inference?
  • RQ5Under what conditions might QR-adjustment alter conclusions compared to unadjusted tests?

Key findings

  • QR-adjustment does not significantly affect the empirical size of NNCT-tests under the CSR independence null hypothesis.
  • The power of NNCT-tests remains largely unchanged under segregation or association alternatives after QR-adjustment.
  • Test statistics decrease slightly after QR-adjustment, but the change is not substantial enough to alter conclusions in the studied examples.
  • In the artificial data set with 100 points (50 X, 50 Y), both unadjusted and QR-adjusted tests failed to reject CSR independence (p-values > 0.05).
  • For the swamp tree data, both unadjusted and QR-adjusted tests yielded the same conclusion: strong evidence for species segregation.
  • The difference in p-values between unadjusted and QR-adjusted versions is minimal, suggesting QR-adjustment does not substantially alter inference in typical cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.