[Q] Variable selection for zero-inflated negative binomial model
Hi all. I am using a zero-inflated negative binomial model to evaluate the change in the number of prescriptions for drug A following a treatment. The treatment is modeled as a time-varying covariate and patients initiate treatment at different times during follow-up. All patients have received this treatment so each patient contributes both unexposed and exposed person-time.
My main confusion is about the zero-inflation component of the model. I understand that the count component should include the exposure and confounders of interest. I couldn't find accurate literature about variable selection for the zero-inflation part.
My model is like:
fit <- zeroinfl(n_prescriptions ~ treatment + age + sex + poverty+ education+ offset(log(follow_up_time)) | treatment + age + sex + poverty+ education, data = df, dist = "negbin")
Is there any general principle for selecting variables for the zero-inflation component? Should it contain the same covariates as the count component, or only exposure variables? Thank you.