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
Using python integrated in Stata version below 16Hi All,
I'm trying to install python and its package in Stata version 15.1 SE but do not success du…
Reshape the data-set into a specified formI have a data-set contains the following variables. And, I want to reshape the data-set into a speci…
removing intercepts from groups of dummy variables in panel datahi there, so i have a panel regression of 174 nations and their GDP growth for every year 1994-2017,…
Error in lassologitI am using lasso for model selection and predictions. The code looks as follows:
Code:
lassologit…
Regression problem with categorical/dummy variables that take on more than two valuesHi members,
I have a cross-sectional dataset with 167 observations, on which I am trying to run an …
Subscribe to:
Post Comments (Atom)
0 Response to spmlreg /// factor variables and time-series operators not allowed
Post a Comment