I have come across several articles reporting 95%CIs for percentages/prevalences using Stata. I emailed some authors, and only one of them briefly said that it can achieved using margins command in Stata. I was unable to use do so for means and proportions, but not for counts or percentages. I also searched for similar topic in some forums, but to no avail. May be someone from Statalist is familiar with it or can suggest a method, using the Sysuse Auto dataset. Here is a reference article:

My target is to report CIs for the each of the values in the following example:
My target is to report CIs for the each of the values in the following example:
Code:
. sysuse auto2.dta (1978 Automobile Data) . ta rep78 foreign, col nofreq Repair | Record | Car type 1978 | Domestic Foreign | Total -----------+----------------------+---------- Poor | 4.17 0.00 | 2.90 Fair | 16.67 0.00 | 11.59 Average | 56.25 14.29 | 43.48 Good | 18.75 42.86 | 26.09 Excellent | 4.17 42.86 | 15.94 -----------+----------------------+---------- Total | 100.00 100.00 | 100.00
Comment