Hello all,

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
, where createdat is used as a variable for time.

I am able to create this ranking successfully but I have no idea where to go from here. I would really appreciate any insights.