Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Quartiles for survey data


From   [email protected]
To   [email protected]
Subject   Re: st: Quartiles for survey data
Date   Wed, 3 Jun 2009 16:24:13 -0400

--


For converting pweights to fweights see:
http://www.stata.com/statalist/archive/2008-12/msg00619.html

For confidence intervals for quartiles with clustered, weighted data
(but ignoring strata), see:
http://www.stata.com/statalist/archive/2008-12/msg00925.html



On Wed, Jun 3, 2009 at 2:49 PM, Noori Akhtar-Danesh
<[email protected]> wrote:
> Thank you Stas, it helps a lot.
> 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
> =============================
>
> ----- Original Message ----- From: "Stas Kolenikov" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, June 03, 2009 2:28 PM
> Subject: Re: st: Quartiles for survey data
>
>
>> 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/
>
> *
> *   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/
>

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index