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
Help in programming: Running or replicating a matlab scriptHi, I am using Stata 16 and would need some help in programming. I have a matlab script and would n…
Average Real Variability (ARV) and Variability Independent of Mean Blood PressureHi everyone, I'm Med Student and new using STATA. Currently, For a systolic blood pressure visit to…
Parallel lines assumption of ordered logit regressions with multiply imputed dataDear all, I am working with an imputed data set (M=50, N=1359) and use an ordered logisitc regressi…
Replace value from different row condtionsHello everyone I have a dataset with observations that have been matched, and I have a sample weight…
Phi coefficient and Point Bi-Serial*How to calculate the Phi coefficient and Point Bi-Serial for a complex sample after creating a surve…
Subscribe to:
Post Comments (Atom)
0 Response to spmlreg /// factor variables and time-series operators not allowed
Post a Comment