negLL.PLB.binned.species | R Documentation |
b
for the PLB model, given
species-specific binned data (MLEbins method). DEPRECATED – use negLL.PLB.bins.species()
Calculate the negative log-likelihood of b for the PLB model,
given binned data where the bins can be different for each species.
Returns the negative log-likelihood. This was Andy's original likelihood
function but we replaced it with Mike's simpler one, so use
negLL.PLB.bins.species()
. Documented this one first, so keeping.
Will be called by nlm()
or similar, but xmin
and xmax
will just be estimated
as the min of lowest bin and max of the largest bin (i.e. their MLEs),
no need to do numerically.
negLL.PLB.binned.species(b, dataBinForLike, dataBinForLikeSummary)
b |
value of |
dataBinForLike |
table data frame (tbl_df) where each row is the count in a bin of a species, and columns (and corresponding mathematical notation in MEPS Appendix) are:
|
dataBinForLikeSummary |
tbl_df with one row for each species, giving
the minimum lower bound
|
negative log-likelihood of the parameters given the data
Andrew Edwards
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.