These 19 differential immune genes with P < 0.05 were selected for the Cox multivariate analysis, and the NSCLC prognosis model containing 13 differential immune genes was obtained: Risk Score = MMP12 × 0.0022 + PLAU × 0.0023 + S100P × 0.003 + CRABP1 × 0.0036 + RBP2 × 0.0531 + LTB4R × (-0.0255) + RNASE7 × 0.0174 + IGLV4-3 × 0.0017 + IL33 × (-0.014) + INHA × 0.0053 + FGFR4 × 0.0443 + SHC3 × (-0.1775) + HNF4G × 0.0516. Here, LTB4R is linked to non-small cell lung carcinoma.