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

Re: st: save the results from cross table with the weighting on


From   n j cox <n.j.cox@durham.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: save the results from cross table with the weighting on
Date   Thu, 24 Apr 2003 12:25:49 +0100

gunnar.pietzner@uni-wh.de wrote:

How do i create a new variable recording the row and column results from a
cross table with the weighting on?
Sounds as if you want something like

egen wtfreq = sum(weight), by(rowvar colvar)



*
*   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