get.vec.autocor: get.vec.autocor

View source: R/GWexPrec_lib.r

get.vec.autocorR Documentation

get.vec.autocor

Description

find rho autocorrelation leading to empirical estimates

Usage

get.vec.autocor(vec.ar1.obs, Xt, parMargin, typeMargin, nChainFit, isParallel)

Arguments

vec.ar1.obs

vector of observed autocorrelations for all stations

Xt

simulated occurrences given model parameters of wet/dry states

parMargin

parameters of the margins p x 3

typeMargin

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

nChainFit

integer indicating the length of the simulated chains

isParallel

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

Value

vector

vector of rho parameters to simulate the MAR process

Author(s)

Guillaume Evin


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