I am currently trying to generate a new variable consisting of respondents means. This new variable consist of the mean of 3 distinct variables but whenever I try to establish the code, for instance gen BatteryMean= mean l2 l3 soc11, stata tells me that it doesn't recognize the term "mean". Is there a particular boolean code or anything of the like I'm not doing?