Each curve represents the trajectory of different predictor coefficients as the parameter changes.The optimal eight variables selected for constructing the lung cancer risk prediction model based on inflammation and nutrition markers were: age, Stage I, low differentiation, ECOG PS 0–1, serum albumin, LMR, HRR, and ALB/GLB.Age was identified as an independent risk factor for poor prognosis, with increasing age associated with worse outcomes. Here, ALB is linked to lung carcinoma.