Maximal¶
- class telescopic.couplings.Maximal¶
The rejection maximal coupling of two random-walk proposals.
Each pair draws from its own generator by the rejection maximal coupling with \(\eta = 1\) of \(\mathcal N(x, BB^\top)\) and \(\mathcal N(y, BB^\top)\) (Jacob, O’Leary & Atchadé 2020, Algorithm 2). Its meeting probability is maximal, but its meeting times grow exponentially with the dimension; it is for comparison.
- 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