Essays in firm performance with macroeconomic implications