If you don't need the standard errors, you could try [fweight]
specification of -tabstat- and feed your sampling weights. Most of the
times, the computation of the point estimates is the same with
-fweights- and -pweights-, but standard errors are totally different,
and you really need to know what you are doing with each type of
weights.
On Wed, Jun 3, 2009 at 9:13 AM, Noori Akhtar-Danesh
<[email protected]> wrote:
> Hello everyone,
> Could someone help me on calculating quartiles from a survey data?
> Specifically, I would like to run a command similar to
> tabstat FVCZDJUI, by(Age2) stat(mean sd p25 p50 p75)
>
> with survey data but don't know how.
> Many thanks,
> Noori
>
> ============================
> Noori Akhtar-Danesh, PhD
> Faculty of Health Sciences,
> McMaster University,
> 1200 Main St. West, Room 3N28B
> Hamilton, ON L8N 3Z5,CANADA
> Tel: 905-525-9140 Ext. 22297 & 22725
> Fax: 905-521-8834
> http://www.fhs.mcmaster.ca/ceb/faculty_member_akhtar-danesh.htm
> =============================
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
--
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/