On Thursday 04 October 2007 08:56:23 andreas.rosenblad(a)ltv.se wrote:
Could you also add another option under the "dataset"
command, e.g.
"dataset deleteobs <parameter>", where e.g. "dataset deleteobs 3, 5,
11-22"
would delete observations 3, 5 and 11-22 from the data set (i.e. from all
variables in the data set) and "dataset deleteobs x>0" would delete all
observations where x>0 from the dataset.
I think the 'smpl' command maybe used in the form you need. For example,
to work with all observations except 3,5 and 11-22 you may use
smpl (obs<11 || obs>22) && obs!=3 && obs!=5 --restrict
--
Ignacio Diaz-Emparanza
DEPARTAMENTO DE ECONOMÍA APLICADA III (ECONOMETRÍA Y ESTADÍSTICA)
UPV/EHU
Avda. Lehendakari Aguirre, 83 | 48015 BILBAO
T.: +34 946013732 | F.: +34 946013754
www.et.bs.ehu.es