Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: centralizing survey data


From   "Stephan F. Groschwitz" <groschs@email.uc.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: centralizing survey data
Date   Mon, 5 Mar 2007 13:09:00 -0500

Dear infinite Stata-List wisdom,

I'm also fairly new to stata and apologize in advance if this question has been answered before and I can't find it.
I have a data set with survey data, and I'd like to centralize a couple variables.
Unfortunately the svy: command does not work with egen varmean=mean (var). Is there any other way to pass the weighted means into a constant for centralizing purposes?

Thank you,

Stephan
*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index