Dear Stata users,
I have a set of variables lets say a, b, c, d, e, f, g, h
I want to generate 3 variables that capture the row -mean, -total and -count of these variables for values >0 and then another 3 variables that capture the row -mean, -total and -count of these variables for values <0. Can anyone help me how to do this?
Many thanks for your kind help.
I have a set of variables lets say a, b, c, d, e, f, g, h
I want to generate 3 variables that capture the row -mean, -total and -count of these variables for values >0 and then another 3 variables that capture the row -mean, -total and -count of these variables for values <0. Can anyone help me how to do this?
Many thanks for your kind help.
Comment