Calculating Potential impact fraction (PIF)

#1
Hi,
I am aware that Stata 14 has a user written package called -punaf- to calculate Potential attributable fractions (PAF) as a post regresion procedure. Is there any way to calculate PIF. I couldnt find any clue from my search.

Thanks for sharing your insight.