I'm trying to compute some summary stats by group and find categories with spaces are getting omitted. What is the correct way to go about this? Thanks!
gives
Code:
clear set obs 3 gen group = "Test" replace group = "With Space" in 2 replace group = "More Space" in 3 gen x = _n dtable x, by(group)
Code:
------------------------- group Test Total ------------------------- N 1 (33.3%) 3 (100.0%) x 1.000 (.) 2.000 (1.000) -------------------------
Comment