I am currently working with a data set that has user reviews of different golf courses. I am trying to calculate the mean & variance of the first half of their reviews and mean & variance of the second half in order to see if users become harsher with their reviews over time. My initial thought is to use the following cod eto create a ranking of the reviews:
PHP Code:
egen rank = rank(rating), by(userid createdat)
I am able to create this ranking successfully but I have no idea where to go from here. I would really appreciate any insights.
0 Response to Using egen rank to analyze the first and second half of entries in a variable
Post a Comment