Hi All,
I am coding a dynamic public good game, and need to arrange subject in groups based on their investment in risk elicitation task.
Before grouping the subject I have to rank participants according to the AmountInvested in previous stage. Subject who invested greater amount will get highest rank.. and so on.
I have written the code below based on examples I have seen in the manual, however, this doesn't rank participants in a correct order.
Rank=count(same(Group) & AmountInvested==:AmountInvested)
Thanks,
Sabrina