----------------------------------------------------------------------------------------------------------------------------------------------------------- name: log: C:\Users\ljzig\Desktop\Skinner-Dorkenoo et al 2022 covid19 LOG.log log type: text opened on: 9 May 2022, 13:33:22 . import delimited "C:\Users\ljzig\Desktop\OSF COVID-19 Study 2 DELETED COLUMNS AI AND DV.csv" (156 vars, 1,692 obs) . do "C:\Users\ljzig\AppData\Local\Temp\STD23c8_000000.tmp" . ** Load version 2 of the Skinner-Dorkenoo et al 2022 Study 2 data from: . ** https://osf.io/3tx6f/?view_only=c8155ae67c7640189efcefeb6c8aaec6 . ** Delete the open-ended columns AI and DV so that the CSV file is imported correctly. . . ** Code empathy . . tab1 empathy_1 empathy_2 empathy_3 -> tabulation of empathy_1 empathy_1 | Freq. Percent Cum. ------------+----------------------------------- 1 | 36 2.34 2.34 2 | 40 2.60 4.94 3 | 41 2.67 7.61 4 | 73 4.75 12.36 5 | 240 15.61 27.98 6 | 546 35.52 63.50 7 | 561 36.50 100.00 ------------+----------------------------------- Total | 1,537 100.00 -> tabulation of empathy_2 empathy_2 | Freq. Percent Cum. ------------+----------------------------------- 1 | 28 1.82 1.82 2 | 25 1.63 3.45 3 | 26 1.69 5.14 4 | 58 3.77 8.91 5 | 197 12.82 21.73 6 | 527 34.29 56.02 7 | 676 43.98 100.00 ------------+----------------------------------- Total | 1,537 100.00 -> tabulation of empathy_3 empathy_3 | Freq. Percent Cum. ------------+----------------------------------- 1 | 36 2.34 2.34 2 | 41 2.67 5.01 3 | 36 2.34 7.35 4 | 96 6.25 13.60 5 | 228 14.83 28.43 6 | 520 33.83 62.26 7 | 580 37.74 100.00 ------------+----------------------------------- Total | 1,537 100.00 . egen emp = rowmean( empathy_1 empathy_2 empathy_3) (154 missing values generated) . tab emp emp | Freq. Percent Cum. ------------+----------------------------------- 1 | 25 1.63 1.63 1.333333 | 4 0.26 1.89 1.666667 | 2 0.13 2.02 2 | 19 1.24 3.25 2.333333 | 4 0.26 3.51 2.666667 | 7 0.46 3.97 3 | 18 1.17 5.14 3.333333 | 11 0.72 5.85 3.666667 | 17 1.11 6.96 4 | 37 2.41 9.36 4.333333 | 32 2.08 11.44 4.666667 | 51 3.32 14.76 5 | 106 6.89 21.65 5.333333 | 59 3.84 25.49 5.666667 | 113 7.35 32.83 6 | 348 22.63 55.46 6.333333 | 90 5.85 61.31 6.666667 | 107 6.96 68.27 7 | 488 31.73 100.00 ------------+----------------------------------- Total | 1,538 100.00 . . ** Code experimental conditions . . tab1 article_nonsys article_sys article_con -> tabulation of article_nonsys article_non | sys | Freq. Percent Cum. ------------+----------------------------------- 4 | 544 100.00 100.00 ------------+----------------------------------- Total | 544 100.00 -> tabulation of article_sys article_sys | Freq. Percent Cum. ------------+----------------------------------- 4 | 549 100.00 100.00 ------------+----------------------------------- Total | 549 100.00 -> tabulation of article_con article_con | Freq. Percent Cum. ------------+----------------------------------- 4 | 543 100.00 100.00 ------------+----------------------------------- Total | 543 100.00 . gen cond = . (1,692 missing values generated) . replace cond=1 if article_nonsys!=. (544 real changes made) . replace cond=2 if article_sys!=. (549 real changes made) . replace cond=3 if article_con!=. (543 real changes made) . . label define cond 1 "Disparities" 2 "Persistent" 3 "Control" . label values cond cond . tab cond cond | Freq. Percent Cum. ------------+----------------------------------- Disparities | 544 33.25 33.25 Persistent | 549 33.56 66.81 Control | 543 33.19 100.00 ------------+----------------------------------- Total | 1,636 100.00 . . ** Check for race . . codebook race ----------------------------------------------------------------------------------------------------------------------------------------------------------- race (unlabeled) ----------------------------------------------------------------------------------------------------------------------------------------------------------- type: numeric (byte) range: [1,6] units: 1 unique values: 6 missing .: 175/1,692 tabulation: Freq. Value 1,488 1 6 2 1 3 2 4 11 5 9 6 175 . . . ** Analyses without post-treatment control: . . reg emp ib3.cond if finished==1, robust Linear regression Number of obs = 1,515 F(2, 1512) = 1.06 Prob > F = 0.3460 R-squared = 0.0014 Root MSE = 1.2783 ------------------------------------------------------------------------------ | Robust emp | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- cond | Disparities | -.0158842 .0782274 -0.20 0.839 -.1693298 .1375615 Persistent | -.1106172 .0801396 -1.38 0.168 -.2678139 .0465794 | _cons | 5.927822 .0531016 111.63 0.000 5.823661 6.031982 ------------------------------------------------------------------------------ . margins, at(cond=(1(1)3)) Adjusted predictions Number of obs = 1,515 Model VCE : Robust Expression : Linear prediction, predict() 1._at : cond = 1 2._at : cond = 2 3._at : cond = 3 ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | 5.911937 .0574434 102.92 0.000 5.79926 6.024615 2 | 5.817204 .0600215 96.92 0.000 5.69947 5.934939 3 | 5.927822 .0531016 111.63 0.000 5.823661 6.031982 ------------------------------------------------------------------------------ . reg emp ib3.cond if finished==1 & race==1, robust Linear regression Number of obs = 1,486 F(2, 1483) = 1.28 Prob > F = 0.2772 R-squared = 0.0018 Root MSE = 1.2851 ------------------------------------------------------------------------------ | Robust emp | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- cond | Disparities | -.0243434 .0792142 -0.31 0.759 -.1797272 .1310404 Persistent | -.1258837 .0815998 -1.54 0.123 -.2859471 .0341796 | _cons | 5.933735 .0539661 109.95 0.000 5.827877 6.039593 ------------------------------------------------------------------------------ . margins, at(cond=(1(1)3)) Adjusted predictions Number of obs = 1,486 Model VCE : Robust Expression : Linear prediction, predict() 1._at : cond = 1 2._at : cond = 2 3._at : cond = 3 ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | 5.909392 .0579875 101.91 0.000 5.795645 6.023138 2 | 5.807851 .0612062 94.89 0.000 5.687791 5.927911 3 | 5.933735 .0539661 109.95 0.000 5.827877 6.039593 ------------------------------------------------------------------------------ . . ** Analyses with post-treatment control: . . egen sys = rowmean( systemic_disp_1 systemic_disp_2 systemic_disp_3 systemic_disp_4 systemic_disp_5 systemic_disp_6) (154 missing values generated) . . reg emp ib3.cond sys if finished==1, robust Linear regression Number of obs = 1,515 F(3, 1511) = 89.72 Prob > F = 0.0000 R-squared = 0.2161 Root MSE = 1.133 ------------------------------------------------------------------------------ | Robust emp | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- cond | Disparities | -.0539525 .0686679 -0.79 0.432 -.1886469 .0807419 Persistent | -.2115821 .0719167 -2.94 0.003 -.3526494 -.0705149 | sys | .3992414 .0248085 16.09 0.000 .3505785 .4479042 _cons | 4.005883 .1397916 28.66 0.000 3.731677 4.280089 ------------------------------------------------------------------------------ . margins, at(cond=(1(1)3)) Predictive margins Number of obs = 1,515 Model VCE : Robust Expression : Linear prediction, predict() 1._at : cond = 1 2._at : cond = 2 3._at : cond = 3 ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | 5.919764 .0496528 119.22 0.000 5.822369 6.01716 2 | 5.762135 .0552238 104.34 0.000 5.653811 5.870458 3 | 5.973717 .0461558 129.43 0.000 5.883181 6.064253 ------------------------------------------------------------------------------ . reg emp ib3.cond sys if finished==1 & race==1, robust Linear regression Number of obs = 1,486 F(3, 1482) = 88.20 Prob > F = 0.0000 R-squared = 0.2176 Root MSE = 1.1381 ------------------------------------------------------------------------------ | Robust emp | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- cond | Disparities | -.0668112 .0696327 -0.96 0.337 -.2034004 .069778 Persistent | -.2310524 .0730975 -3.16 0.002 -.3744379 -.0876669 | sys | .4042734 .0253919 15.92 0.000 .3544654 .4540813 _cons | 3.987188 .1430547 27.87 0.000 3.706577 4.2678 ------------------------------------------------------------------------------ . margins, at(cond=(1(1)3)) Predictive margins Number of obs = 1,486 Model VCE : Robust Expression : Linear prediction, predict() 1._at : cond = 1 2._at : cond = 2 3._at : cond = 3 ------------------------------------------------------------------------------ | Delta-method | Margin Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- _at | 1 | 5.915581 .0501903 117.86 0.000 5.81713 6.014033 2 | 5.75134 .0561128 102.50 0.000 5.641271 5.861409 3 | 5.982393 .0469273 127.48 0.000 5.890342 6.074444 ------------------------------------------------------------------------------ . . ** Did the treatment affect the "sys" measure? . . reg sys ib3.cond if finished==1, robust Linear regression Number of obs = 1,515 F(2, 1512) = 3.83 Prob > F = 0.0220 R-squared = 0.0049 Root MSE = 1.4845 ------------------------------------------------------------------------------ | Robust sys | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- cond | Disparities | .0953517 .0948754 1.01 0.315 -.0907496 .281453 Persistent | .2528919 .0927469 2.73 0.006 .0709657 .4348181 | _cons | 4.813976 .0672896 71.54 0.000 4.681986 4.945967 ------------------------------------------------------------------------------ . reg sys ib3.cond if finished==1 & race==1, robust Linear regression Number of obs = 1,486 F(2, 1483) = 3.94 Prob > F = 0.0197 R-squared = 0.0052 Root MSE = 1.4781 ------------------------------------------------------------------------------ | Robust sys | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- cond | Disparities | .1050472 .0953144 1.10 0.271 -.0819183 .2920126 Persistent | .2601425 .0936458 2.78 0.006 .0764501 .4438349 | _cons | 4.814926 .0681291 70.67 0.000 4.681287 4.948566 ------------------------------------------------------------------------------ . end of do-file . log close name: log: C:\Users\ljzig\Desktop\Skinner-Dorkenoo et al 2022 covid19 LOG.log log type: text closed on: 9 May 2022, 13:34:28 -----------------------------------------------------------------------------------------------------------------------------------------------------------