dsilvestro / PyRate

PyRate is a program to estimate speciation, extinction, and preservation rates from fossil occurrence data using a Bayesian framework.
GNU Affero General Public License v3.0
76 stars 34 forks source link

How to deal with multiple fossils for the same species, including when they have different MinAge and MaxAge? #36

Closed jamie-thompson closed 1 year ago

jamie-thompson commented 1 year ago

I have multiple examples of the same species in my dataset. Where the MinAge and MaxAge are the same, should I delete duplicates? Where they are different, do I summarise with the youngest MinAge and oldest MaxAge? Sorry if this is explained or obvious.

dsilvestro commented 1 year ago

I would keep them if they come from different localities but remove them as duplicates otherwise. Their ages will be resampled randomly from their min/max age range when you prepare the input file using pyrate_utilities.r. I hope this helps!