fitdAICrc.batch: Generate Null Distribution of dAICrc

Description Usage Arguments Details Value Note Author(s) References

Description

Generates null distribution of dAICrc test statistic and determines significance of dAICrc indices calculated for 'real' phylogenies.

Usage

1
fitdAICrc.batch(x, observed=NULL, ...)

Arguments

x

a numeric matrix or dataframe of branching times

observed

the dAICrc statistic for the 'real' phylogeny

...

other parameters, e.g., ints for yule2rate

Details

For details on input format, see getBtimes.batch.

This fits the following models: pure birth, birth death, density-dependent (exponential), density-dependent (logistic), yule-2-rate

'observed' is the calculated dAICrc statistic obtained for a test phylogeny for which you would like to obtain a p-value (using fitdAICrc).

Value

A dataframe with N rows, where N is the number of sets of branching times analyzed. Columns of the data frame are the AIC scores for each of the models. The final column, with name dAIC, is the deltaAICrc test statistic for that particular tree.

Note

Make sure that you are using the exact same set of models for the real phylogeny and for the simulated phylogenies. If not, your results are invalid.

Author(s)

Dan Rabosky [email protected]

References

Rabosky, D. L. 2006. Likelihood methods for inferring temporal shifts in diversification rates. Evolution 60:1152-1164.


laser documentation built on Jan. 15, 2017, 4:49 p.m.