In a market economy, the factors of production are allocated by state commerce departments. producers and consumers. the federal government. available natural resources.