Hi everyone,
I am having an unexpected error warning "_lambda_varname invalid name".
I am using STATA 17 for mac.
For quick background: I am running meta-regression analyses using the robumeta package.
For the analyses, I centered two continous variables using the mcenter command. This worked fine for both variables and they were saved as new variables.
*Variable 1: dosage_session
mcenter dosage_session
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
C_dosage_s~n | 3,556 7.08e-16 4.989599 -9.036232 49.96377
*Variable 2: attended_session_perc
mcenter attended_session_perc
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
C_attended~c | 1,154 -7.45e-17 .193971 -.5968094 .2731906
Here comes my problem:
When I am running the meta-regression analyses I receive an error warning only for the second variable C_attended_session_perc
This is the error:
_forlambda_C_attended_session_perc invalid name
This does not happen with C_dosage_session. I tried renaming the variable to centered_attended_session and the same error occurred --> _lambda_centered_attended_session invalid name
I tried a lot of googling but I haven't found any helpful forum entry, so I am trying statalist for the first time.
Thank you so very much for your help!
All the best,
Sophia
Related Posts with Unexpected error _lambda invalid name
Problem : Data manipulationHi everybody! For my masterthesis I need to do a data-analysis. I have a data set with the S&P …
Fixed Effects/Random Effects regressions - how to collapse sector controls in regression output?Hello ! I am currently running FE/RE regressions on my dataset and I have a control variable "Secto…
use of time: durationGood morning! I'm working with ISTAT dataset "use of time". I just want to run some basic analysis b…
r-square decreased when adding id fixed effect on xtreg panel regressionI have three problems when fitting panel regression model with fixed effect using xtreg,fe first pr…
SVAR "convergence not achieved"Hi there, I am using a version of Stata 13. I am running an SVAR model with four variables with th…
Subscribe to:
Post Comments (Atom)
0 Response to Unexpected error _lambda invalid name
Post a Comment