Meanwhile, we estimate the mediating effects of socioeconomic factors on the transmission of COVID-19 in China.