Economic Theory or Policy

Which comes first: economic theory or policy?

Shouldn’t we have a solid understanding of economics as the basis for developing policies?

Does the Obamacare support this philosophy?