find.omega: find.omega

View source: R/GWexPrec_lib.r

find.omegaR Documentation

find.omega

Description

finds the correlation between normal variates leading to correlation between occurrences

Usage

find.omega(rho.emp, Qtrans.mat, mat.comb, nLag, nChainFit)

Arguments

rho.emp

target correlation between occurences

Qtrans.mat

transition probabilities, 2 x ncomb matrix

mat.comb

matrix of logical: ncomb x nlag

nLag

order of the Markov chain

nChainFit

length of the simulated chains used during the fitting

Value

scalar

needed correlation

Author(s)

Guillaume Evin


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