2020-04-02 13:31:11 UTC
I want to do a cross-sectional analysis
1st) to see what life domains (categorical variable) people chose. I am thinking of a frequency analysis.
2nd) to see, what life domains people from different age-groups chose (once in 2 age groups, once in 3 --> so a categorical variable with 2 or 3 values). Still unsure, a frequency analysis seperately for each age-group...? Was trying Binomial and Chi2-Test but did not find out, how I can compute it seperately for different values in my group-variable.
3rd) I want to compare, if age groups do differ significantly in the most often chosen life domains or least chosen respectively. I think a Chi2-Test would be suitable. Unsure yet.
Now to my question:
I did generate 1 variable for the age groups, this worked. For the domains it did not work so far: I somehow have to generate a new variable, containing 5 values.
My domains are now in 5 variables as follows:
Each participant has those 5 variables for the aspects (since I wanted to get their 5 most important life aspects).
Every Aspect-variable contains a value from 1 to 19, representing an aspect (family, friendship, work, finances etc.).
I do not want to add them up, since the info would then be lost. I tried the code provided from spss but it did lead to error messages and absurdly high values instead of a list or string of variables:
I would be very grateful for some tips/advise!