XB function

Computes a sociomatrix of regression effects