I have a dataset with n=1,000 survey respondents who were asked to rate their preferences for various goods on a scale 0-100 points, for every good.
I created a new variable which assigns a "weighted points" to each good. The variable is weighted_points_A which is = (points given to good A)/(sum of all points given to all goods). The variable weighted_points_A is therefore a percentage, and I created an identical one for every good in the survey (i.e. good B, C, D, etc.).
I then created another variable which is diff_pref = weighted_points_A / weighted_points_B the purpose is to look at the proportional difference of preferences between good A and B. Obviously this variable takes values -1 to 1.
I now want to use this variable (diff_pref ) as a dependent variable in my regressions. What's the best econometric model (and Stata command) to do this? GLM?
Alternatively, I thought about taking the absolute value of this variable and then introduce a dummy that takes value of 1 when the difference is negative to control for the sign (which I lose when creating the absolute value), but not sure how good this is.
Any tip?
Thank you
I created a new variable which assigns a "weighted points" to each good. The variable is weighted_points_A which is = (points given to good A)/(sum of all points given to all goods). The variable weighted_points_A is therefore a percentage, and I created an identical one for every good in the survey (i.e. good B, C, D, etc.).
I then created another variable which is diff_pref = weighted_points_A / weighted_points_B the purpose is to look at the proportional difference of preferences between good A and B. Obviously this variable takes values -1 to 1.
I now want to use this variable (diff_pref ) as a dependent variable in my regressions. What's the best econometric model (and Stata command) to do this? GLM?
Alternatively, I thought about taking the absolute value of this variable and then introduce a dummy that takes value of 1 when the difference is negative to control for the sign (which I lose when creating the absolute value), but not sure how good this is.
Any tip?
Thank you
Comment