View source: R/Parameter_estimation_and_hypothesis_testing.R
MLEp.bsci | R Documentation |
\psi
A bootstrapped confidence interval for the Maximum Likelihood Estimate for
\psi
.
MLEp.bsci(x, level = 0.95, rounds = 1000, frac = 0.8)
x |
A data vector. |
level |
Level of confidence interval as number between 0 and 1. |
rounds |
Number of bootstrap rounds. Default is 1000. |
frac |
Percentage of data |
The MLE of \psi
as well as lower and upper bounds of the bootstrap
confidence interval.
## Find a 95% -confidence interval for the MLE of psi given a sample from the
## Poisson-Dirichlet distribution:
x<-rPD(n=10000, psi=100)
MLEp.bsci(x, 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.