get_max_coupling: Sample from maximally coupled distributions p and q

View source: R/maxcouplings.R

get_max_couplingR Documentation

Sample from maximally coupled distributions p and q

Description

Takes two distributions (sampling function and pdf), and return a function to sample from a maximal coupling of these distributions

Usage

get_max_coupling(rp, dp, rq, dq)

niloyb/CoupledHalfT documentation built on Aug. 31, 2022, 2:35 a.m.