I have difficulties to understand your question !
STATA has a built-in command to estimate SFA. This is essentially a regression analysis where the error term consists of a random error and an inefficiency term, and again can be estimated for both production and cost functions. The syntax of the frontier command is:
frontier depvar [indepvars] [if] [in] [weight] [, options]
I have no ideas if these files can help you or not, you can have a look firstly and make a decison on the price by yourself. Thanks !