Coding of String Variable in STATA

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

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

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

    Thanks Imran!! You don't know how much you've helped me!!
    Best regards.

  • @neetunaik723
    @neetunaik723 6 лет назад

    This video is answer to my all questions, thank you so much... you saved my day :)

  • @eddahcatherinelijoni1220
    @eddahcatherinelijoni1220 6 лет назад

    Thank you so much, Imran. Thats what I was looking for.

  • @GreenZone03
    @GreenZone03 6 лет назад

    Excellent presentation. Thank you

  • @richardakpotareno4604
    @richardakpotareno4604 11 лет назад

    you are very explicit thanks

  • @patricia59452
    @patricia59452 7 лет назад

    Very helpful! Thank you!

  • @arthurjackson5594
    @arthurjackson5594 10 лет назад

    Thank you. Well explained indeed.

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

    Very useful! Thank you ....

  • @RossellaDeFalcoSoleyCelticHarp
    @RossellaDeFalcoSoleyCelticHarp 6 лет назад

    thanks, this was great

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

    Very helpful, thanks

  • @aditigrossman9815
    @aditigrossman9815 5 лет назад

    Hello Imran, this video is well explained. I have a follow-up question: What if people chose more than one type of degree i.e. say the response includes high school and masters ... how do you code that?
    It's kind of like destring / split but not sure how to use them. Thanks for your help!

    • @imransunesara
      @imransunesara  5 лет назад

      Aditi Grossman One need to design a survey to restrict the selection. For this example, Degree variable is Ordinal. So it would be implied if person who has Master degree also has bachelors degree, survey should restrict to pick one option. Even if you have multiple selection, you may code it to select the highest education level. Thanks!

  • @bosedengoziadeleye4577
    @bosedengoziadeleye4577 10 лет назад

    thank you Imran!......the video tutorial is very well explained.....I am a new user of Stata.....so I do need a lot of tutorials.....but what if you have multiple variables (up to 200) that requires conversion from string to numeric....is there no single command for that?.....and also how do you generate identifiers for variables? thank you.

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

      +Ngozi Adeleye
      Please see this video
      ruclips.net/video/9yxWbdBxm_E/видео.html

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

    Hey, I have a question. I need to create new string variable from 2 string variables that I already have. This is my code: generate str CBSATYPE_Complete = "", after(CBSATYPE)
    replace CBSATYPE_Complete=CBSATYPE
    replace CBSATYPE_Complete= CBSATYPE2 if CBSATYPE = "" I am getting an error message for the last command "Type mismatch
    All the variables are sting
    Do you have any idea what is going on?

  • @mzhbr4673
    @mzhbr4673 6 лет назад

    Thank you!!!

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

    Thank you

  • @bhimgd
    @bhimgd 11 лет назад

    thanks !