logMargDenNRu {echoice2} | R Documentation |
Log Marginal Density (Newton-Raftery)
Description
This function uses the quick-and-dirty Newton-Raftery approximation for log-marginal-density.
Usage
logMargDenNRu(ll)
Arguments
ll |
A vector of log-likelihood values (i.e., draws) |
Details
Approximation of LMD based on Newton-Raftery. It is not the most accurate, but a very fast method.
Value
A single numeric value representing the log marginal density
Examples
logll_values <- c(-4000, -4001, -4002)
logMargDenNRu(logll_values)
[Package echoice2 version 0.2.4 Index]