Dear STATA community,

I want to generate following TFP series using STATA for a cross-sectional dataset so that i can use it as an explanatory variable in one of my analysis. can someone please guide me how to generate this series for a cross-sectional dataset in STATA?
secondly, how can i use translog command for a cross-sectional dataset

Regards
Array