estimate_td: estimate_td

Description Usage Arguments

View source: R/estimate.R

Description

Estimates the rate parameters for a general multitype branching process with time-dependent rates

Usage

1
2
estimate_td(model, init_pop, start_times, end_times, final_pop,
  initial_params, lower = NULL, upper = NULL, trace = 1)

Arguments

model

the process_model object representing the process generating the data

init_pop

a nobs x ntype matrix with initial population for each observation

start_times

the nobs length vector of times at which the initial populations were observed

end_times

the nobs length vector of times at which the final populations were observed

final_pop

the nobs x mtype matrix of final populations observed

initial_params

vector of initial parameters estimates for MLE optimization

lower

vector of lower bounds on rate parameters for optimization

upper

vector of upper bounds on rate parameters for optimization

trace

level of output for optimizer - see optim function, control - trace for "L-BFGS-B" method

params

the vector of parameters for which we are computing the likelihood


ferlicjl/estipop documentation built on March 5, 2020, 10:45 p.m.