estimate_prior_from_DR {BayesBrainMap} | R Documentation |
Estimate prior from DR
Description
Estimate variance decomposition and priors from DR estimates.
Usage
estimate_prior_from_DR(DR, LV = NULL)
Arguments
DR |
the test/retest dual regression estimates, as an array with
dimensions ( |
LV |
A length-two integer vector giving the dimensions |
Value
List of two elements: the priors and the variance decomposition.
There are two version of the variance prior: varUB
gives the
unbiased variance estimate, and varNN
gives the upwardly-biased
non-negative variance estimate. Values in varUB
will need to be
clamped above zero before using in BrainMap
.