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 <[email protected]>
To   [email protected]
Subject   Re: st: save the results from cross table with the weighting on
Date   Thu, 24 Apr 2003 12:25:49 +0100

[email protected] 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index