Statalist


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

RE: st: Area under a percentile point


From   "Wendy Olsen" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Area under a percentile point
Date   Tue, 3 Feb 2009 16:28:49 +0000

Hello

Use the .do file syntax method, and set your .do program to place the command

egen pctile          etc.

coming before a keep command or a drop command - either way, using an if subcommand.

Thus you drop any data that is not on the relevant pctile.

Yours
Wendy


Wendy Olsen
Senior Lecturer in Socio-Economic Research
Cathie Marsh Centre for Census & Survey Research
and Inst. for Development Policy and Management
Univ. of Manchester
Manchester M13 9PL
tel 0044-161-275-3043
web www.ccsr.ac.uk/staff/wo.htm
"The human voice can never reach the distance that is covered by the still small voice of conscience."  Mohandas Gandhi.  Found posted on a huge plastic sign in an airport in India.  

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of zeynep elitas
Sent: 03 February 2009 13:28
To: [email protected]
Subject: st: Area under a percentile point

I have a simple question which I do not have the answer for. Is there a way to tell Stata to keep the data under a certain percentile point and drop the rest?  This is important since in my data a percentile point has often the same value as the ones below and over it.

Thanks
Zeynep Elitaş

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