Statalist


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

st: Using weight in summarize command


From   <[email protected]>
To   <[email protected]>
Subject   st: Using weight in summarize command
Date   Wed, 5 Dec 2007 15:56:17 -0500

Hi,

I am new to stata user list. I want to use weight in summarize command.
Basically my question is this: Here is I have wage and weight for each observation. I want to calculate statistics using weight like weghted mean, S.E. etc. I will appreciate if some one help me to know how to use weight in summarize command.

wage	 	weight
2000		37.40294
15000		37.0777
715		37.40294
16000		36.92306
5100		36.92306
18079		36.92306
15638		36.92306
40000		37.0777
7500		36.92306

The weighted mean should be 13315.55.

Badri Prasad
Policy, Reporting and Data Development
Labour Standards and Workplace Equity
National Labour Operations Directorate
HRSDC
(819) 956 - 8146


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