# Announcement

No announcement yet.
11 results in 0.0059 seconds.
percentile x

You can also choose from the popular tags.

• ## generate Table with Percentiles, Panel Data

Hello,

I am working with a panel data set containing 550 district variables over 6 years. One observed variable is math4 - the percentage...

• ## Generating a 95th percentile indicator variable

Hi, I am a senior in college working on an economics thesis.

I am trying to generate a dummy variable which would yield 1 if the observation...

• ## Trimming percentiles within each age category

Hello stata-users,
I have come across code for trimming data globally but not what I am specifically looking for. I have two variables - age and...

• ## Numerical precision issues with Stata's pctile and altdef in IC and SE

(This is cross-posted here: https://stackoverflow.com/questions/...f-in-ic-and-se)
...
Stata's altdef formula in pctile gives the wrong result for certain certain numbers in IC and SE (this will also affect xtile one the bug with altdef there is fixed). clear set obs 89750 gen doubl...

• ## How to find the mean position of females in the male wage distribution?

Hi all,
I am dealing with the problem of gender wage gap. It is described in some paper that one measure of wage gap is to present the position...
Last edited by Xiaoyang Xu; 17 Nov 2017, 08:40.

• ## How to collapse weighted sum by two groups, but normalize weight by only one of the group

Hi all,

I'm looking for some help on collapsing weighted sum. I'm currently working with a US income data set. It contains variables: year,...
Last edited by Sherry Lin; 25 Sep 2017, 20:49.

• ## Inverse to _pctile ?

For the purpose of creating a table, I want to include the percentile of a given value within the distribution of a variable. In other words, if I have...
Last edited by Dany Bahar; 25 Jul 2017, 14:31. Reason: percentile

• ## Tabstat to Excel

Good day all,

I have a table of summary statistics which I would like exported in the exact same form as shown below but I can't seem to...

• ## Finding decile of a group's median income in the whole distribution

Hello, I have a question. Suppose I have a dataset as follows,

----------------------- copy starting from the next line -----------------------...
Last edited by Usha Adelina; 04 Apr 2016, 05:36.

• ## ADO file to mark extreme values - now working - help

I am trying to write an ado routine that creates a column that marks extreme values of a variable. But I cannot get it to work. It only works for a single...
Last edited by Martien Lubberink; 14 Aug 2015, 20:55.

• ## Estimates of (un-)conditional quantiles through -qreg- versus other commands

Dear all,

I (Stata 13.1; current update level: 19 Dec 2014) would like to know why---under certain conditions---Stata's -qreg- yields different...
Working...
X