-
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
Enhancement Request: Allow JASP to run SPSS Syntax #119
Comments
Now that is an interesting suggestion! We have some bigger syntax-fish to fry first, and this is a non-trivial idea, but let's see where we stand after frying said fish. |
This project does this work (converts the SPSS syntax to R code), however, it complies with the task of being able to replicate analysis. |
Related to this, it would be great if jasp could produce syntax (at least R, or also spss, or both) by klicking on a "paste" button in the menues like in SPSS. Moreover, in SPSS, it is possible to display syntax directly in the output. (Reason: This is the pivotal feature that it would need to be able to replace SPSS in our courses. And one has to store some kind of syntax together with the results to make analyses reproducible. ) |
The construction of R syntax mode is now our top priority. SPSS syntax is something we may consider when that's done. |
@whimsydiddles @Stephan-N |
@whimsydiddles @Stephan-N @haevalencia @EJWagenmakers
We can see, that the AI got a little too creative in step 11 and halucinates about the LSD method, which JASP does not offer. The rest is pretty accurate and does only need minor improvements. Thus the AI gives a nice starting point. I also tried translating the SPSS Syntax into the JASP specific R-Code, but CoPilot was not yet trained on that and refused. JASPs R Syntax feature is to new. So this is certainly not an efficient way to convert a big SPSS codebase, but it is one that works mostly. Thus for smaller student projects and thesis, this could be good enough. Larger science projects would need to stay with SPSS or convert via the more precise: translateSPSS2R or SPSStoR. Sooo.... Related |
@whimsydiddles @Stephan-N @haevalencia @EJWagenmakers |
In my case no. At my University (and I also know several others) the use of AI is not allowed and basically they try to use other types of more traditional software tools. The importance of importing SPSS systaxis is that it is still the de facto standard and replicability is important, added to the fact that there are already a large number of public databases with research with SPSS syntax and data. Basically we are still trying to replace SPSS with Jasp, but having reading and interoperability elements covered are essential. |
It would be nice to have, but it would be a huge endeavor. Also, it would not convince teachers to switch -- if they say that this is a deal-breaker, they are just looking for any excuse, and after we offer SPSS syntax they will find something else that is supposedly a deal-breaker. Just having the unbelievers actually open JASP is more compelling than providing SPSS code. At the moment all our attention is on the R code, which we are putting a lot of effort in. |
@EJWagenmakers I agree with you, but simply making so many assumptions is too much. I simply gave my opinion regarding the use of AI and a specific (and verifiable) use case, which is the databases available in SPSS and the replicability that allows the use of sharing the syntax of the procedures carried out in one or more investigations. I never said that it is a decisive factor to change, since we are currently using Jasp for undergraduate, graduate and diploma courses in psychology and social sciences in general. We simply still have to keep SPSS available and teach it because the replacement is not complete (And it doesn't have to be). My point was to answer if it is still useful to consider this functionality request and it is yes, of course. I also think R is the way to go, but interoperability and ease of use - at least for me - is important. Cheers |
OK. I did not mean to imply that you held a particular opinion on this issue. |
I understand, but this answers only part of my post above. I try again. To convert SPSS syntax there are 2 options I see: a) for teaching / smaller code snippets: Use AI assisted translation. Currently forbidden at you university, but in the long term not avoidable. E.g. I did not hear of any university that forbids DeepL for translation and this use case is nothing else but translation. But yes, currently this option is unavailable for you, I understand that. b) for research / larger code bases: something like translateSPSS2R or SPSStoR - but probably more up to data. Have you tried those packages or are there any newer ones? I could not find one. If those are outdated and if there are no alternatives, then it certainly would be a huge undertaking for us.
c) This is a new topic I think. So many projects rely on SPSS syntax and give accesss to it, sure. Thats good. But I cannot see how this is important for replicability outside of SPSS. If you need to replicate SPSS results, you would need to rely on SPSS, except for basic stuff like t-Tests. Because no translation layer (if AI based or not) could exactly translate SPSS to R - because SPSS is not open source. Nobody outside of IBM knows exactly what SPSS syntax does compute and how - except for the basic stuff that might already be covered by SPSStoR and translateSPSStoR.
d) Some parts of SPSS will be replaced by JASP or jamovi. Some parts will be replaced by RStudio especially syntax driven research. Many reading and interoperability elements are already covered by one or the other (like importing SAV files). But porting most current research - at least for more complex analyses which heavily relie on SPSS syntax - to R seems impossible if there is not yet a good R package that can translate current versions of SPSS syntax. Thus such projects would need to stick to SPSS. And new research projects then would need to be set up with R from the start. e) I know this is a huge ask: But if you have an idea, how we could proceed / how we could make such a thing possible - in a realistic way - that would not need many developers and years - then I am all ears! Only then "it is still useful to consider this functionality request" as you argue. If nobody has such an idea, then the cost-vs-benefit calculation does not look good, I am afraid. |
This issue will be automatically closed in 42 days due to inactivity. Feel free to leave a comment if you believe this is still relevant. |
Automatically closed due to inactivity. |
Allow JASP to run SPSS Syntax
The text was updated successfully, but these errors were encountered: