Computes Starting Values based on Weighted Least Squares
Computes Starting Values based on Weighted Least Squares
Subroutine called by GeoFit. The function returns opportune starting values for the composite-likelihood fitting procedure based on weigthed least squares.
UTF-8
coordx: A numeric (dx2)-matrix or (dx3)-matrix Coordinates on a sphere for a fixed radius radius
are passed in lon/lat format expressed in decimal degrees.
coordy: A numeric vector giving 1-dimension of spatial coordinates; Optional argument, the default is NULL.
coordz: A numeric vector giving 1-dimension of spatial coordinates; Optional argument, the default is NULL.
coordt: A numeric vector assigning 1-dimension of temporal coordinates.
coordx_dyn: A list of m numeric (dx2)-matrices containing dynamical (in time) spatial coordinates. Optional argument, the default is NULL
corrmodel: String; the name of a correlation model, for the description.
data: A numeric vector or a (nxd)-matrix or (dxdxn)-matrix of observations.
distance: String; the name of the spatial distance. The default is Eucl, the euclidean distance. See the Section Details .
fcall: String; "fitting" to call the fitting procedure and "simulation" to call the simulation procedure.
fixed: A named list giving the values of the parameters that will be considered as known values.
grid: Logical; if FALSE (the default) the data are interpreted as a vector or a (nxd)-matrix, instead if TRUE then (dxdxn)-matrix is considered.
likelihood: String; the configuration of the composite likelihood.
maxdist: Numeric; an optional positive value indicating the maximum spatial distance considered in the composite-likelihood computation.
neighb: Numeric; an optional positive integer indicating the order of neighborhood in the composite likelihood computation. See the Section Details for more information.
maxtime: Numeric; an optional positive value indicating the maximum temporal separation considered in the composite-likelihood computation.
model: String; the name of the model. Here the default is NULL.
n: Numeric; number of trials in a binomial random field.
param: A numeric vector of parameter values required in the simulation procedure of random fields.
parscale: A numeric vector with scaling values for improving the maximisation routine.
paramrange: A numeric vector with the range of the parameter space.
radius: Numeric; a value indicating the radius of the sphere when using the great circle distance. Default value is the radius of the earth in Km (i.e. 6371)
start: A numeric vector with starting values.
taper: String; the name of the type of covariance matrix. It can be Standard (the default value) or Tapering for taperd covariance matrix.
tapsep: Numeric; an optional value indicating the separabe parameter in the space time quasi taper (see Details ).
type: String; the type of estimation method.
varest: Logical; if TRUE the estimates' variances and standard errors are returned. FALSE is the default.
weighted: Logical; if TRUE the likelihood objects are weighted, see GeoFit.
copula: String; the type of copula. It can be "Clayton" or "Gaussian"
X: Numeric; Matrix of spatio(temporal)covariates in the linear mean specification.
memdist: Logical; if TRUE then the distances in the composite likelihood are computed before the optmization.
nosym: Logical; if TRUE two simmetric weights are not considered
Returns
A list with a set of useful informations in the estimation procedure.