FFT.optim: Maximize the log-likelihood in 'logFFT'

Description Usage Arguments Value

View source: R/bsd_package.R

Description

FFT.optim maximizes the log-likelihood using optim, with hessian = TRUE.

Usage

1
2
  FFT.optim(simDataList, u, initGuess, initList, s1.seq,
    s2.seq)

Arguments

initGuess

A vector containing the initial guess of birth, shift, and death rates

param

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

u

A number, the observation interval length

simDataList

A list of matrices in the format 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

An optim type object


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