View source: R/seq_mr_exp_mean.R
seq_mr_exp_mean | R Documentation |
Purely Sequential approach to Get Minimum Risk Point Estimation for exponential random variables
seq_mr_exp_mean(data, A, c, pilot = FALSE, verbose = FALSE, na.rm = TRUE)
data |
The data for which to calculate the minimum risk point. |
A |
The loss function constant. |
c |
The cost of unit sample. |
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 calculated risk, the sample size, mean, standard deviation, and an indicator of if the criterion was 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 <- seq_mr_exp_mean(A=100, c=0.04, pilot=TRUE) SLS <- rexp(pilot_ss, rate=0.5) seq_mr_exp_mean(data=SLS, A=100, c=0.04, pilot=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.