Stata Quick Tip: Margins

Поділитися
Вставка
  • Опубліковано 7 сер 2024
  • Find out about margins in Stata with this Stata Quick Tip from Chuck Huber. Copyright 2011-2019 StataCorp LLC. All rights reserved.

КОМЕНТАРІ • 44

  • @elisamarcelli5604
    @elisamarcelli5604 Рік тому +5

    If i ever pass the stata exam i will owe it exclusively to you. Thank you for saving me

  • @emhealth2983
    @emhealth2983 3 роки тому +8

    wow, Chuck!. you are an excellent teacher!. My knowledge in STATA, I owe to you!. I have listened to almost all your videos in stata. Excellent!!!!

  • @thaliacrew1
    @thaliacrew1 4 роки тому +3

    Thanks! Best tutorial on margins in Stata I have seen so far.

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

    Chuck is absolutely awesome!

  • @Pickett1312
    @Pickett1312 11 місяців тому +1

    This is stunning! Chuck is the GOAT😅

  • @xlu02
    @xlu02 4 роки тому +2

    Best channel of stata! Finally I see you^^

  • @betuelivey1712
    @betuelivey1712 5 років тому

    Wow Chuck! It was a super useful video! Thank you very much!

  • @duncanidaho6600
    @duncanidaho6600 3 роки тому +1

    Stop, coefplot and list *_n, Chuck is back with a brand new invention.

  • @capham8910
    @capham8910 6 місяців тому

    Wow Chuck! Thanks you so much for your useful video. You help my life.

  • @user-kr6ro4ru2n
    @user-kr6ro4ru2n 3 роки тому

    Huber you rock! Grazie mille!

  • @tbaerg
    @tbaerg 5 років тому

    Great tip! Thanks for sharing

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

    It was super helpful! Thank you very much.

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

    Very helpful explanation. Thank you!

  • @cristianalejandro7855
    @cristianalejandro7855 3 роки тому

    thank you, you saved my econometrics course

  • @bonotermans6417
    @bonotermans6417 4 роки тому

    This is great! Thank you

  • @ps0923
    @ps0923 4 роки тому

    Stupendous!! Thank you so much!

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

    Simply AWEsome!!!

  • @muhamadikhsan8500
    @muhamadikhsan8500 3 місяці тому

    Thanks. Will try to practice margins and marginsplot

  • @bernardmukuka
    @bernardmukuka 11 місяців тому

    Great lesson.

  • @abeyamokhtar8475
    @abeyamokhtar8475 4 роки тому

    Thank you that was super useful

  • @asylbekibrakhimov459
    @asylbekibrakhimov459 3 роки тому

    thank you, very helpful

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

    Lo máximo, Jack, gracias.

  • @Fargis08
    @Fargis08 3 роки тому

    THANK YOU!

  • @aliyahisam757
    @aliyahisam757 5 років тому

    very informative

  • @eveo2223
    @eveo2223 3 роки тому

    very helpful!

  • @arian7523
    @arian7523 3 роки тому

    Thanks a lot.

  • @michaelostermann4198
    @michaelostermann4198 3 роки тому +1

    I would love to see this applied to stcox, with an interpretation.

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

    Thank you :)

  • @vickdeem
    @vickdeem 4 роки тому +2

    Hi. I want you to know that I am indebted to you for my knowledge in handling stata software. Thanks.

  • @nortongartino4602
    @nortongartino4602 3 роки тому

    oh so this is chuck huber

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

    shouldn't the birthweight be smaller in the case of margins at age=45 compared to the age =30?

  • @inquinimento
    @inquinimento 5 років тому

    Tnaks, at the end you mention sem, but I haven't been able to find anything on that (and no factor variables allowed for sem)

    • @inquinimento
      @inquinimento 5 років тому

      especially for multi-equation sem, perhaps with different estimation methods e.g. mvml..

  • @00sulaman
    @00sulaman 4 роки тому +1

    I wish Chuck Huber was my PhD supervisor...

    • @zamakhwakha9789
      @zamakhwakha9789 3 роки тому

      Do another PhD and request Chuck Huber to be your supervisor. Or you can collaborate with him on some important research project. Problem solved.

  • @schwarzerpanther5532
    @schwarzerpanther5532 4 роки тому +1

    Like when you were sent here by Schober

  • @kalya3ed8761
    @kalya3ed8761 4 роки тому

    wow

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

    Hi Chuck, is it possible, using a specific frame, to make a twoway contour if my regress contains a var1^2, var1 and var2. You help would be very usefull for my work. Thanks. Gerar

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

      It sounds like you want to create a contour plot, but it is unclear whether you want to plot the actual values of your variables or predicted values after fitting your model. Note that you can use *predict* to obtain predicted values, and then plot those resulting variables. If you would like, you can email us at tech-support@stata.com with more details about the graph you would like to create, and we would be happy to help.

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

    Hi, whenever I put in my variable in it comes up as covariate not found, do you have any ideas how to go about this? Any help would be appreciated. Thanks

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

      The variable you specify immediately after *margins* needs to be a factor variable or an interaction term. For example, in this video we fit a model with *regress bwt age i.smoke* . We were then able to type *margins smoke* . On the other hand, age is not a factor variable, so we would get an error if we were to type *margins age* . Please type *help margins* to learn more and feel free to email our Technical Support team at tech-support@stata.com for any other questions.

  • @wagnersantos7748
    @wagnersantos7748 4 роки тому

    Hi, I'm facing a problem on marginsplot ti my study. Is it possible to send you an e-mail with my problem? I thank you very much!!!

  • @user-wo8iq8tz7b
    @user-wo8iq8tz7b 3 роки тому

    Hi I have a problem when I use "margins". Could you please have a look at the error message as the following?
    margins, at(meta1=(-3, 0))
    default prediction is a function of possibly stochastic quantities other than e(b)
    what can I do to fix this problem? Thanks!