The shape-restricted Cox regression model holistically demonstrates the dynamic association between continuous ER expression and long-term clinical outcomes in breast cancer and assists in selecting the desirable cutoff value for ER expression to optimize endocrine therapy use. Here, ESR1 is linked to breast cancer.