This database makes it possible to apply statistics to answer new questions, an approach that has been called "mineral ecology". One such question is how much of mineral evolution is deterministic and how much the result of chance. Some factors are deterministic, such as the chemical nature of a mineral and conditions for its stability; but mineralogy can also be affected by the processes that determine a planet's composition. In a 2015 paper, Robert Hazen and others analyzed the number of minerals involving each element as a function of its abundance. They found that Earth, with over 4800 known minerals and 72 elements, has a power law relationship. The Moon, with only 63 minerals and 24 elements (based on a much smaller sample) has essentially the same relationship. This implies that, given the chemical composition of the planet, one could predict the more common minerals. However, the distribution has a long tail, with 34% of the minerals having been found at only one or two locations. The model predicts that thousands more mineral species may await discovery or have formed and then been lost to erosion, burial or other processes. This implies a role of chance in the formation of rare minerals occur.