*
* Replication files for 
*
* Ahn, JaeBin, Theresa Greaney, and Kozo Kiyota
* Political Conflict and Angry Consumers: Evaluating the Regional Impacts of a Consumer Boycott on Travel Services Trade
* Journal of the Japanese and International Economies, 65, Article 101216, September 2022.
*
* The program is for Stata 17. Note that different versions of Stata may generate slightly different results. Stata commands that need to be installed: spmap and regsave.
*
* Typos
* Table A1: correct R2 = (1) 0.241 (2) 0.233 (3) 0.235 (4) 0.226 (5) 0.533 (6) 0.550
*
Figures 1-5 & Figure C1: f1-f5fc1.do
Figure 6: reg1.do
Figure 7 & 8: f6f7td2.do
Table 1: Constructed, using the data created by f1-f5fc1.do
Table 2: reg1.do
Table 3 (1)-(2): reg1.do
Table 3 (3)-(4): reg2.do
Table 4: (1) is from Table 3 (1) and (2). (2) is from reg1.do. (3) = (1)*(2). (4) = (3) + the coefficient of KOR * Post in Table 3. (5) = exp((4))-1.
Table 5: t5.csv (Korea dependency comes from depend_kor.csv)
Table 6: reg1.do
Table 7: reg1.do
Table 8: (1) is from Table 7 (1) and (2). (2) is from reg1.do. (3) = (1)*(2). (4) = exp((3))-1.
Table 9: Obtained from estimated coefficients. For more detail, see notes of Table 9.
Table 10: t10.csv (Korea dependency comes from depend_kor.csv)
Table A1 (1)-(2): reg1.do
Table A1 (3)-(4): reg2.do
Table A1 (5)-(6): reg1.do
Table A2: (1) is from Table A1 (1) and (2). (2) is from reg1.do. (3) = (1)*(2). (4) = (3) + the coefficient of KOR * Post in Table A1. (5) = exp((4))-1.
Table A3: (1) is from Table A1 (5) and (6). (2) is from reg1.do. (3) = (1)*(2). (4) = exp((3))-1.
Table A4: (1) is from Table 4 (5). (2) is from Table A2 (5). (3) = (2) - (1). (4) is from Table 8 (4). (5) is from Table A3 (4). (6) = (5) - (4).
Table B1-B2: reg1.do
Table C1-C2: reg3.do
Table C3: (1) is from Table C2 (1) and (2). (2) is from reg3.do. (3) = (1)*(2). (4) = (3) + the coefficient of KOR * Post in Table C2. (5) = exp((4))-1.
Table C4: (1) is from Table C2 (3) and (4). (2) is from reg3.do. (3) = (1)*(2). (4) = exp((3))-1.
Table C5: reg4.do
Table C6: (1) is from Table C5 (1) and (2). (2) is from reg4.do. (3) = (1)*(2). (4) = (3) + the coefficient of KOR * Post in Table C5. (5) = exp((4))-1.
Table C7: (1) is from Table C5 (3) and (4). (2) is from reg4.do. (3) = (1)*(2). (4) = exp((3))-1.
Table D1: reg1.do
Table D2: f6f7td2.do
