Hi,
I am looking for a solution to average the survey respones.
Below S007 is suvey respondent ID, loc is country name and fyear is the year. the variables B010 through B031 are the answers by each survey respondents, are labelled as string but there is a number behind varying from -4 to 4.
I need the respone consolidated for all respondents, like an average response for every loc and fyear.
Could someone help me achieve this please.
Much appreciated and many thanks in advance.
Array
Related Posts with Avergaing values of variables to reduce survey observations
Errors when regressing System GMMHello all Statalists, I'm new to Stata and I'm learning to use it to do my thesis. Gradually, I find…
Generating a dummy variable with value from other variable to a new row (cell)Hi, my job here is to generate a new variable (dummy for months unemployed) for December. In my anal…
I am confused about the confidence interval of survival analysis between two methodsIf I analyze a set of data use syntax ”ci means variate” and I get a result like this ci means y V…
Color schemes and color palettes - setting default colors for graphsI have a list of colors from my workplace that we should use for all the graphs I create. Ideally I …
Simulation of repeated measures data in a stepped-wedge contextHello, I have written the following code for a three-level repeated measures model in a stepped-wed…
Subscribe to:
Post Comments (Atom)
0 Response to Avergaing values of variables to reduce survey observations
Post a Comment