convert variables from string to numeric in STATA

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

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

  • @shanialorenz5268
    @shanialorenz5268 3 года назад

    First video that actually helped me!! Hallelujah, thank you!!!!!

  • @samanthawhite135
    @samanthawhite135 3 года назад +1

    Thank you so much! This is the first video I found that actually solved my error I was continuing to have.

  • @alix743
    @alix743 4 года назад

    Thank you for your informative video which still is being watched on 18.05.2020. I'm new in Stata and earning management as well :). Bless you!

  • @husseinfarag7937
    @husseinfarag7937 5 лет назад +1

    So helpful, jazak allah khair

  • @elizabethseth3949
    @elizabethseth3949 3 года назад +1

    I'm honestly grateful for the help sir!

  • @MaskedHoolagin
    @MaskedHoolagin 4 года назад +4

    thank you for saving me from a blunder of shame

  • @KA3BOOL50
    @KA3BOOL50 3 года назад +1

    Solved my problem, you are a hero. Thank you

  • @sergiomunozmartinez7819
    @sergiomunozmartinez7819 4 года назад +2

    That is very basic (I could not do it for commands), but so useful!! thanks for share that, now i can do it by commands and use the do file... I'm your subscription from now

  • @hassangholipour4152
    @hassangholipour4152 3 года назад +1

    Thank you so much Abobaker. It was so useful

  • @lednafilipe
    @lednafilipe 4 года назад +2

    Thank you so much, you are a life saviour... Bless you

  • @muhammadfarooq8967
    @muhammadfarooq8967 2 года назад

    MashaALLAH

  • @tuonganhuynh3578
    @tuonganhuynh3578 4 года назад +2

    Thank you, sir! You save me and my thesis!

  • @saadalhumaid3959
    @saadalhumaid3959 4 года назад +1

    شكرا لك يااخي من السعودية جزاك الله الف خير ورمضان كريم

  • @Dvine.thoughts
    @Dvine.thoughts 3 года назад +1

    Thank you so much sir. Really appreciate your work.

  • @adamwolf7513
    @adamwolf7513 3 года назад +1

    SOOOOOOOO helpful! thank you a million times!

  • @azamatkashkinbayev9956
    @azamatkashkinbayev9956 3 года назад +1

    Great, my mate! Thank you very much

  • @avanwwww
    @avanwwww 4 года назад +1

    Thanks from Australia

  • @diogenesdesinope4459
    @diogenesdesinope4459 3 года назад +1

    Thank You sir, you're awesome

  • @edilsonchagas438
    @edilsonchagas438 4 года назад +1

    Thanks from Brazil.

  • @shivrajb640
    @shivrajb640 7 лет назад +1

    Thank you for this my Libiyan brother

  • @emmanuelharuna5809
    @emmanuelharuna5809 4 года назад +1

    Thank you so much dan'wa. Nagode!

  • @angelemmanuelvega-sanchez2101
    @angelemmanuelvega-sanchez2101 5 лет назад +1

    thank you. a very useful video.

  • @alzoumamohamed7698
    @alzoumamohamed7698 4 года назад +1

    be blessed pour ça

  • @Schame85
    @Schame85 6 лет назад +1

    Extremely helpful, thanks

  • @TheMissantos
    @TheMissantos 3 года назад +1

    Thank you very much! You helped me :)

  • @abdullahalmamun-kk5bb
    @abdullahalmamun-kk5bb 3 года назад

    thank you its very helpful

  • @catherineshepperdley7951
    @catherineshepperdley7951 3 года назад +1

    Thanks, this was helpful!

  • @carolynw.2381
    @carolynw.2381 3 года назад +1

    thank you, this was very helpful!

  • @adanebahiru539
    @adanebahiru539 4 года назад +1

    Big thank you! it helps me at big!

  • @linarakhadimullina6550
    @linarakhadimullina6550 2 года назад +1

    thanks!!!!!!!!!

  • @zai_verse
    @zai_verse 2 года назад

    Thank you!

  • @goldfish3385
    @goldfish3385 3 года назад

    Thanks so much!!!

  • @willynkurunziza3820
    @willynkurunziza3820 3 года назад

    merci bcp j'étais totalement bloqué

  • @vitriawaode6302
    @vitriawaode6302 6 лет назад +2

    hi...i'm working with that step but why it won't working....it still the same (red color)

  • @oscarantoniocastromolina3714
    @oscarantoniocastromolina3714 3 года назад

    Thank you!!! Tenga su like buen hombre!!!

  • @Sam-cp4uc
    @Sam-cp4uc 4 года назад +1

    You save me! thanks a lot

  • @maryamergasheva3482
    @maryamergasheva3482 6 лет назад +1

    Thank you for huge help!

  • @gulsah.1996
    @gulsah.1996 4 года назад

    Thank you very much.

  • @francescomontagnani859
    @francescomontagnani859 4 года назад +1

    Thanks for this!

  • @abdullahrabaya9235
    @abdullahrabaya9235 4 года назад

    Thank you Abu Baker for sharing an interesting way. My data is numerical but when I import it to Stata, they become read (string). when I apply your method so all values become missing. May you share your opinion regarding this matter?

  • @yamunas2448
    @yamunas2448 4 года назад +1

    Thank you so much !!!

  • @humakhalid6038
    @humakhalid6038 5 лет назад +1

    Thank you

  • @TanvirAhmed-qo3dk
    @TanvirAhmed-qo3dk 4 года назад +1

    thank you

  • @D0oNNzz
    @D0oNNzz 5 лет назад +1

    Thanks!!

  • @robertoarce3852
    @robertoarce3852 2 года назад

    I love you

  • @kmj1324
    @kmj1324 2 года назад

    I love you 3000

  • @frostfrozen9311
    @frostfrozen9311 3 года назад

    thank you ,

  • @baloo5949
    @baloo5949 3 года назад

    Hey! Im desperately in need of your help!!! My data set is string daily (without the weekends)
    I've tried formatting the data using the command: generate time=date(date, "MDY") but it keeps responding with "missing values generated".
    Please help me i've tried everything and nothing works. My data is 01/01/1991 (MDY) and its called date but i dont know why it isnt working

    • @earningsmanagementestimati6028
      @earningsmanagementestimati6028  3 года назад

      www.statalist.org/forums/forum/general-stata-discussion/general/1475575-help-convert-numbers-to-time-generate-a-date-time-variable

  • @prometijs
    @prometijs 4 года назад

    After I made that command I got a message "X contains nonnumeric character; replaced as long (123 missing values generated") My data set is from CSV file with numbers. What shoud I have to do?

    • @earningsmanagementestimati6028
      @earningsmanagementestimati6028  4 года назад

      Hi
      You have to check back these cells which have missing values. Maybe they have some letters. Only cells with numbers will be converted to numeric value.
      Regards
      Abobaker

    • @prometijs
      @prometijs 4 года назад +1

      @@earningsmanagementestimati6028 Hi,
      Thanks but everything works fine right now. Problem was simple - my data set has comma but STATA likes dots :)

    • @earningsmanagementestimati6028
      @earningsmanagementestimati6028  4 года назад

      That is good, so the is problem identified!

  • @yubiee731
    @yubiee731 2 года назад +1

    sir,,,my data not change to numeric but it dissapear

  • @countingstars3423
    @countingstars3423 4 года назад

    your approach has a lot of "missing values generated"?

  • @jeroenr.2737
    @jeroenr.2737 3 года назад

    for me it does not work. I lose my data as it changes to dots. Anyone that might know how to solve this issue?

    • @earningsmanagementestimati6028
      @earningsmanagementestimati6028  3 года назад

      You should keep a copy of your data before any step you take

    • @earningsmanagementestimati6028
      @earningsmanagementestimati6028  3 года назад

      This works for numeric data

    • @jeroenr.2737
      @jeroenr.2737 3 года назад +1

      @@earningsmanagementestimati6028 but when I paste my data again in the editor it is string again and not numeric. Need to keep my data and the data to be numeric

  • @filipnovinc5576
    @filipnovinc5576 4 года назад +1

    Thank you!

  • @tatianegonzalez3919
    @tatianegonzalez3919 3 года назад

    Thank you so much!

  • @gracianaaa_
    @gracianaaa_ 4 года назад

    Thank you so much!