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
Question about the effect of adding control variables on estimateDear all, I do a research using instrumental variables, the main problem is that we are not sure wh…
Drop variables with common suffix under certain conditionsDear all, I am facing difficulties in dropping some variables conditional on the missing observatio…
Issues with attempts to drop observations (r109 type mismatch error)Hi there, I'm new to Stata and attempting to drop some observations from my sample, however I keep …
Oaxaca help - mean wage generated does not match the one given by sum commandGood afternoon, I am using the oaxaca command to decompose the ethnic pay gap, in the example here …
Fractional Proportional Models and Controlling for Time.Hi Statalist, I have a dataset with a large number of observations and a small T. The years for my d…
Subscribe to:
Post Comments (Atom)
0 Response to "[" invalid command name error while running simple linear regression in STATA
Post a Comment