How to Use SPSS: Transform or Recode a Variable

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • Transforming or recoding numeric variables into converted numeric or catergorical variables.

Комментарии • 6

  • @Ybba1982
    @Ybba1982 9 лет назад

    Hello, if i have a variable female listed as string, how do i change this to numeric if I'm trying to compute an analysis around male?

    • @tacappaert
      @tacappaert  9 лет назад

      Click on the Variable view tab at the bottom of the screen, then find the column labeled Type. Here is where you can change your variable to numeric.

  • @mrmiguelf44
    @mrmiguelf44 8 лет назад +1

    I would like to recode multiple variables. For example: each variable can range from 0 to 100 and there 7 variables. Question how can recode to a new variable (1) consisting of up to 6 out of 7 variables scoring above 50, (2) those who have 6 or 7 below 50 and those with mixed.

    • @tacappaert
      @tacappaert  8 лет назад

      +mrmiguelf44 I'm not sure I understand your intention but variables can be aggregated first and then recoded.

  • @lianavarrone9281
    @lianavarrone9281 8 лет назад

    I need to recode a string variable into 4 new variables - ie "favourite chocolate bars" into "mars", "snickers", "bounty" and "picnic" - with each of these new variables either filled or left blank if the original variable included them. However the original variable can contain all or none of these. How do I do this?

    • @tacappaert
      @tacappaert  8 лет назад +1

      +Liana Varrone If I understand your situation, I would suggest that you create 4 new columns labelled mars, snickers, bounty, etc. These columns will either contain a response or be blank.