I was wondering if there is any way to use the fre command within the code below to obtain the frequency tables with their numeric values and labels. Unfortunately, the formal stata command only reports labels not the values.
dtable , by(`group', tests totals) continuous(`numeric' , statistics( mean sd)) factor(`factor' ) nolistwise export("descriptive.xlsx", as(xlsx) sheet(Sheet1, replace) cell(A1) replace) nformat(%3.1f) sformat("(%s)" mean)
Comment