Hi!

After the logistic regression, I wanted to directly calculate R^2 (= SSreg/SStotal) without using the fitstat command. Can you please provide stata codes for me to calculate R^2 after running the logistic regression? Thank you in advance.