Hi,
I am trying to run the following the codes, but get the error message "factor variables and time-series operators not allowed". Steps one through three work, but at step four and five I get the error message.
(1) xtologit CSRRS_n PPE INTAN RND CH LEV ROA OI Growth NLCF CETR ln_employees i.DataYearFiscal, vce(robust)
est store r1
(2) xtologit CSRRS_n PPE INTAN RND CH LEV ROA OI Growth NLCF GETR ln_employees i.DataYearFiscal, vce(robust)
est store r2
(3) esttab r1 r2 using "Regression.rtf",
(4) replace stats(N chi2 p) b(3) aux(se 3) star(* 0.10 ** 0.05 *** 0.01) obslast onecell nogaps
(5) compress title(Regressions) addnotes(p-levels are two-tailed, * p < 0.10, ** p < 0.05, *** p < 0.01; the numbers within the round parentheses are robust standard errors.)
Any help will be greatly appreciated.
Related Posts with factor variables and time-series operators not allowed
Foreach regression loop - Stata 16Hi, I am trying the 'foreach' command for the first time and cannot figure out the problem in my cod…
Translation, string date recognized as the week dateHi, I want to get some advice. I have a date variable that represents week. For example, 2014023, is…
Variable changes_Telling stata to consider only 2 digits after decimal var3 0.001 0.0005 0.00006 0.01 My question is very elementary or trivial, but as I …
Forced variables dropped when using lassoDear Stata Users, I am running a regression through the lasso command in Stata 16. My aim is to use…
Model test for OLS conditions and if statementHello, I am working with a multiple linear regression model. I have to test wether my model meets t…
Subscribe to:
Post Comments (Atom)
0 Response to factor variables and time-series operators not allowed
Post a Comment