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?
Related Posts with Generating a Variable of Respondents Means
Hayashi C statisticHi- anyone knows how this test [Hayashi C test] be done on Stata. …
Missing value generated after predicting standardized residualHello, When I predict standardized residuals after a regression (including a dummy where only 1 obs…
Between estimation Robust and Cluster robust Standard errors not optional?Dear all, Can some explain me why there is no 'cluster(id)' or 'robust' option for the following be…
Using a codebook generated by "describe, replace" to label another datasetHi I have built a readable codebook using the describe command as follows: Code: use "$mastData/D…
Question about panel dataDear all, I am currently working on my MSc thesis in Finance and I use data from Orbis. I need to co…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a Variable of Respondents Means
Post a Comment