IF THEN ELSE Conditional Statements in SAS | IF THEN ELSE Excel VS SAS|Decisioning with IF THEN ELSE

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 14

  • @ramyaeswar3387
    @ramyaeswar3387 Рік тому +1

    Hi ., can you pls let me know - How to check if the date is in correct format or not ? Using if else statement.

    • @learnerea
      @learnerea  Рік тому

      can you give an example, which could help to understand the problem statement better

  • @An-Kyan
    @An-Kyan Рік тому +1

    thank you

  • @TheYi1985
    @TheYi1985 Рік тому +1

    Fantastic !

  • @somcana
    @somcana 2 роки тому +1

    What if I want to create a new variable derived from others , for instance a rate variable.

    • @learnerea
      @learnerea  2 роки тому

      try that using if else
      e.g. if x > 500 then new_var = 'high'; else new_var = 'low'
      let me know if you get any chalange

  • @elokuuniu7976
    @elokuuniu7976 2 роки тому +1

    very smooth

  • @beingfijian1855
    @beingfijian1855 2 роки тому

    to undo the comment, i highlighted and again pressed the forward slash, but it did not uncomment. pls help.

    • @learnerea
      @learnerea  2 роки тому

      if you struggle using the shortcuts, feel free to remove the comments slashes and starts manual that will be easy

  • @9438021863
    @9438021863 2 роки тому +1

    Why for any analysis we have to creat a new dataset as something like 'testing'. Why can't we do it in the existing table or dataset.

    • @learnerea
      @learnerea  2 роки тому +3

      That you can do apparently, however, as a practice when you are working on real data, usually we avoid to temper any original data and hence we create a copy of that