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
How does David Dorn endorse a m:m merge?Hi everyone, First time poster to this message board. I had a question about David Dorn's commuting…
Select one observation within group with complex criteriaHello, I have to select only one document per each firmid (sometimes I have one document per firm id…
Not achieving convergence in Latent Class AnalysisHi all, I'm exploring an LCA model with a household survey we've ran. This is looking at the activi…
Imputation methodHello, dear Stata community, I have questions related to imputation and winsorization methods that …
Calculating averages (industry+year) based on sub sample and then applying them to all firmsHi, I am still quite new to Stata (using Stata 16) and hope to find help here as I do not know how t…
Subscribe to:
Post Comments (Atom)
0 Response to spmlreg /// factor variables and time-series operators not allowed
Post a Comment