tribble.Rd
Fits the Diggle-Rowlingson Raised Incidence Model.
tribble(ccflag, vars=NULL, alphas=NULL, betas=NULL, rho,
which=1:length(alphas), covars=NULL, thetas=NULL,
steps=NULL, reqmin=0.001, icount=50, hessian=NULL)
Case-control flag : a vector of ones and zeroes.
A matrix where vars[i,j]
is the distance squared from point i
to source j
.
Initial value of the alpha
parameters.
Initial value of the beta
parameters.
Initial value of the rho
parameter.
Defines the mapping from sources to parameters.
A matrix of covariates to be modelled as log-linear terms. The element
covars[i,j]
is the value of covariate j
for case/control i
.
Initial values of covariate parameters.
Step sizes for the Nelder-Mead simplex algorithm.
Tolerance for simplex algorithm
Iteration count for simplex algorithm
by default NULL, any other value causes hessian to be computed and returned
The return value is a list with many components, and class ribfit
.
A vector of the alpha parameters at the maximum
A vector of the beta values at the maximum
The value of rho at the maximum
The maximised log-likelihood
The null log-likelihood
The function call to tribble
For further information see Diggle and Rowlingson (1993).
Rowlingson, B. and Diggle, P. 1993 Splancs: spatial point pattern analysis code in S-Plus. Computers and Geosciences, 19, 627-655; the original sources can be accessed at: https://www.maths.lancs.ac.uk/~rowlings/Splancs/. See also Bivand, R. and Gebhardt, A. 2000 Implementing functions for spatial statistical analysis using the R language. Journal of Geographical Systems, 2, 307-317.