Hi Stata Users
I'm trying to run a Spatial Durbin Model where am using the SPMLREG. However when I run the following command:
spmlreg hosp_d Young_d Old_d i.Urban_l tpgrw Litt sexratio Ecoactiv_t Watpro, weights(Wi) wfrom(Stata) eignvar(eigenv) robust model(durbin) sr2
I got the message: factor variables and time-series operators not allowed which is coming when the variable i.Urban_l which is categorical is used. When only continuous variables are used this error message isn't showing up.
Could you please give me a hand on how I can use a categorical variable in the Spatial Durbin Model?
Thank you in advance.
(By the way am using Stata 15 SE)
Related Posts with spmlreg /// factor variables and time-series operators not allowed
Panel Data model interpretation: Choosing between FE and REHi. I have a long panel, that is my T is 16 and N=8. Where the dependent variable is number of under…
Multivariate Regression value higher than univariate?This is a simple question: I have done a small research study where I had a significant (Logistic re…
loop for dummy variableI have many data sets in the format such as this one, however most are much longer. origin is just t…
bar chart comparing mean to a constant variableDear Stata Community, I am looking to create a bar graph similar to that below. For simplicity, I w…
change in sign and significance of linear term after adding quadratic and cubic termsHi all, I need your comments on change in sign and significance of linear term after adding quadrat…
Subscribe to:
Post Comments (Atom)
0 Response to spmlreg /// factor variables and time-series operators not allowed
Post a Comment