Hi!
I am researching the effect of cosmetic combinations on the perception of leadership characteristics. I collected data on 24 images: 6 treatment versions of 4 images. The data that I collected consists of ratings of each photo on 6 leadership characteristics, hence 6 dependent variables. I, therefore, collected 24x6=144 rating values, each rating being given by approximately 25 respondents. The 6 treatment versions consist of 2 independent variables: brow enhancement (yes or no) and lipstick colour (none, pink, red).
Since I basically collected 144 ratings, Stata has imported the data as 144 variables.
How can I transform the data such that I obtain 6 dependent variables and 2 independent variables from the 144 var's?
I think the problem with my data currently is that the variables pertain to the images rather than to the subject, which would be the case for e.g. control variables like gender, age etc.
Rather than having the current variables in Stata listed as separate variables, I need to ensure that I group the data such that I obtain:
Dependent variables:
Intelligence
Dominance
Honesty&integrity
Self-confidence
Leadership effectiveness
Attractiveness
Independent variables:
Brows
Lipstick colour
NB: the data from the four images can be aggregated.
Hope someone can help!
Related Posts with Data transformation from survey ratings to variables
Subsetting a single CSV file into multiple CSV filesHello, I am trying to subset one CSV file into multiple CSV files. I wrote the codes below utilizin…
Testing Differences in Pearson's Correlations in Survey DataHello everyone: I am trying to compare the correlation among the same two numerical variables (x1 a…
Combining tables with identical variables, long formatHey guys, Is there an easy way how to combine two tables with identical variables in a long format?…
Lags in Bayesian varsI am on state 17 trying to run a Bayesian var.. Does anyone here know how lags are determined in Bay…
Improving performance of large excel tables with tabout, append - suggestions?Dear Statalist, I have been an avid reader of the list for years and it has helped me tremendously …
Subscribe to:
Post Comments (Atom)
0 Response to Data transformation from survey ratings to variables
Post a Comment