get.M0: get.M0

View source: R/GWexPrec_lib.r

get.M0R Documentation

get.M0

Description

find matrix of correlations leading to estimates cor between intensities

Usage

get.M0(
  cor.obs,
  infer.mat.omega.out,
  nLag,
  parMargin,
  typeMargin,
  nChainFit,
  isParallel
)

Arguments

cor.obs

matrix p x p of observed correlations between intensities for all pairs of stations

infer.mat.omega.out

output of infer.mat.omega

nLag

order of the Markov chain

parMargin

parameters of the margins p x 3

typeMargin

type of marginal distribution: 'EGPD' or 'mixExp'

nChainFit

integer indicating the length of simulated chains

isParallel

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

Value

list with two items

  • Xt long simulation of the wet/dry states according to the model

  • M0 covariance matrix of gaussianized prec. amounts for all pairs of stations

Author(s)

Guillaume Evin


guillaumeevin/GWEX documentation built on Feb. 9, 2024, 3:22 a.m.