[Limdep Nlogit List] Setting dynamically the sample interval

William Greene wgreene at stern.nyu.edu
Sun May 23 02:21:20 EST 2010


François: You can put a SAMPLE command in a procedure.
If you are trying to set the sample in a loop, use scalars 
from the calculator.  For example:
CALC ; I1 = 1 $
PROC
CALC ; I2 = I1+99 $
SAMPLE ; I1 - I2 $
... do something $
CALC ; I1 = I1 + 100 $
ENDPROC
EXECUTE ; N = 10 $
This runs 10 times, The sample is 1-100 then 101-200, etc.
/Bill Greene



----- Original Message -----
From: "Béland François" <francois.beland at umontreal.ca>
To: "Limdep and Nlogit Mailing List" <limdep at limdep.itls.usyd.edu.au>
Sent: Saturday, May 22, 2010 7:04:45 AM GMT -05:00 Colombia
Subject: [Limdep Nlogit List] Setting dynamically the sample interval

Bonjour, 

It there a way to set dynamically, within a "procedure", sample intervals? Usually this it done "manually" with the Sample command, for example:

sample; 1-33 $



François Béland, PhD
Université de Montréal
_______________________________________________
Limdep site list
Limdep at limdep.itls.usyd.edu.au
http://limdep.itls.usyd.edu.au


More information about the Limdep mailing list