The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Introduction to Minsample1

library(minsample1)

This is introduction to my awesome package. This package helps the user to determine the minimum sample size required to attain the pre-fixed precision level, i.e. some pre-fixed epsilon neighborhood, by minimizing the mean absolute distance between the sample mean and the sample size.Using this package, one can determine the minimum sample size required so that the absolute deviation of the sample mean and the population mean of a distribution becomes less than some pre-determined epsilon, i.e. it helps the user to determine the minimum sample size required to attain the pre-fixed precision level by minimizing the difference between the sample mean and population mean.

Hence this package can be very useful for optimizing the survey cost. Because if the surveying authority already knows the minimum sample size required for the required precision level, then the surveyors need not to collect any extra data or conduct any extra survey and hence the survey cost can be reduced.

#example-1: minimum sample size required for epsilon = 0.5 and mean=0, sd=1(default)
l_norm(1:10,0.5,0,1)
#>   epsilon n
#> 1     0.5 2

#example-2: minimum sample sizes required for epsilons = 0.7 and 0.5 for the default mean and variance.
l_norm(1:10,c(0.7,0.5))
#>   epsilon n
#> 1     0.7 9
#> 2     0.5 9

It is to be noted that the user can change the mean and variance as per his requirements.

#example-3: minimum sample size required for epsilon = 0.1 and mean=1, sd=3
l_norm(1:10,0.5,1,3)
#>   epsilon n
#> 1     0.5 8

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.