Economics is the study of how