DearBegg function

Compute the nonparametric weight function from Dear and Begg (1992)