Coding of String Variable in STATA

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 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

  • @arthurjackson5594
    @arthurjackson5594 10 ปีที่แล้ว

    Thank you. Well explained indeed.

  • @patricia59452
    @patricia59452 7 ปีที่แล้ว

    Very helpful! Thank you!

  • @dalennhim539
    @dalennhim539 9 ปีที่แล้ว

    Very helpful, thanks

  • @jlngweshemi
    @jlngweshemi 9 ปีที่แล้ว

    Very useful! Thank you ....

  • @RossellaDeFalcoSoleyCelticHarp
    @RossellaDeFalcoSoleyCelticHarp 6 ปีที่แล้ว

    thanks, this was great

  • @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!

  • @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?

  • @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
      th-cam.com/video/9yxWbdBxm_E/w-d-xo.html

  • @mzhbr4673
    @mzhbr4673 7 ปีที่แล้ว

    Thank you!!!

  • @Mynameisorapan
    @Mynameisorapan 9 ปีที่แล้ว

    Thank you

  • @bhimgd
    @bhimgd 11 ปีที่แล้ว

    thanks !