Hey, just a quick piece of feedback on this. You define virality as "the percentage of users invited by other users". That's a very non-standard definition.
Usually virality is measured as "the average number of new users invited by any given user". I'd strongly suggest using that as your definition.
Usually virality is measured as "the average number of new users invited by any given user". I'd strongly suggest using that as your definition.