Dear Grtl users,

                Probably it is a stupid question, but …

how can I restrict data analyses within a loop affecting several response variables $i, when the restriction affects each variable $i?

 

the line    “smpl  $i > 0 --restrict”    does not work within this loop (from response variable 39 to response variable 145):

 

loop i=39..145 --progressive

smpl $i > 0 --restrict

quantreg {.95} $i const TMINstd TMINstd2 PRECmedINVstd PRECINVstd2 –robust

… more commands …

endloop

 

PD: I have a very large sample size (n=1690)

 

Thanks you very much in advance

 

Luis M. Carrascal
http://www.lmcarrascal.eu/
email: lmcarrascal@mncn.csic.es

Dept. Biogeografía y Cambio Global
MNCN-Consejo Superior de Investigaciones Científicas
C/ Pinar 25, 3ª planta. 28006 Madrid. SPAIN
Tfno: 34 91 5668963, Fax: 91 5645078