st: cumulative distribution function (assigned values)
Date
Tue, 03 Jun 2003 14:00:21 +0200
Dear Statalisters,
how can I generate in Stata 8.0 a new variable which contains the values
assigned by the observed cumulative distribution of one variable? In other
words, I would like to get those values stored in a new variable, that are
used by the command "cdf varname" to plot the sample cumulative
distribution function of varname.
I don't think the command "cumul varname" will not work for my case, since
my variable contains several observations with the same values, but "cumul
varname" assigns different values to to these, depending how they were
initially ordered.
Thanks in advance,
Manuel
+++++++++++++++++++++++++++++++++++++++++++++++++
Manuel Kast
Doctoral Fellow
International Center for Financial Asset Management and Engineering (FAME)
University of Lausanne, HEC-BFSH1, Office #695
1015 Lausanne-Dorigny
Switzerland
phone: ++41-21-692 3478
e-mail: manuel.kast@hec.unil.ch
www.fame.ch