tion of the spatial dependence between a point process and a covariate, both without and
with presence of nuisance covariates. We define a correlation coefficient and a partial
correlation coefficient between a point process and a covariate. The second problem has
not been studied before, to our knowledge.
The first problem is usually solved by parametric methods (Schoenberg, 2005; Waage-
petersen and Guan, 2009; Kutoyants, 1998; Coeurjolly and Lavancier, 2013), see Sec-
tion 2.1 for details. However, we show in our simulation study that even when the
parametric model is selected correctly, these tests of covariate significance may lead to
liberality. The parametric methods have even bigger problems when: 1) the paramet-
ric model for the intensity function is incorrect, or 2) the form of interactions between
points is specified incorrectly. We propose here two tests of covariate significance, a
fully nonparametric one which avoids both selecting the intensity function model and
the interaction model, and a semiparametric one which does not assume an interaction
model but uses the log-linear intensity function model as the one predominantly used in
practice. These two proposed tests do not exhibit liberality, and their powers are compa-
rable with the powers of parametric methods in cases with correctly specified models for
the intensity function and the interactions. The proposed tests also have a higher power
than the parametric ones when either the intensity function model or the interaction
model is misspecified.
Since the proposed nonparametric tests do not need to choose a specific model and
exhibit better properties than parametric methods, their use should become a standard
practice in the analysis of point patterns.
For determining relevant covariates one can also use the lurking variable plots (Bad-
deley and Turner, 2005) or appropriate information critera (Choiruddin et al., 2021) but
these do not provide formal tests. The only nonparametric method studying the depen-
dence of a point process and a covariate without nuisance covariates was introduced in
Dvoˇr´ak et al. (2022).
Throughout the paper, we assume that the spatial covariates are continuous. The
methodology is up to a certain extent also applicable for categorical covariates, as dis-
cussed in Section 7.
1.2 Motivational examples
To illustrate the relevance of the questions posed above, we consider a part of the tropical
tree data set from the Barro Colorado Island plot (Condit, 1998). We focus on the
positions of 3 604 trees of the Beilschmiedia pendula species in a rectangular 1 000 ×500
metre sampling plot, plotted in the top left panel of Figure 1. This part of the data set
is available in the spatstat package. Below, we call it the BCI data set.
The intensity of point occurrence in the observation window is clearly nonconstant as
the trees tend to prefer specific environmental conditions. The variation in the intensity
of point occurrence may possibly be explained by the accompanying covariate informa-
tion. The available covariates include the terrain elevation and gradient (available in
the spatstat package) and the soil contents of mineralised nitrogen, phosphorus and
potassium (Dalling et al., 2022), see Figure 1. Maybe all the covariates bring important
2