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


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