Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Abu Camara <abucamara@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: SE and CI by mrtab |
Date | Mon, 14 May 2012 15:27:38 +0300 |
Thanks Nick. Consider the table below and you want to get the "se" & "ci"for the responses variable which are in percentages. I was able to do this for other survey questions which are not multiple responses. Perhaps the author might consider including standard errors & confidence interval generation in his program. I will have to turn to SPSS which has the facility. --------------------------------------------------------------------------------------------------------. mrtab inco1-inco7, include title(Sources of income) width(24) Pct. of Pct. of Sources of income Freq. responses cases -------------------------------+----------------------------------- inco1 private support 226 12.83 23.25 (partner, family, friends) inco2 public support 607 34.47 62.45 (unemployment insurance, social benefits) inco3 drug dealing 293 16.64 30.14 inco4 housebreaking, theft, 50 2.84 5.14 robbery inco5 prostitution 82 4.66 8.44 inco6 "mischeln"/begging 151 8.57 15.53 inco7 legal occupation 352 19.99 36.21 -------------------------------+----------------------------------- Total 1761 100.00 181.17 On 14 May 2012 14:35, Nick Cox <n.j.cox@durham.ac.uk> wrote: > I don't really have further comments. I was half-assuming that you know exactly what you seek, but if so you are not spelling it out. > > As I see it, you would need to specify what data generation process you expect to apply and e.g. how confidence intervals are to be defined and calculated. > > For example, if the question is mode of transport to work and the answers look like > > Car > Car, train, walk > Walk > Yak > Horse > Camel > Personal helicopter > ... > > it is not clear to me what meaning there could be to a standard error around the percent of people who say "walk". If the principle is that people can specify a variety of answers, the associated data generation process seems elusive to me. You can always count "mentions" rather than "people" but the inference for that I don't think is obvious. > > So, I don't think you can blame Stata for neglecting this area unless you can point to literature in which the logic is explained. > > Nick > n.j.cox@durham.ac.uk > > Abu Camara > > Hi Nick, > > Thanks for the reply. > I have no idea of writing my own program for "mrtab" to compute "se" & > "ci". Further help/suggestion would be appreciated. > Official Stata appears to be weak in complex tabulation. > Abu. > > On 14 May 2012 12:18, Nick Cox <njcoxstata@gmail.com> wrote: >> SJ-5-1 st0082 . . . . . . . . . . . . . . . Tabulation of multiple responses >> (help _mrsvmat, mrgraph, mrtab if installed) . . . . . . . . B. Jann >> Q1/05 SJ 5(1):92--122 >> introduces new commands for the computation of one- and >> two-way tables of multiple responses >> >> You are correct, I think. -mrtab- doesn't provide these, so you may >> need to write your own program. >> >> Nick >> >> On Mon, May 14, 2012 at 10:09 AM, Abu Camara <abucamara@gmail.com> wrote: >> >>> I am running one and two way tables of multiple response using the >>> user-written command "mrtab" (Stata 11.2). I tried to generate both >>> standard errors and >>> confidence intervals for tables of percentages but I could not find >>> this as an option. > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ -- Best Wishes, Abu Camara * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/