levpet estimates production functions using intermediate inputs to control for unobservable productivity shocks. The methodology is described in Levinsohn and Petrin (2003) and Petrin, Poi, and Levinsohn (2004). All variables are assumed to be in logarithms.