Wage and labor productivity differ across firms, and more productive firms tend to pay higher wages. We consider a model that allows for differences in capital, employment and labor quality as well as rent sharing, all of which should help explain these observations. We estimate the model using detailed matched employer-employee data from the manufacturing sector in Denmark. The production function estimation is embedded in a structural equation system involving worker, firm, time, and occupation effects from an individual wage decomposition and accounting for labor input components that are substitutes and complements, while accommo-dating stochastically varying factor productivity. We find that both input heterogeneity and intrinsic diffe...