Hello,
I have a data set in CSV format. I am directly loading it to SPSS. Here is the one row.
7.4; 0.7; 0; 1.9; 0.076; 11; 34; 0.9978; 3.51; 0.56; 9.4; 5
By default SPSS treat first five as a string, next two (bold) as numeric and next four as string. Last one as numeric again.
I need to draw histogram for all the attributes but since most of them, except for three are in string format. SPSS doesn't make the histogram. I searched web for the solution. For example:
1. Changing variable type in Variable view window
2. Convert to numeric using alter command in SPSS syntax
3. compute score1 = number(score, F2). Here score1 and score are name of variables/attributes.
In all of the above cases, the data is lost when changed from string to numeric. For example, 7.4 changes to - but the value in whole number such as 7 stays 7.
1. Am I missing something here?
2. Is there a way to to convert string to numeric without data loss?
Thanking in anticipation.
BR
Ali