Hi,
I am trying to run the linear regression command (reg dep independent variables) in STATA but apparently, it gives an error when I execute the command.
My dependent variable is: Monthly electricity consumption of the household in summers whereas independent variables are: total dwelling size, total number of adults, total number of children, total number of working members, annual income of the household.
I am using STATA 12.1 version. The invalid command name error "[" is quite confusing as I am not using closed brackets anywhere in the command.
Any help is appreciated.
Related Posts with "[" invalid command name error while running simple linear regression in STATA
Converted datasets to weeklyDear all I have quarterly longitudinal data sets (8 consecutive quarters). I want to convert this d…
Mi imputation chainedHi, the variables I am using are both categorical and continuous. All the dependent and independent …
Import csv fileHi - I imported the attached csv file (publicly available from 1270.0.55.001 - Australian Statistica…
MI imputed chained interaction termsHello guys, I am using MICE approach. I have some continuous variables (e.g., income) and categorica…
Question: How do I test the difference between two diff-in-diff coefficients?Hi Statalist, I want to test whether a normal MA event will have different effect on the outcome fr…
Subscribe to:
Post Comments (Atom)
0 Response to "[" invalid command name error while running simple linear regression in STATA
Post a Comment