advEfficiency function

Calculate beta estimations for efficiency