Hello,
I am having trouble understanding what the difference is between xtreg with random effects and xtmixed? My data concerns how certain drug policy characteristics (5 dummy variables) affect cannabis consumption rates. I have arranged the data as a panel, where I have 8 observations (2006 to 2016) for about 20 different EU countries (although I have many missing observations). I had done my analysis using xtreg with random effects (to control for the repeated measures per country even thought I am not really assessing time as a variable) but today I came across multilevel models and using the mixed command with random intercepts. The result are quite similar but not the same. I tried xtreg, xtreg with mle at the end and xtmixed. I do not know which one to pick and why.
Related Posts with xtreg, xtreg mle or xtmixed?
How to do a special histogram like this in Stata?Hello, I saw a histogram by group like below. I want to use the classical Stata data auto.dta to mim…
combine Several observations to one observation in a given yearDear all, I need to get the SUM of Var 1. for each ID observation in 2016, for example, A person w…
Create change variable for timeseries data.Hi, my problem is twofold. I downloaded a database containing gvkey, sic code, year (1995 - 2005), y…
Spatial Panel Data and Spatial Weight MatrixHi all, I use Stata 17 to create a spatial panel dataset of more than 3000 US counties and 5 time p…
Getting selected variables from cvlassoMy read of "help cvlasso" is that e(varXmodel) should contain only variables chosen by cvlasso. Howe…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg, xtreg mle or xtmixed?
Post a Comment