Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: -weight- spss: weight by -- telling stata the weight

From   David Cefskimal <>
To   statalist <>
Subject   st: -weight- spss: weight by -- telling stata the weight
Date   Thu, 2 Feb 2012 20:46:07 +0100

dear statalist,

please help with hopefully simple problem:

imagine that you have 4 variables in your dataset


in spss if you say "weight by weight" computer will know, that now all
your variables should be multiplied with the variable weight. so in
your computer's "mind" the new dataset will look like:


in stata there is nothing like that? Do I really need to generate
variables I use with weights each time, like
gen (v1)=v11*w1

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index