Residuals for ZINB models in STATA

#1
have a question regarding the following:



1. How do I get residuals for Zero-inflated negative binomial models in STATA? What is the exact command?

2. How do I get residuals for negative binomial models in STATA? What is the exact command?

3. Is there any measure of absolute fit for ZINB models and if yes what is the command for it?



I tried using predict(Residuals), prcounts and countfit. I know countfit does comparative fit, however I was wondering how do I get STATA to give me the residuals i.e observed-predicted and plot a residual plot?