powered by
For a given sample size, returns the largest fraction which has been sampled with (1-p) x 100 % likelihood.
get.f(n, p = 0.05)
the largest fraction that is sampled with at least (1-p) x 100% certainty
the number of grains in the detrital sample
the required level of confidence
Vermeesch, Pieter. "How many grains are needed for a provenance study?" Earth and Planetary Science Letters 224.3 (2004): 441-451.
print(get.f(60)) print(get.f(117))
Run the code above in your browser using DataLab