infer.dep.amount: infer.dep.amount

View source: R/GWexPrec_lib.r

infer.dep.amountR Documentation

infer.dep.amount

Description

estimate parameters which control the spatial dependence between intensities using a copula

Usage

infer.dep.amount(
  P.mat,
  isPeriod,
  infer.mat.omega.out,
  nLag,
  th,
  parMargin,
  typeMargin,
  nChainFit,
  isMAR,
  copulaInt,
  isParallel
)

Arguments

P.mat

precipitation matrix

isPeriod

vector of logical n x 1 indicating the days concerned by a 3-month period

infer.mat.omega.out

output of infer.mat.omega

nLag

order of he Markov chain for the transitions between dry and wet states (=2 by default)

th

threshold above which we consider that a day is wet (e.g. 0.2 mm)

parMargin

parameters of the margins 2 x 3

typeMargin

'EGPD' (Extended GPD) or 'mixExp' (Mixture of Exponentials). 'EGPD' by default

nChainFit

integer, length of the runs used during the fitting procedure. =100000 by default

isMAR

logical value, do we apply a Autoregressive Multivariate Autoregressive model (order 1) =TRUE by default

copulaInt

'Gaussian' or 'Student': type of dependence for amounts (='Student' by default)

isParallel

logical: indicate computation in parallel or not (easier for debugging)

Value

list

list of estimates (e.g., M0, dfStudent)

Author(s)

Guillaume Evin


GWEX documentation built on Nov. 8, 2023, 5:06 p.m.