In the first chapter of my dissertation I study the costs and benefits of resource allocation by firms and by markets. When a firm forms a market closes. Resources that were previously allocated via the price system are now allocated by managerial authority. We explore the choice of organizational form using a model in which agents negotiate prices on behalf of their principals when there is trade in a market. Admitting agency issues into price formation introduces a need for a principal to have the authority to coordinate economic activity. This can be achieved by closing a market and forming a firm. Closing a market, however, results in a loss of information from market prices, information that can be used to reduce the cost of contractin...