Hi,
I am using egen total() with Stata 10.1.
The following works correctly but does not store the result in a variable so I can use it:
total X if stu_id==710740 & hsflag==1
The following produces missing values:
egen points=total(X) if stu_id==710740 & hsflag==1
​What am I doing wrong?
Stuart
I am using egen total() with Stata 10.1.
The following works correctly but does not store the result in a variable so I can use it:
total X if stu_id==710740 & hsflag==1
The following produces missing values:
egen points=total(X) if stu_id==710740 & hsflag==1
​What am I doing wrong?
Stuart
Comment