Multiple regression analysis revealed that endophthalmitis or RRD is the most important independent factor affecting PEDF levels. Here, SERPINF1 is linked to endophthalmitis.