get.inital.values.rSPDE: Initial values for log-likelihood optimization in rSPDE...

View source: R/util.R

get.inital.values.rSPDER Documentation

Initial values for log-likelihood optimization in rSPDE models with a latent stationary Gaussian Matern model

Description

Auxiliar function to obtain domain-based initial values for log-likelihood optimization in rSPDE models with a latent stationary Gaussian Matern model

Usage

get.inital.values.rSPDE(
  mesh = NULL,
  mesh.range = NULL,
  dim = NULL,
  include.nu = TRUE,
  log.scale = TRUE,
  include.tau = FALSE,
  nu_upper_bound = NULL
)

Arguments

mesh

An in INLA mesh

mesh.range

The range of the mesh.

dim

The dimension of the domain.

include.nu

Should we also provide an initial guess for nu?

log.scale

Should the results be provided in log scale?

include.tau

Should tau be returned instead of sigma?

nu_upper_bound

Should an upper bound for nu be considered?

Value

A vector of the form (theta_1,theta_2,theta_3) or where theta_1 is the initial guess for tau, theta_2 is the initial guess for kappa and theta_3 is the initial guess for nu.


rSPDE documentation built on Sept. 17, 2022, 1:05 a.m.