View source: R/ts_br_exp_mean.R
ts_br_exp_mean | R Documentation |
Two Stage approach to Get Bounded Risk Point Estimation for the mean of exponential random variables
ts_br_exp_mean(data, A, w, pilot = FALSE, verbose = FALSE, na.rm = TRUE)
data |
The data for which to calculate the bounded risk point. |
A |
The loss function constant. |
w |
The risk bound. A non-negative integer greater than zero. |
pilot |
Should a pilot sample be generated. True/False value.
default value is |
verbose |
Should the criterion be printed. Default is |
na.rm |
This parameter controls whether NA values are removed from
the data prior to calculation. Default is |
The current sample size, the mean and an indicator of if the criterion is satisfied.
Bhargab Chattopadhyay Bhargab@iiitvadodara.ac.in, Neetu Shah 201451015@iiitvadodara.ac.in, Ken Kelley kkelley@nd.edu
Mukhopadhyay, N., \& de Silva, Basil M. (2009). Sequential Methods and Their Applications. New York: CRC Press.
pilot_ss <- ts_br_exp_mean(w=4, pilot=TRUE) SLS <- rexp(pilot_ss, rate=2) ## Not run: SLS <- rexp(pilot_ss, rate=2) ## End(Not run) SLS <- rexp(100, rate=2) ts_br_exp_mean(SLS, A=100, w=4, pilot=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.