Multivariate logistic regression analysis showed that age, c-reactive protein, centric pulmonary carcinoma, and pericardial effusion were independent risk factors, the last two of which were important independent risk factors as confirmed by PSM analysis. The gene discussed is CRP; the disease is pericardial effusion.