pred.logser(x, alpha, J, S)
x
S = alpha * log(1 + J/alpha)
Where alpha is the single parameter of the logseries distribution, often used as a diversity index. From this relation follows that the expected number of species with x individuals in the sample is S(x) = alpha*X^x/x
Where X is a function of alpha and J, that tends to one as the sample size J increases:
X = J / (alpha + J) Since the logseries model is a function that relates S to J using a single parameter (alpha), once two of these quantities are known the remaining is determined. So the function allows the input of any two among S, J and alpha. If the user does not provide at least two of these values, an error message is returned. This function returns the expected number of species with abundance x, which is E[S(x)] = x^(-1)*alpha*X^x
Fisher, R.A, Corbert, A.S. and Williams, C.B. 1943. The Relation between the number of species and the number of individuals in a random sample of an animal population. The Journal of Animal Ecology, 12(1): 42--58.
dls
for the log-series distribution; and
fitls
, fishers.alpha
in package fisherfit
in package data(moths) # Willians' moth data
pred.logser(1:5, J=sum(moths), S=length(moths)) #predicted
table(moths)[1:5] # observed
Run the code above in your browser using DataLab