Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: SVy commands


From   [email protected]
To   [email protected]
Subject   st: SVy commands
Date   Wed, 29 Oct 2003 10:29:11 -0500

I am using a dataset where I need to use svy commands.
I typed the folln and this is what I get:

. svyset, psu(psu)
psu is psu

. svyset, strata(urbrur)
strata is urbrur
psu is psu

. svydes

pweight:  <none>
Strata:   urbrur
PSU:      psu
                                      #Obs per PSU
 Strata                       ----------------------------
 urbrur     #PSUs     #Obs       min      mean       max
--------  --------  --------  --------  --------  --------
       1        33     15240        71     461.8      2324
       2        11      8757        98     796.1      2080
--------  --------  --------  --------  --------  --------
       2        44     23997        71     545.4      2324

Then when I try and use svytab commands, it says too few vars or too many
values. I am going wrong someplace.


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index