WlsStart {GeoModels} | R Documentation |
Computes Starting Values based on Weighted Least Squares
Description
Subroutine called by GeoFit. The function returns opportune starting values for the composite-likelihood fitting procedure based on weigthed least squares.
Usage
WlsStart(coordx, coordy, coordt, coordx_dyn, corrmodel, data, distance, fcall,
fixed, grid,likelihood, maxdist, neighb,maxtime, model, n, param,
parscale, paramrange, radius,start, taper, tapsep, type, varest,
vartype, weighted, winconst,winconst_t, winstp_t, winstp,copula,X,memdist,nosym)
Arguments
coordx |
A numeric ( |
coordy |
A numeric vector assigning 1-dimension of
coordinates; |
coordt |
A numeric vector assigning 1-dimension of temporal coordinates. |
coordx_dyn |
A list of |
corrmodel |
String; the name of a correlation model, for the description. |
data |
A numeric vector or a ( |
distance |
String; the name of the spatial distance. The default is |
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 |
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
|
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 |
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 |
vartype |
String; the type of estimation method for computing the estimate variances, see the Section Details. |
weighted |
Logical; if |
winconst |
Numeric; a positive value for computing the spatial sub-window in the sub-sampling procedure. |
winstp |
Numeric; a value in |
winconst_t |
Numeric; a positive value for computing the temporal sub-window in the sub-sampling procedure. |
winstp_t |
Numeric; a value in |
copula |
The type of copula. |
X |
Numeric; Matrix of spatio(temporal)covariates in the linear mean specification. |
memdist |
Logical; if |
nosym |
Logical; if TRUE two simmetric weights are not considered |
Details
Internal function called by GeoFit
.
Value
A list with a set of useful informations in the estimation procedure.
Author(s)
Moreno Bevilacqua, moreno.bevilacqua89@gmail.com,https://sites.google.com/view/moreno-bevilacqua/home, Víctor Morales Oñate, victor.morales@uv.cl, https://sites.google.com/site/moralesonatevictor/, Christian", Caamaño-Carrillo, chcaaman@ubiobio.cl,https://www.researchgate.net/profile/Christian-Caamano