Introduction to multilevel linear models in Stata®, part 1: The -xtmixed- command

Поделиться
HTML-код
  • Опубликовано: 24 янв 2013
  • Discover the basics of using the xtmixed command to model multilevel/hierarchical data using Stata.
    Note that the xtmixed command was replaced by the mixed command in Stata 13.
    If you'd like to see more, please visit the Stata Blog:
    blog.stata.com/2013/02/04/mult...
    www.stata.com
    Copyright 2011-2019 StataCorp LLC. All rights reserved.

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

  • @meganmclawson
    @meganmclawson 10 лет назад +1

    Very nicely done. These are a terrific resource. Thank you, Chuck and Stata!

  • @daz3lingdawn
    @daz3lingdawn 9 лет назад +3

    Excellent video, clear explanation, smooth lecture. Just awesome. You should do more videos!

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

    I was so nervous about using Stata for HLM, but this was immensely helpful and really comforting. Thank you for the great video!

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

    Chuck is a genius for teach, genius for understand the concepts!!!!

  • @SalehBabazadeh
    @SalehBabazadeh 9 лет назад +2

    Chuck Huber! you are awesome! keep producing videos please.

  • @taidungman
    @taidungman 10 лет назад +1

    awesome! very clear explanation.

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

    Very helpful!! Expecting part two.

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

    Excellent video, very intuitive graphics, thanks a ton

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

    Awesome! Keep up the great work!

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

    Thanks for this great video!

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

    So many thanks for your videos. I am doing biostatistics and I can testify that your video are for a great help to me. Glod bless you and stata

  • @francisvergunst7467
    @francisvergunst7467 5 лет назад +4

    Note that the "xtmixed" command has been superceded by the "mixed" command in newer versions of stata

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

    Excellent video sir.

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

    Very useful - thanks!

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

    Awesome !

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

    Thanks for this. It'd be great to have a video on multilevel modelling with gsem (GUI + code).

  • @statacorp
    @statacorp  10 лет назад +3

    You can download the dataset used in this example by typing: use www.stata-press.com/data/r13/productivity.dta

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

    Awesome explanation! But I am still wondering if you have something on how to use mixed effect models for Censored dependent variable (e.g. percentage data ranging from 0-100%). Thank you!

  • @brysonmusonda4048
    @brysonmusonda4048 2 месяца назад

    Excellent

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

    Hi I was wondering if you could use the same procedure when the observations are nested within two levels that are not related, that is Level 2 is not nested within Level 3. For example observation in nested within "State" and observation is also nested within "Person"

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

    thnx a lot

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

    The analogy doesn't translate very well literally though my hand calculation is quite close to the -xtmixed-result. The reason is that -xtmixed- is fitting the entire model using all of the observations and variables simultaneously. You won't get the identical result if you consider one part of the model in isolation. The results also depend on the estimation method used such as ML or REML.

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

    Stata 12, is the option 'covariance(independent)' default? In Stata 14, how can adopt this opt command?

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

    All,
    I'm using Stata 13. Does anyone know how to group-mean center the variables? grand mean centering worked with "mcenter". In Stata 14, group mean centering is just "center", but I'm on a different version than a person working wtih me.

  • @majailic-pupovac6087
    @majailic-pupovac6087 7 лет назад

    What would you do if you have two bases for clustering, but not on two levels? From your example, let say region and industry; so cases are clustered in regions and in industries?

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

      u run two different models, one for each cluster

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


    Hi, I am working on multiple time series regression model. I check through corrgram, pperron and dfuller tests [in stata] that the dependent variable is stationary at level 3 while independent variables are stationary at level 2 or 3. Can we still run VECM when the variables are cointegrated but stationary at different levels?
    An other question is that VAR and VECM are the candidate estimation techniques for multiple regression time series. Is there any other technique for multiple time series regression?

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

      Please contact technical support with your question at www.stata.com/support/tech-support/contact.

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

    Is it possible to apply Multilevel models when data set consists of 3 IVs of categorical nature and 1 or more continuous DVs ?..........
    My data set consists of 3 categorical IVs (1st IV consists of 2 categories, Second IV also consists of 2 Categories and 3rd IV consists of 3 categories).

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

    How do we make a table for this including random effect parameters?

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

      The *xtmixed* command has been renamed to *mixed* . You can fit a model with *mixed* and then use the *collect get* command to collect the results from the command. You would use a named expression with *collect get* to display the random effects as they are shown in the output from *mixed* . Then you would simply lay out your table with *collect layout* . Please email us at tech-support@stata.com if you would like to see an example.

  • @user-nx2ez7hq6c
    @user-nx2ez7hq6c 3 года назад

    야호

  • @gunetmwalungali9768
    @gunetmwalungali9768 3 месяца назад

    This has simplified multilevel modelling

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

    Sir,
    I am currently working on a meta analysis. But I am not able to produce association studies of allele contrast (A vs a). Except that all are done but can not understand how to calculate A vs a frequency. If you help me out it will help me a lot.
    Thanks