# Unseen species problem

The unseen species problem in ecology deals with the estimation of the number of species represented in an ecosystem that were not observed by samples. It more specifically relates to how many new species would be discovered if more samples were taken in an ecosystem. The study of the unseen species problem was started in the early 1940s, by Alexander Steven Corbet. He spent two years in British Malaya trapping butterflies and was curious how many new species he would discover if he spent another two years trapping. Many different estimation methods have been developed to determine how many new species would be discovered given more samples.
The unseen species problem also applies more broadly, as the estimators can be used to estimate any new elements of a set not previously found in samples. An example of this is determining how many words William Shakespeare knew based on all of his written works.
The unseen species problem can be broken down mathematically as follows: If $n$ independent samples are taken, $X^{n}\triangleq X_{1},\ldots ,X_{n}$, and then if $m$ more independent samples were taken, the number of unseen species that will be discovered by the additional samples is given by $U\triangleq U(X^{n},X_{n+1}^{m+n})\triangleq \left|\{X_{n+1}^{m+n}\}\setminus \{X^{n}\}\right|,$ with $X_{n+1}^{m+n}\triangleq X_{n+1},\ldots ,X_{n+m}$ being the second set of $m$ samples.

## History

In the early 1940s Alexander Steven Corbet spent 2 years in British Malaya trapping butterflies. He kept track of how many species he observed, and how many members of each species were captured. For example, there were 74 different species of which he captured only 2 individual butterflies.
When Corbet returned to the United Kingdom, he approached biostatistician Ronald Fisher and asked how many new species of butterflies he could expect to catch if he went trapping for another two years; in essence, Corbet was asking how many species he observed zero times.
Fisher responded with a simple estimation: for an additional 2 years of trapping, Corbet could expect to capture 75 new species. He did this using a simple summation (data provided by Orlitsky in the table from the Example below: $U=\sum _{i=1}^{n}(-1)^{i+1}\varphi _{i}=118-74+44-24+\cdots -12+6=75.$ Here $\varphi _{i}$ corresponds to the number of individual species that were observed $i$ times. Fisher's sum was later confirmed by Good–Toulmin.

## Estimators

To estimate the number of unseen species, let $t\triangleq m/n$ be the number of future samples ($m$) divided by the number of past samples ($n$), or $m=tn$. Let $\varphi _{i}$ be the number of individual species observed $i$ times (for example, if there were 74 species of butterflies with 2 observed members throughout the samples, then $\varphi _{2}=74$).

### Good–Toulmin estimator

The Good–Toulmin (GT) estimator was developed by Good and Toulmin in 1953. The estimate of the unseen species based on the Good–Toulmin estimator is given by $U^{\text{GT}}\triangleq U^{\text{GT}}(X^{n},t)\triangleq -\sum _{i=1}^{\infty }(-t)^{i}\varphi _{i}.$ The Good–Toulmin Estimator has been shown to be a good estimate for values of $t\leq 1.$ The Good–Toulmin estimator also approximately satisfies $\operatorname {\mathbb {E} } (U^{\text{GT}}-U)^{2}\lesssim nt^{2}.$ This means that $U^{\text{GT}}$ estimates $U$ to within ${\sqrt {n}}\cdot t,$ as long as $t\leq 1.$
However, for $t>1,$, the Good–Toulmin estimator fails to capture accurate results. This is because, if $t>1,$ $U^{\text{GT}}$ increases by $(-t)^{i}\varphi _{i}$ for $i$ with $\varphi _{i}>0,$ meaning that if $\varphi _{i}>0,$ $U^{\text{GT}}$ grows super-linearly in $t,$ but $U$ can grow at most linearly with $t.$ Therefore, when $t>1,$ $U^{\text{GT}}$ grows faster than $U$ and does not approximate the true value.
To compensate for this, Efron and Thisted in 1976 showed that a truncated Euler transform can also be a usable estimate (the "ET" estimate): $U^{\text{ET}}\triangleq \sum _{i=1}^{n}h_{h}^{\text{ET}}\cdot \varphi _{i},$ with $h_{i}^{\text{ET}}\triangleq (-t)^{i+1}\cdot \mathbb {P} (X\geq i),$ where $X\sim \operatorname {Bin} \left(k,{\frac {1}{1+t}}\right),$ and $\mathbb {P} (X\geq i)={\begin{cases}\displaystyle \sum _{j=i}^{k}{\binom {k}{j}}{\frac {t^{k-j}}{(1+t)^{k}}}&{\text{ for }}i\leq k,\\0&{\text{ for }}i>k,\end{cases}}$ where $k$ is the location chosen to truncate the Euler transform.

### Smoothed Good–Toulmin estimator

Similar to the approach by Efron and Thisted, Alon Orlitsky, Ananda Theertha Suresh, and Yihong Wu developed the smooth Good–Toulmin estimator. They realized that the Good–Toulmin estimator failed because of the exponential growth, and not its bias. Therefore, they estimated the number of unseen species by truncating the series $U^{l}\triangleq -\sum _{i=1}^{l}(-t)^{i}\varphi _{i}.$ Orlitsky, Suresh, and Wu also noted that for distributions with $t>1$, the driving term in the summation estimate is the $l-{\text{th}}$ term, regardless of which value of $l$ is chosen. To solve this, they selected a random nonnegative integer $L$, truncated the series at $L$, and then took the average over a distribution about $L$. The resulting estimator is $U^{L}=\operatorname {E} _{L}\left[-\sum _{i=1}^{L}(-t)^{i}\varphi _{i}\right].$ This method was chosen because the bias of $U^{l}$ shifts signs due to the $(-t)^{i}$ coefficient. Averaging over a distribution of $L$ therefore reduces the bias. This means that the estimator can be written as the linear combination of the prevalence: $U^{L}=\operatorname {E} _{L}\left[-\sum _{i\geq 1}(-t)^{i}\varphi _{i}\mathbf {1} _{i\leq L}\right]=-\sum _{i\geq 1}(-t)^{i}\Pr(L\geq i)\varphi _{i}.$ Depending on the distribution of $L$ chosen, the results will vary. With this method, estimates can be made for $t\propto \ln n$, and this is the best possible.

### Species discovery curve

The species discovery curve can also be used. This curve relates the number of species found in an area as a function of the time. These curves can also be created by using estimators (such as the Good–Toulmin estimator) and plotting the number of unseen species at each value for $t$.
A species discovery curve is always increasing, as there is never a sample that could decrease the number of discovered species. Furthermore, the species discovery curve is also decelerating – the more samples taken, the fewer unseen species are expected to be discovered. The species discovery curve will also never asymptote, as it is assumed that although the discovery rate might become infinitely slow, it will never actually stop. Two common models for a species discovery curve are the logarithmic and the exponential function.

### Example: Corbet's butterflies

As an example, consider the data Corbet provided Fisher in the 1940s. Using the Good–Toulmin model, the number of unseen species is found using $U=-\sum _{i=1}^{\infty }(-t)^{i}\varphi _{i}.$ This can then be used to create a relationship between $t$ and $U$.
    Data provided to Fisher by Corbet Number of observed members, $i$ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Number of species, $\varphi _{i}$ 118 74 44 24 29 22 20 19 20 15 12 14 6 12 6
This relationship is shown in the plot below.
    Number of unseen species as a function of t, the ratio of new samples to previous samples.
From the plot, it is seen that at $t=1$, which was the value of $t$ that Corbet brought to Fisher, the resulting estimate of $U$ is 75, matching what Fisher found. This plot also acts as a species discovery curve for this ecosystem and defines how many new species will be discovered as $t$ increases (and more samples are taken).

## Other uses

There are numerous uses for the predictive algorithm. Knowing that the estimators are accurate, it allows scientists to extrapolate accurately the results of polling people by a factor of 2. They can predict the number of unique answers based on the number of people that have answered similarly. The method can also be used to determine the extent of someone's knowledge.

### Example: How many words did Shakespeare know?

Based on research of Shakespeare's known works done by Thisted and Efron, there are 884,647 total words. The research also found that there are at total of $N=864$ different words that appear more than 100 times. Therefore, the total number of unique words was found to be 31,534. Applying the Good–Toulmin model, if an equal number of works by Shakespeare were discovered, then it is estimated that $U^{\text{words}}\approx 11{,}460$ unique words would be found. The goal would be to derive $U^{\text{words}}$ for $t=\infty$. Thisted and Efron estimate that $U^{\text{words}}(t\to \infty )\approx 35{,}000$, meaning that Shakespeare most likely knew over twice as many words as he actually used in all of his writings.