{'fraction_non_alphanumeric': 0.024844720496894408, 'fraction_numerical': 0.016563146997929608, 'mean_word_length': 5.05, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Specification tests of habit formation

Campbell and Cochrane (1999) propose the habit formation model to explain the equity premium puzzle. They assume that an agent’s consumption is affected by habit and describe how habit adjusts to the history of consumption. We use the simulated moment method to test these two specifications. Empirically, we find that habit plays an important role in an agent’s consumption choice, however not in the way Campbell and Cochrane (1999) specify.