Statistically modeling optical linewidths of nitrogen vacancy centers in microstructures