Then, a novel diagnostic model consisting of seven PRGs including CASP3, ELANE, GZMA, CASP4, CASP9, IL6 and TP63 for NASH was constructed with an area under the ROC curve (AUC) of 0.978 (CI 0.965–0.99). This evidence concerns the gene CASP9 and metabolic dysfunction-associated steatohepatitis.