Ratio estimator (for developers)
aa_estimator_stratified_ratio.RdCombined ratio estimator for stratified estimates such as User's and Producer's accuracy or F1. The variables may be numeric, not only Boolean indicators.
Arguments
- stratum
vector of stratum identifiers
- x_u
numeric denominator variable observed for each sampled unit
- y_u
numeric numerator variable observed for each sampled unit
- h
vector of unique stratum identifiers that correspond to N_h
- N_h
number of samples (area) for each stratum h
- fpc
finite population correction