Learn R Programming

minsample2 (version 0.1.0)

l_exp: Prints the minimum size of the sample required to get epsilon neighborhood for given value of epsilon for Exponential Distribution

Description

This package helps determining the minimum sample size required to attain some pre-fixed precision level.

Usage

l_exp(n, eps, theta = 1)

Value

report: the data frame containing the minimum value of the sample size corresponding to the pre-fixed epsilon

Arguments

n

a vector of proposed sample size

eps

a vector of the precision level

theta

the parameter for the underlying distribution, here Exponential Distribution

Details

in any distribution for a large sample the mean-squared error gradually tends to zero, the minimum number depends on the precision level i.e. the pre-fixed eplison.

References

Methods for this process is described in A.M.Gun,M.K.Gupta,B.Dasgupta(2019,ISBN:81-87567-81-3).

Examples

Run this code
l_exp(1:5,0.5,1)

Run the code above in your browser using DataLab