Google play android algorithm?

Does anyone know how Google calculates downloads now? Maybe it has to do with the time spent installed? My app decreased in downloads recently so I tested with a new mock app and had 20 friends download on day 1 then uninstall about an hour later and it showed I had 1-5 downloads and 2/4 installs/downloads. This makes no sense!