compute confidence interval for kz replication