On Thu, 9 Jun 2016, Sven Schreiber wrote:
Hi again,
I want to check a series for ties, meaning exact values that occur more than
once in the series, and also get the respective counts of how many
occurrences there are at each of these ties.
so you basically want a frequency distribution, right?
How do you like this?
<hansl>
nulldata 24
x = floor(uniform()*4)
X = aggregate(const, x)
print X
</hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------