The do-files are made available here, which can be used to replicate the results from the paper "Firl, K., 2024: Changing Attitudes? Investigating the Link between Couples' Pandemic Behavior, Cognitive Dissonance, and Gender Role Attitudes in Germany. In: Zeitschrift für Soziologie". In the analyzes, the Scientific Use Files (SUF) from release 13.0 from the German Family Panel 'pairfam' are used. The data can be obtained via https://www.pairfam.de/daten/datenzugang/ . The doi of the data is: https://doi.org/10.4232/pairfam.5678.13.0.0 . In the analyzes, Stata version 17 is used, however, the analyzes can also be reproduced with older Stata versions.