Skip to contents

Uses exponential bracketing followed by geometric bisection. Matches the Stata getcbar() function exactly.

Usage

getcbar(rhobar, distmat)

Arguments

rhobar

Target correlation

distmat

n x n distance matrix

Value

The constant cbar