Posts

Showing posts with the label individual differences

State-Trait Anxiety Inventory (STAI): SPSS Script

The State-Trait Anxiety Inventory (STAI) is a psychological inventory based on a 4-point Likert scale and consists of 40 questions on a self-report basis.  Below is a short script for SPSS which will help speed up the coding process. A version that runs in  R is also in the pipeline.  All items should be labeled as separate numeric variables as stai1 and taiy1 ...etc The script computes and prints the results for all reverse scored items and then calculates and prints state and trait scores. It will also produce  Cronbach's Alpha  coefficients. The original scoring key for the STAI can be found  here . *Part 1 - reverse scoring of specific items COMPUTE stai1r = 5 - stai1. EXECUTE. COMPUTE stai2r = 5 - stai2. EXECUTE. COMPUTE stai5r = 5 - stai5. EXECUTE. COMPUTE stai8r = 5 - stai8. EXECUTE. COMPUTE stai10r = 5 - stai10. EXECUTE. COMPUTE stai11r = 5 - stai11. EXECUTE. COMPUTE stai15r = 5 - stai15. EXE...

The Hexaco Personality Inventory - SPSS Script

I am currently using the 60-item version of the Hexaco-PI-R personality inventory and decided to write a short script for SPSS to help speed up the coding process. I have posted it below because I couldn't find anyone else who had posted one online. All items should be labeled as separate numeric variables as hexaco1, hexaco2, hexaco3 ...etc The script computes and prints the results for all reverse scored items and then calculates and prints Factor/ Facet scores. It will also produce Cronbach's Alpha coefficients for each factor. The original scoring key for the HEXACO-PI-R can be found here . ******************************************* *Part 1 - reverse scoring of specific items *Honesty-Humility COMPUTE rhexaco30 = 6 - hexaco30. EXECUTE. COMPUTE rhexaco12 = 6 - hexaco12. EXECUTE. COMPUTE rhexaco60 = 6 - hexaco60. EXECUTE. COMPUTE rhexaco42 = 6 - hexaco42. EXECUTE. COMPUTE rhexaco24 = 6 - hexaco24. EXECUTE. COMPUTE rhexaco48 = 6 - hexaco48. EXECU...