In the context of the Brazilian agriculture it is of importance for policy makers the assessment of the effect on production of variables related to market imperfections. Market imperfection or asymmetry occurs when farmers are subjected to different market conditions depending on their size or their importance on overall state production. Relatively large rich farmers obtain lower input prices and may sell their production at lower prices making competition harder for small farmers. Market imperfections are typically associated with infrastructure, environment control requirements and the presence of technical assistance. In this article, at county level and using agricultural census data, we estimate the elasticities of these variables on production by maximum likelihood methods. We show that all these variables affect production significantly. Technological inputs dominate the production response, followed by labor and land. Environment control has a positive effect on production, as well as technical assistance. The logistics of production mostly affects technical efficiency. The proportion of forested areas has a negative elasticity. We also test technical assistance for endogeneity.