Hello,

Based on the syntax for rowmean, I would have thought the following code would run:

Code:
egen meanvar=rowmean(var_kappa_calc_* )
Instead I get the error message:
variable var_kappa_calc_* not found
I have many variables with the var_kappa_calc_ prefix and am trying to get the row mean of them all. There are way too many for me to copy and paste manually.

Does anyone have any suggestions / solutions?

Thanks