For a project, I need to replicate some results that currently exist in Stata output files (.dta) and were computed from an older Stata script. The new version of the projec
Did you know that you can just read Stata's code?
. ssc install adoedit
. adoedit xtile
Here's a screenshot of the formulas from Stata 12 manuals (StataCorp. 2011. Stata Statistical Software: Release 12. College Station, TX: StataCorp LP, p. 501-502). If this does not help, you might ask this question on Statalist or contact Philip Ryan (the author of the original code) directly.