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

 From "Martin Weiss" To Subject AW: st: AW: Finding the minimum of a variable Date Wed, 5 Aug 2009 15:04:21 +0200

```<>

Initimate knowledge of this section of the Stata FAQ is an indispensable
precondition for "Stata happiness"...

HTH
Martin

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von
oezguer.guererk@uni-erfurt.de
Gesendet: Mittwoch, 5. August 2009 15:03
An: statalist@hsphsun2.harvard.edu
Betreff: Re: st: AW: Finding the minimum of a variable

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

Martin Weiss schrieb:
> <>
>
>
> http://www.stata.com/support/faqs/data/members.html
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von
> oezguer.guererk@uni-erfurt.de
> Gesendet: Mittwoch, 5. August 2009 14:50
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: Finding the minimum of a variable
>
> Hello,
>
> 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!
> Ozgur
>
>

--
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
www.uni-erfurt.de/elab
--

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```