rnorm_reflectionmax: Reflection-maximal coupling of two univariate Normal...

View source: R/rnorm_reflectionmax.R

rnorm_reflectionmaxR Documentation

Reflection-maximal coupling of two univariate Normal distributions

Description

Sample from reflection-maximal coupling of two univariate Normal distributions, specified through their means, with common standard deviation. See rmvnorm_reflectionmax for a multivariate version.

Usage

rnorm_reflectionmax(mu1, mu2, sigma)

Arguments

mu1

First mean

mu2

Second mean

sigma

Common standard deviation

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.