bp_loglik: bp_loglik

Description Usage Arguments Value

View source: R/likelihoods.R

Description

compute the log-likelihood of observing a set of data generated under a time-homogenous branching process model with some setting of parameters

Usage

1
bp_loglik(model, params, init_pop, start_times, end_times, final_pop)

Arguments

model

the process_model object representing the process generating the data

params

the vector of parameters for which we are computing the likelihood

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

Value

a dataframe with the moments vector for each timepoint


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