A semi‐parametric integer‐valued autoregressive model with covariates