Site icon Stata.Professor : Your Partner in Research

asdoc with factor variables in summary statistics Stata

Hi Professor Shah, Asdoc has really helped me prepare my first quantitative paper! Extremely useful to help bridge the gap between my descriptive and analytic work and something that a journal may accept. Also, I wanted to let you know of a small bug when asdoc interprets a summarize command (latest version and ssc version) for a variable(s) appended with i. (treated as a factor) that has a comma in its label. Brief code example: gen zeros = 0 gen zeros_labeled = zeros label define zeros_label 0 "Hi, I like commas" label values zeros_labeled zeros_label // bug here asdoc sum i.zeros_labeled image.png // these both work fine asdoc sum i.zeros asdoc reg zeros i.zeros_labeled Thank you so much! Best, Justin
Exit mobile version