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
Interaction Term in Log-Linear ModelHello All! I am currently writing my Bachelor’s Thesis and have a question about the interpretation …
append iterativelyHi all, I am trying to append iteration some files (if they exist) belonging to different folders. …
Bug in wtmean?This is my first post but I hope I have strictly followed the rules. I have the following data Co…
remove last letters in a wordDear All, The data set is Code: * Example generated by -dataex-. To install: ssc install dataex cle…
Lagged variable and panel structureDear Statalists At the moment I am dealing with a apparently simple problem. The following data ser…
Subscribe to:
Post Comments (Atom)
0 Response to "[" invalid command name error while running simple linear regression in STATA
Post a Comment