Dear Statalisters,

I performed a Chi-square test (see code below), which was not significant with my data. Here, I used the titanic-example-data.

Code:
tab class survived, cell expected V chi2
Still, I wanted to investigate the direction of the effects (Cramers V) I calculted. I used the tabchi-command and got the adjusted residuals.

Code:
tabchi class survived, a
My textbook says that I should rather use standardized residuals, which are calculated differently and seem to be reported automatically by SPSS, but not by Stata.
So my questions are:
1. Which resudial should I use and why is one superior to the other?
2. If I wanted to calculate standardized residuals, how can that be done in Stata without doing it by hand?

Thank you!