parboot: Parametric bootstrap for Ne and regression coefficients.

View source: R/mlesky.R

parbootR Documentation

Parametric bootstrap for Ne and regression coefficients.

Description

This will simulate coalescent trees conditional on the provided mlesky estimate of Ne. The model is refitted to each coalescent tree to provide an estimate of the standard error of Ne estimates over time.

Usage

parboot(fit, nrep = 200, ncpu = 1, dd)

Arguments

fit

mlesky fit

nrep

Number of simulations

ncpu

Number of CPUs

dd

Whether or not to use dd simulation method. Default is false for ntip<=500 and true otherwise

Value

A fitted mlesky model with updated confidence intervals for Ne and regression coefficients


emvolz-phylodynamics/mlesky documentation built on Feb. 13, 2025, 1:47 p.m.