0

I have over 150 different variables in my data set that when imported from a CSV file are assigned the incorrect type and measure. All data should be considered to be of type numeric and measure scale. The CSV files are dynamically generated and must remain so.

In SPSS' variable view, is it possible to set the type of all variables simultaneously? Also, it is possible to do the same with the measure of all variables?

Using some pre-processing, I am tempted to generate over 30000 columns but do not want to be going through each variable to make sure its type and measure are set correctly.

0

Since all the data was numeric, rounding to X number of decimal places allowed SPSS to correctly guess the correct type of the data it was being given. Some precision was sacrificed, but it made working with the generated CSV file much more enjoyable. The problem was easily solved with a simple function.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.