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

Re: st: AW: Finding the minimum of a variable

Subject   Re: st: AW: Finding the minimum of a variable
Date   Wed, 05 Aug 2009 15:03:17 +0200

Martin, Thank you very much, it seems that this is the page I need...

Martin Weiss schrieb:


-----Ursprüngliche Nachricht-----
[] Im Auftrag von
Gesendet: Mittwoch, 5. August 2009 14:50
Betreff: st: Finding the minimum of a variable


I have a "group" of four "subjects". For each "subject" i, I would like to fill the variable called "others_min_con" with the minimum of other three subjects' "con" in the "group" in a given "period", i.e., subject i's "con" should not be considered.

For example in a given period, in a certain group I have:
con[i]= 12, con[j]=23, con[k]= 24, con[l]=25,

then the variable "others_min_con" should be filled in with:

others_con_min[i]=23, others_con_min[j]=12, others_con_min[k]=12, others_con_min[l]=12

How can I do this? For each group, in each period?

Thank you very much for your help!

Dr. Özgür Gürerk

Lehrstuhl für Mikroökonomie & Laboratorium für experimentelle Wirtschaftsforschung
(Microeconomics & Laboratory for Experimental Economics)

Universität Erfurt, Nordhäuser Str. 63, D-99089 Erfurt
Tel: +49 361 7374561
Fax: +49 361 7374569

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index