Ricardo considered what goods and services countries should produce, and suggested that they should specialise by allocating their scarce resources to produce goods and services for which they have a comparative cost advantage. There are two types of cost advantage – absolute, and comparative.