richelbilderbeek / raket

What is the error we make, when nature has protracted speciation, and inference ignore this?
GNU General Public License v3.0
0 stars 0 forks source link

For which parameter settings are less than 1000 taxons expected? #12

Closed richelbilderbeek closed 6 years ago

richelbilderbeek commented 6 years ago

AFAIK, there is no equation of the expected number of extant species for the PBD model [*], i.e.:

pbd_expected_n_extant <- function(crown_age, scr, sirg, siri, erg, eri) { }

I suggest to write this function for the PBD package (hence the pbd_ prefix) by simulating PBD trees and averaging. Clumsy, but AFAIK, the best we can do.

[*] To be precise, [1] claims it is too hard, and I could not find it in later papers.

References

See also the cer_raket issue

richelbilderbeek commented 6 years ago

Let's first put it in raket :+1:

richelbilderbeek commented 6 years ago

Added it on the develop branch, emailed @J-Damhuis and @Tomdkkr that they may complete the function. Would be a good exercise for them :angel:

richelbilderbeek commented 6 years ago

In practice, this already works by using a small difference between speciation-initiation and extinction rate, instead of using pbd_expected_n_extant.