Statalist The Stata Listserver

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

Re: st: centralizing survey data

From   "Stephan F. Groschwitz" <>
Subject   Re: st: centralizing survey data
Date   Wed, 7 Mar 2007 11:05:50 -0500

Clive, Austin, and Stas,

thank you so much for your input. Truly amazing. Stas' suggestion to use what Stata leaves behind was exactly what I needed. I wondered about how to pick up these data before, and now I know! At the point on the Stata learning curve I'm on I appreciate all the basics that will then help me going more advanced. Clive and Austin, your input will keep me busy and learning for the next couple weeks. ;-)

Thanks again,


On Mar 5, 2007, at 9:44 PM, Clive Nicholas wrote:

Stephan Groschwitz wrote:

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?


Your wish to "centralize a couple variables" implies that you want to de-mean them. If so, Ben Jann's user-written -center- routine should help here. It's available from SSC via the -findit- command.

Clive Nicholas

New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.*

* For searches and help try:
*   For searches and help try:

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