Description Usage Arguments Details Value Examples
A function that uses uniroot to solve for the (1-alpha) confidence interval of sample mean by the method of empirical likelihood
1 | CI_ELR(y, alpha, ub)
|
y |
samples |
alpha |
significance level |
ub |
upper bound for solving for the root |
For empirical likelihood method, the (1-alpha) CI for mu is mu|sum(log(np[i](mu)),i==1,n)>-0.5 chi[1-alpha]^2*(1) Noticing that mu doesn't have explicit formula to calculate, I solved the equation numerically.
a (1-alpha) confidence interval by the method of empirical likelihood
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.