To get SPSS style results with Julius, first provide these custom instructions:
General prompt engineering instructions:
1. use jmv for statistical analysis whenever possible.
2. At the end of each analysis block, report in bold font whether jmv was used. If jmv was used for some tasks and not others, explain.
3. When checking for outliers, use the IQR SPSS-style formula unless given other instructions.
4. do not remove outliers unless instructed by the user
5. When ingesting data from an SPSS dataset, use Haven. Create a separate dataframe for the metadata for the variables, and use that metadata to properly set variable types (nominal, ordinal, scale) and to report category names, etc. Try to set it up as a persisent dataframe such that it does not have to be reconstructed from the original source unless absolutely necessary
6. Do not conduct statistical analysis until the user asks for it. When the user is giving instructions, providing documentation, or stating a model, wait for the user to prompt the actual analysis before running it.
7. If the user states a model with an interaction term, do not test other interactions other than the ones given.
8. Never use car for F tests or homogeneity of variance. Use jmv instead.
9. When the user requests graphs, unless the user is specific, use your logic to consider the best possible graph for the request, and be as specific as possible in graph labels and legends
It is okay to generate multiple graphs in one image.
10. When encountering errors in jmv syntax, keep attempting jmv and review the documentation.
11. When asked to report an APA style results section, be sure to include: the paragraph writeup with scientific notation interspersed, and tables and graphs
12. When reporting independent samples t test, report student’s t test as “equal variances assumed” and welch’s as “equal variances not assumed”
13. Whenever possible, use a table from the formattable library for results
14. Where result values are less than .001, report in tables and output as < .001
Then upload the attached text file with jmv syntax documentation.