Description Usage Arguments Details Value Author(s) See Also
Block update function by a Metropolis decision
1 | updateBlockTwDEMC(xC, argsFUpdateBlock)
|
xC |
numeric vector: current state that is used in density function of the block |
argsFUpdateBlock |
further argument provided for generating the update
|
Function arguments above are provided to all block update functions.
If Metropolis update is used, argument argsFUpdateBlock
constains the following additional entries
positions of the dimensions in x that are updated in this block
if given and >0 delayed Rejection (DR) (Haario06) is applied: If proposal is rejected, then a second proposal is tried jumping only DRgamma distance along the proposal
list on used logDensity function static troughout inversion with items
additional arguments to fLogDen and scalar factor applied to result of fLogDen
the matching positions of intResCompNames within the the results components that are handled internally
integer vector (nResComp): maximum logDensity (overfitting control, usually -1/2 nObs)
function and additional arguments applied to xProp, e.g. to round it to discrete values
list on current Metropolis update variable troughout inversion with items
proposed jump
extra portion in Metropolis decision because of selecting the jump
numeric vector: former result of call to same fLogDen
numeric vector of length(logDenCompC): temperature for each density result component
if posLogDenInt is given, then these components of result of fLogDen are handled internally. Hence, for Metropolis step here operates only on other remaining components.
list with components
accepted |
boolean scalar: if step was accepted |
xC |
numeric vector: components of position in parameter space that are being updated (if accepted then the same as xP) |
logDenCompC |
numeric vector: result components of fLogDen for current position (if accepted then the same as logDenCompP) |
intermediate |
intermediate result of current state (if provided by logDensity) |
xP |
numeric vector: components of proposal that are being |
logDenCompP |
numeric vector: result components of fLogDen for proposal, may inlcude attr "intermediate" |
Thomas Wutzler
twDEMCBlockInt
.updateBlocksTwDEMC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.