logFFT: Calculate log-likelihood using generating function technique

Description Usage Arguments Value

View source: R/bsd_package.R

Description

logFFT calculates the log-likelihood where transition probabilities are computed using our FFT generating function method

Usage

1
  logFFT(param, u, simData, initList, s1.seq, s2.seq)

Arguments

param

A vector of three numbers containing the birth, shift, and death rate respectively

u

A number, the observation interval length

simData

An matrix in the format of a list entry returned by makedata.simple

initList

A vector of possible initial populations

s1.seq

A vector of complex arguments evenly spaced along the unit circle

s2.seq

A vector of complex arguments evenly spaced along the unit circle

Value

The negative log-likelihood value


jasonxu90/bdsem documentation built on May 18, 2019, 5:54 p.m.