Estimates class-specific F1 scores and standard errors from a confusion
matrix whose rows are sampling strata. The variance uses the linearized
ratio residuals within each stratum.
Usage
aa_f1_stratified(n, w)
Arguments
n
Confusion matrix of sample counts, with map classes in rows and
reference classes in columns.
w
Population weight for each row stratum, in row order.
Value
A matrix with one row per class and columns `f1` and `f1_se`.