Computes the change in log-evidence and the reduced posterior when
replacing the original prior with a reduced prior. Mirrors SPM25's
dcm_log_evidence.
dcm_log_evidence(qE, qC, pE, pC, rE = NULL, rC = NULL, ...)
Arguments
- qE
Posterior expectation under the original priors.
- qC
Posterior covariance.
- pE
Original prior expectation.
- pC
Original prior covariance.
- rE
Reduced prior expectation.
- rC
Reduced prior covariance.
- ...
Passed to rE if it is a function.
Value
List with F, sE, sC.