I’ve written this on calculating Word of Mouth Coefficient in Amplitude. Hopefully this might be useful!
https://timothydaniell.medium.com/how-to-calculate-the-word-of-mouth-coefficient-in-amplitude-b266acff8f40
Original article on the topic is on the reforge blog here:
https://www.reforge.com/blog/word-of-mouth-coefficient