This article describes how to calculate Cronbach's Alpha for one or more numeric variables, as in this example showing a table made from a Numeric - Multi variable set where the data consists of responses on a scale from -2 to 2 indicating preference, with -2 being "Hate" and 2 "Love":
to a detailed output including the alpha values:
- One or more variables using any numeric data structure.
1. Go to Calculation > Custom Calculation.
2. On the Page drag the pointer to create the output sized as you like.
3. In the object inspector under Properties > R CODE paste in the code below:
df = data.frame(q4a_4, q4b_4, q4c_4, q4d_4, q4e_4, q4f_4)