PStrim function

Trim the input data and propensity estimate