I ran a GLS random effects regression on some NBA data in Stata, and I was told that it was wrong because I didn't use mixed effects model. This may every well be the case, but I was quite confused by the explanation. Here is what I did using Stata:Dependent variable is team win's and independent variables is different types of opponent shooting data.Paneled data using xtset to account for the different NBA seasonsRan robust xtreg for both fixed and random effectsHausman test had a high chi^2, so I stayed with the GLS random effects regression.If this is incorrect, please let me know so I can fixed this. I always thought that the mixed effects model was for logistic regressions when my dependent variable was categorical. I was told that I did not take into account this team grouping structure within your analysis, but the Group Variable was the teams.
Am I supposed to be using Mixed Effects?
dataset;regression