Updated aa_stratified() to estimate macro-F1 and its standard error using stratified Taylor linearization, accounting for within-stratum covariance among class-specific F1 estimates.
Updated aa_stratified() to estimate class-specific F1 standard errors using the the stratified combined ratio estimator, accounting for within-stratum covariance between numerator and denominator.
Updated aa_card() to estimate macro-F1 and its standard error using stratified Taylor linearization, accounting for within-stratum covariance among class-specific F1 estimates.
Updated aa_card() to estimate class-specific F1 standard errors using the stratified combined ratio estimator, accounting for within-stratum covariance between numerator and denominator.
Added internal aa_f1_stratified() helper to estimate macro-F1 and its standard error from a stratified confusion matrix, accounting for covariance among class-specific F1 estimates.
aa_gtable() turns off cell colors with cell_colors = FALSE.
aa_word() exports and appends confusion matrices to new or existing Word document.
aa_card() uses argument h or named vector w to match stratum weights with the right classes.
aa_card() and aa_stratified() add new element “adjustment” to output. It is set to TRUE if weights were supplied.
mapac 0.27
aa_card() changed input arguments. Previously, it was possible to submit reference and map vectors with cbind(), which converts factors to characters not the way we want. This change breaks backwards compatibility.
aa_stratified() adds default values for h and N_h in. This assumes a proportional sampling design.
aa_stratified() adds F-1 score and associated standard errors.
Add vignettes
Change to pkgdown documentation
mapac 0.07
aa_card() fixes bug that used Card formula even if olofsson==T. The bug only affected standard error etimates of the reference class proportions and the standard error of the overall accuracy. The differences are negligible.