Update pooled sample regression code
Update pooled sample regression code