Marginal log-likelihood and posterior density of discrete power law via numerical integration
marg_pow(df, lower, upper, m_alpha = 0, s_alpha = 10, by = 0.001)
A list: log_marginal
is the marginal log-likelihood, posterior
is a data frame of non-zero posterior densities
A data frame with at least two columns, x & count
Real number greater than 1, lower limit for numerical integration
Real number greater than lower, upper limit for numerical integration
Real number (default 0.0), mean of the prior normal distribution for alpha
Positive real number (default 10.0), standard deviation of the prior normal distribution for alpha
Positive real number, the width of subintervals between lower and upper, for numerical integration and posterior density evaluation