Hello everybody,

I have a data-set with some non-numeric values according to gretl (but not to 
CSVed).
[1]:  Problematic values (examples): 4.13108e-312       5.27295e-270    
4.3172e-227     1.51922e-184    3.97655e-142    1.42149e-144    1.94409e-143    
2.79222e-144
(These values stem from uninitialised double variables in my c++ model, I 
guess).

Is there an option unbeknown to me to simply substitute such non-numerics by 
Gretl "NA" directly with the import? I.e. make the error messages quiet and 
gretl process nonetheless? 
I cannot find one and an old request 
(http://sourceforge.net/p/gretl/feature-requests/47/) is long closed...


----
Background:
I have a relative large data-set (57,970 rows x ~1,000 columns) from a 
simulation experiment (panel data), distributed over several paths and files. I 
have written a python script that produces a nice enough import script for 
gretl (listing all the paths, the first one via open the next ones via append) 
which works fine... except when some not-a-number values are present, like 
"1.#QNAN" or [1], which occurs sometimes. I would prefer not to change the data 
(or a copy of the data) because a) this probably takes a lot of time (the total 
size is about 800MB and more to come) and b) Gretl does a good job in not 
mixing things up... 
----

Thanks for your time!
Frederik
------------
Frederik Schaff, Dipl.-Volkswirt

University of Hagen
Department of Business and Economics
Chair of Economic Theory (Prof. A. Endres)
Universitätsstraße 11 (TGZ)
58097  Hagen
 
Phone: +49 (0) 2331 987-4454
E-Mail: Frederik.Schaff(a)FernUni-Hagen.de
http://www.fernuni-hagen.de/wirtschaftstheorie/en/team/frederik.schaff.shtml 





Reply via email to