I'm trying to predict a continuous variable using multiple linear regression model including various categorical and continuous independent variables. In the model I have also included the "location" variable (which includes the categories, i.e., name of the location/intersection from where the data were gathered).
I'm wondering whether in a fixed effect model the “location” could be used as an independent variable to see location wise influence, or should I fit a random intercept linear model to account for the influence of "location".
To understand it, I have fitted a random intercept linear model, to account for the random effect of "location". After fitting the model, I have calculated the variance explained by the random effect parameter (location), which revealed that it only explained 12.83% of the variance.
My queries are:
1. Should I proceed with random intercept linear model or due to the low variance explained by the model I should stick with fixed effect linear model?
2. If I stick with fixed effect MLR, then is it ok to add “location” as independent variable. What I observed that during fitting the fixed effect MLR model, removing location variable cause significant change in other variables; thus I found it as important variable in the model.
Any suggestion regarding this query will be appreciated.
Thanks
Related Posts with How to identify that random effect linear model is required over fixed effect linear model?
Mean difference testhello there , I have an unbalanced panel data of banks comprising of 21 public,42 foreign and 21 pri…
IV regression,the independent variable is Non-negative integer, endogenous variable is ordinary, which command can I use?Thanks a lot, Now, I am facing a problem, the problem is just like the title said. I want to conduct…
Extracting parts of a string for -rename-Hi all, I'm running into a problem I don't understand. I have a bunch of variables named of the for…
Fixed effects in bar chartHello everybody, I am trying to find out if there is a relationship between business tax increases …
Adding suffix or prefix to each element of a global varlistHello, I have a core set of variables and for each of them I generated several secondary variables.…
Subscribe to:
Post Comments (Atom)
0 Response to How to identify that random effect linear model is required over fixed effect linear model?
Post a Comment