I'm applying pweights to a dataset and wish to work with the weighted sum resulting from a -table- statement using r(). The problem arises when the only r() output from -table- is r(N), when what I want is the weighted value (as output in the results window). I can get access to the weighted data using -summarize- just fine ("sum_w") but then I can't use pweights. Is there a workaround, or am I just missing something here?
Cheers
Cameron.
--------------------
This email message is for the sole use of the intended recipient(s) and
may contain privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message.
*
* 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/