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?
Question on an event study with foreign exchange dataHello! I am trying to do an "event study" on foreign exchange data from the euro usd pair. I have a…
How to generate a new variable using an existing variableHello everyone, I am learning Stata and need some help. I have a variable called mrs_90day which has…
Elasticities for different years using "reg3"I'm using "reg3" command to estimate a simultaneous system of demand and supply. I've a world demand…
does "xtset" and "i.year", "i.country" are the same things?I wanted to confirm my understanding if I get the same results from the following two commands: (the…
Problems in command for concentration index and slope index of inequityHi, I am facing problem in using STATA command like conindex, cixr, siilogit, equiplot. It is sayi…
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