Shared¶
- class telescopic.couplings.Shared¶
The coupling of two independence proposals that gives both chains one proposal.
With the shared uniform of the acceptance, it is a maximal coupling of the two kernels: a pair meets when both chains accept (O’Leary, Wang & Jacob 2021).
- couple(target, proposal, state_x, state_y, draws)¶
Draw the coupled proposals of
npairs.- Parameters:
- target
Target The target that the chains sample.
- proposalProposal
The proposal of both chains, one that
supports()accepts.- state_x, state_y
State The first and the second chains of the pairs.
- draws
Draws Random numbers for the
npairs.
- target
- Returns:
- CoupledProposals