rnorm_max_coupling: Maximal coupling of two univariate Normal distributions

View source: R/rnorm_max_coupling.R

rnorm_max_couplingR Documentation

Maximal coupling of two univariate Normal distributions

Description

Sample from maximal coupling of two univariate Normal distributions, specified through their means and standard deviations. See rmvnorm_max for a multivariate version.

Usage

rnorm_max_coupling(mu1, mu2, sigma1, sigma2)

Arguments

mu1

First mean

mu2

Second mean

sigma1

First mean

sigma2

Second mean

Value

Returns a list with

  • "xy": the pair of samples (x,y)

  • "identical": TRUE if x = y, FALSE otherwise


pierrejacob/debiasedmcmc documentation built on Aug. 22, 2022, 12:41 a.m.