EHR-AF score prediction performance for 5-year incident AF in subgroups of interest. Depicted is the c-index with 95% confidence interval (panel A), and hazard ratio per one standard deviation increase) with 95% confidence interval (panel B) for 5-year incident atrial fibrillation using the EHR-AF score within subgroups of clinical interest. The effect estimate in the overall sample is depicted with the black diamond. The total number of individuals in each subgroup and number of incident AF events are as follows: female (N=2,537,855, AF=72,195), male (N=1,970,325, AF=80,956), white (N=3,791,377, AF=137,852), non-white (N=716,803, AF=15,299), stroke (N=225,416, AF=14,997), heart failure (N=165,872, AF=20,058), overall (N=4,508,180, AF=153,151).