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...