StartParam function

Initializes the Parameters for Estimation Procedures

Initializes the Parameters for Estimation Procedures

Subroutine called by the fitting procedures. The procedure initializes the parameters for the fitting procedure. UTF-8

StartParam(coordx, coordy,coordz ,coordt,coordx_dyn, corrmodel, data, distance, fcall, fixed, grid,likelihood, maxdist, neighb,maxtime, model, n, param, parscale,paramrange, radius, start, taper, tapsep, type,typereal, weighted,copula, X,memdist,nosym)

Arguments

  • coordx: A numeric (dx2d x 2)-matrix or (dx3d x 3)-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 mm numeric (dx2d x 2)-matrices containing dynamical (in time) spatial coordinates. Optional argument, the default is NULL

  • corrmodel: String; the name of a correlation model.

  • data: A numeric vector or a (nxdn x d)-matrix or (dxdxnd x d x n)-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 (nxdn x d)-matrix, instead if TRUE then (dxdxnd x d x n)-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 lag considered in the composite-likelihood computation.

  • radius: Numeric; the radius of the sphere in the case of lon-lat coordinates. The default is 6371, the radius of the earth.

  • model: String; the density associated to the likelihood objects. Gaussian is the default.

  • n: Numeric; number of trials for binomial random fields.

  • param: A numeric vector of parameter values required in the simulation procedure of random fields.

  • parscale: A numeric vector of scaling factor to improve the maximizing procedure, see optim.

  • paramrange: A numeric vector of parameters ranges, see optim.

  • start: A named list with the initial values of the parameters that are used by the numerical routines in maximization procedure.

  • 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 adaptive taper (see Details ).

  • type: String; the type of likelihood objects. Temporary value set to be "WLeastSquare" (weigthed least-square) in order to compute the starting values.

  • typereal: String; the real type of likelihood objects. See GeoFit.

  • weighted: Logical; if TRUE the likelihood objects are weighted, see GeoFit.

  • copula: The type of copula.

  • X: Numeric; Matrix of space-time covariates.

  • 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.

Details

Internal function called by WlsStart.

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

  • Maintainer: Moreno Bevilacqua
  • License: GPL (>= 3)
  • Last published: 2025-01-14