In many economic models, theory restricts the shape of functions, such as monotonicity or curvature conditions. This article reviews and presents a framework for constrained estimation and inference to test for shape conditions in parametric models. We show that .regional. shape-restricting estimators have important advantages in terms of model fit and flexibility (as opposed to standard .local. or .global. shape-restricting estimators). In our empirical illustration, this is the first article to impose and test for all shape restrictions required by economic theory simultaneously in the .Berndt and Wood. data. We find that this dataset is consistent with .duality theory,. whereas previous studies have found violations of economic theory. We discuss policy consequences for key parameters, such as whether energy and capital are complements or substitutes.