Stata drop

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • Learn how to drop variables, observations, and subsets of variables in Stata.
    The following code will come in handy for this tutorial:
    webuse census13
    drop in 5/10
    webuse census13, clear
    drop medage
    webuse census13, clear
    drop if region==1
    webuse census13, clear
    drop if region==1|region==3
    webuse census13, clear
    drop _all

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

  • @phdanthropologydata7335
    @phdanthropologydata7335 Год назад

    ur the god in human form. thank you.

  • @rachadbanisamari2403
    @rachadbanisamari2403 Год назад

    This video just saved me

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

    Hi, thanks for the video, my data is more complex. How do I drop multiple observations on a variable at once? using the rage of 15/887 is taking time.

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

    Thank you!

  • @z0uLess
    @z0uLess 4 года назад +3

    What if I want to drop variables that has no value?

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

    Thanks :)

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

    what if i want to re add a dropped variable

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

    Thanks for your video, how can I drop any missing values from a dataset? I have an incomplete command like this: drop if (*), force. Can anyone help? Thanks

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

    how to drop a .dta file that was merged to a larger dataset?

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

    Hi! Can anybody please help if I want to drop every 5th observation. What will be the code?

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

    Thank you!