restructure data

  1. F

    CASESTOVARS Command for repeated measures - Long-to-Wide Format

    Hey everybody, I have a question for a repeated measurement experiment. We investigate the effect of Attachment Style (IV) on Sexual Interest (DV) with 4 mood conditions (IV/Moderator), repeated 4 times for that. The IV is a questionnaire pack prior to the 4x sessions (Moderator & DV). The...
  2. S

    transforming multi-response questions into several single response questions

    Hello! I would really appreciate help on the following task. Data I have two multiple response sets of 10 variables each - which belong together. - The first set contains up to 10 smartphone apps the respondent was able to indicate whether he/she is using (value labels range from 1 to 23, one...
  3. S

    Combine repeated measures into single variable (dataset is already in stacked format)

    Hello, I am working with a longitudinal datasset that is already in the stacked/multiple-record/vertical format (there are six entries for each case). As it stands, there are seven separate variables that measure medication use at the seven time points. I am having a really hard time...
  4. A

    Comparing values of subsequent cases (syntax)

    Hi! I'm stuck with a seemingly simple problem (comparing values One variable - Multiple cases). Please help! This is what I want to do: I have records for a variable for different participants for several subsequent months, that is there is more than one case for each participant (number of...