Description Usage Arguments Value References Examples
This function returns a bootstrap confidence for the maximum likelihood estimator that x is less than or eqal to c discussed in Exercise 6.4.7 on page 395.
1 | bootstrapcis64(x, c, nb = 3000, alp2 = 0.025)
|
x |
a random variables with sample size n |
c |
a number, a range value of intrest |
nb |
a positive integer, the number iteratins to estimate the confidence interval. defaults to 3000 |
alp2 |
a number, decides where the lower and upper bound will be found. defaults to 0.025 |
a list containg estimate, lower bound and upper bound
estimate the estimated probability x <= c
lower bound, lower bound of the confidance interval
upper bound, upper bound of the confidence interval
Hogg, R. McKean, J. Craig, A. (2018) Introduction to Mathematical Statistics, 8th Ed. Boston: Pearson.
1 2 3 4 5 | x <- c(4, -2, 5.43, 10)
c <- 5
nb <- 3000
alp2 <- 0.025
bootstrapcis64(x, c, nb, alp2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.