[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Why do i get a failure all the time with this message?
At 18:16 27/08/2004, jon ebeling wrote:
I"ve tried to send this to you several times. I get an error message
every time I try, but here is what I wanted to send.
I'm confused by something in svymean and repcat.
Here is what I've done:
I've created some repcat categories using a variable I've created from
the joint cell frequencies on a crosstabulation I've been using, and I
want to use the ci's for each of the joint frequencies. So I did the
Now shouldn't the samples be 47, 51, 49, and 61 for each of the
confidence intervals I've created ci's for?
No, they shouldn't. The dummies you entered into -ci- (created by
-tabulate-) are equal to one for observations with the appropriate value of
-cells-, zero for observations with any other non-missing value of -cells-,
and missing for observations with missing values of -cells-. The sample
numbers are therefore all 208=47+51+49+61, The confidence intervals,
however, are correct for estimating the proportions with each value of
-cells-, assuming that the observations are independent.
I do not know how this connects with -svymean-. However, I hope this helps.
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Opinions expressed are those of the author, not the institution.
* For searches and help try: