psstG(object, r = NULL, breaks = NULL, ...,
trend = ~1, interaction = Poisson(), rbord = reach(interaction),
truecoef = NULL, hi.res = NULL)
"ppm"
)
or a point pattern (object of class "ppp"
)
or quadrature scheme (object of class "quad"
).r
for advanced use.hi.res
.quadscheme
.
If this argument is present, the model will be
re-fitted at high resolution as specified by these parameters.
The coefficients
of the re"fv"
),
essentially a data frame of function values. Columns in this data frame include dat
for the pseudosum,
com
for the compensator and res
for the
pseudoresidual.
There is a plot method for this class. See
fv.object
.
Geyer
) with saturation parameter 1.
The family of alternatives includes
models that are more regular than the fitted model,
and others that are more clustered than the fitted model.For any point pattern $x$, and any $r > 0$, let $S(x,r)$ be the number of points in $x$ whose nearest neighbour (the nearest other point in $x$) is closer than $r$ units. Then the pseudoscore for the null model is $$V(r) = \sum_i \Delta S(x_i, x, r ) - \int_W \Delta S(u,x,r) \lambda(u,x) {\rm d} u$$ where the $\Delta$ operator is $$\Delta S(u,x,r) = S(x\cup{u}, r) - S(x\setminus u, r)$$ the difference between the values of $S$ for the point pattern with and without the point $u$.
According to the Georgii-Nguyen-Zessin formula, $V(r)$ should have mean zero if the model is correct (ignoring the fact that the parameters of the model have been estimated). Hence $V(r)$ can be used as a diagnostic for goodness-of-fit.
The diagnostic $V(r)$ is also called the pseudoresidual of $S$. On the right hand side of the equation for $V(r)$ given above, the sum over points of $x$ is called the pseudosum and the integral is called the pseudocompensator.
psstA
,
psst
,
Kres
,
Gres
.X <- rStrauss(200,0.1,0.05)
plot(psstG(X))
plot(psstG(X, interaction=Strauss(0.05)))
Run the code above in your browser using DataLab