HLM comparison with OLS – 2 levels, random coefficient on constant

do file* xtmixed is capable of estimating a variance for the random effects on multiple levels.* random effects are normalized to have mean 0.* Our initial model is y_ij = bij + xij*B1 + uij* With bij = B0 + v0j* We can represent our model as:* y_ij = …

Continue reading HLM comparison with OLS – 2 levels, random coefficient on constant

Random Coefficients with IFGLS and MLE

Original Code* In a recent post on Estimating Random Coefficients (http://www.econometricsbysimulation.com/2012/11/estimating-random-coefficients-on-x.html), I proposed the use of Maximum Likelihood Estimation (MLE) as a means of estimating both the he…

Continue reading Random Coefficients with IFGLS and MLE