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
Population size using SVY too smallHello; I did the following on Stata: svy:tab b8_under5, obs percent And the results I got were odd…
SVYSET and SVY:tab helpHello, I have the following two SPSS commands. This is what I have from the SPSS codebook: CSPLAN A…
Create observations for neighboring statesHello, I have a dataset of firms investments in different states: e.g. Firm A invests $1million in …
Test for the difference between two point predictions obtained from separate regressionsDear colleagues, I would like to perform a statistical test of the difference between two point pre…
STATA coefplot: plot other coefficients benchmark to one coefficientI'm using coefplot to plot the coefficients on xlag3, xlag2, xlag1, x, xlead1,xlead2,xlead3 from my …
Subscribe to:
Post Comments (Atom)
0 Response to "[" invalid command name error while running simple linear regression in STATA
Post a Comment