Estimate sample size for stratified random sampling
Usage
aa_sample_size(oa_se, w, ua)
Arguments
- oa_se
is the standard error of the estimated overall accuracy
- w
is a vector the mapped area proportions of all classes
- ua
is a vector of User's accuracy of all classes
Value
number of estimated sample size
Details
Estimate sample size for stratified random sampling
References
Olofsson, P., Foody, G.M., Herold, M., Stehman, S.V., Woodcock,
C.E., & Wulder, M.A. (2014). Good practices for estimating area and
assessing accuracy of land change. Remote Sensing of Environment, 148, 42-57
Examples
w <- c(0.02, 0.015, 0.320, 0.645)
ua <- c(0.7, 0.6, 0.9, 0.95)
aa_sample_size(oa_se=0.01, w=w, ua=ua)
#> [1] 640.5359