In the PDR group, sex, age, DM duration, insulin therapy status, and CKD status exerted interactive effects that increased the risk of insomnia. Here, INS is linked to insomnia measurement.