-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPSS scalar column with labels become nominal-text, which is not practical #1323
Comments
@jbnezl I see in the loaded data I see: JASP expects all the data in a scalar column to be a float/scalar. However, while your data seems to contain only scalar, some of your entries have a label. For JASP, to be able to show this label the data is usually be converted to ordinal (integers with labels). If you want the data to be imported correctly you would need to remove the labels from the column. |
Dear Joris, If I eliminate the value labels in the SPSS file, then JASP reads the data perfectly. Can't JASP simply ignore the value labels? Although I am not an advanced or experienced JASP user, I do not see how value labels are useful to JASP. Maybe make it as an option if it serves some purpose. Regardless, thank you for taking the time to discuss this with me. |
Dear John,
Ah ok good, so at least in some cases there is a workaround for this. Another way would be simply removing the labels in JASP. By which I mean renaming the label for
Well, usually people want to keep their labels, so dropping those would lead to quite some complaints. And they would be right because JASP would be throwing away information that the sav-file contains.
Perfectly reasonable behaviour given your data-file and the way you defined your labels.
I think what we could do is make it so that when you try to convert it to scalar it could check whether all the values are convertible to float and if so offer to drop all the labels.
You are welcome! I will change the title to reflect the problem in some more detail and I will set this issue for the 0.15.1 release because we are currently working hard on getting 0.15 out the door. Hopefully 0.15.1 will follow not too long after that. Cheers! |
Hi Joris, I recommend JASP all the time to people, and this exchange is a good example of why I do this. By the way, where/how does JASP store value labels? The only time I have ever seen them is in this dataset. Regardless, thanks again for your attention to this issue. Cheers, |
That might also be a good solution.
If you click on the column's name in the data view the variable editor will be opened (for everything except scalar anyway) and there you can edit the labels if so wished.
Thank you for letting me and us know and you are very welcome! |
Tested with current 0.19 beta & till valid. |
Fixed in jasp-stats/jasp-desktop#5367 |
Steps to reproduce:
JASP-Example.zip
Thanks,
John
The text was updated successfully, but these errors were encountered: