|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Svyset storage of variables
From
Richard Williams <[email protected]>
To
[email protected]
Subject
Re: st: Svyset storage of variables
Date
Thu, 08 Feb 2007 12:49:56 -0500
At 12:26 PM 2/8/2007, Joshua H Tamayo-Sarver wrote:
Is this what you want?I am having difficulty figuring out where svyset stores the names of the
variables describing the survey structure so that I can access them from ado
files. Any ideas?
Thanks,
---Josh
. webuse nhanes2f
. svyset
pweight: finalwgt
VCE: linearized
Strata 1: stratid
SU 1: psuid
FPC 1: <zero>
. return list
scalars:
r(stages) = 1
macros:
r(settings) : "psuid [pweight= finalwgt], strata(stratid)
vce(linearized)"
r(vce) : "linearized"
r(strata1) : "stratid"
r(wvar) : "finalwgt"
r(wexp) : "= finalwgt"
r(wtype) : "pweight"
r(su1) : "psuid"
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc
*
* 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 |