Description Usage Arguments Value Author(s) References Examples
Computes type-II Maximum likelihood estimates \hat{α} and \hat{β} for Beta prior g\simBeta(α,β).
1 2 |
success |
Vector containing the number of successes. |
trials |
Vector containing the total number of trials that correspond to the successes. |
start |
initial parameters; default is NULL which allows function to determine MoM estimates as initial parameters. |
optim.method |
optimization method in |
lower |
lower bound for parameters; default is 0. |
upper |
upper bound for parameters; default is infinity. |
estimate |
MLE estimate for beta parameters. |
convergence |
Convergence code from |
loglik |
Loglikelihood that corresponds with MLE estimated parameters. |
initial |
Initial parameters, either user-defined or determined from method of moments. |
hessian |
Estimated Hessian matrix at the given solution. |
Aleksandar Bradic
https://github.com/SupplyFrame/EmpiricalBayesR/blob/master/EmpiricalBayesEstimation.R
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.