We aim to investigate the therapeutic effect of self-made Hewei decoction based on the differences-in-differences (DID) model for treating chronic atrophic gastritis and its effect on the gastrin and pepsinogen expression. Here, GAST is linked to chronic atrophic gastritis.