Skip to content

Commit e00c659

Browse files
committed
update auc ci
1 parent 65a8ccd commit e00c659

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

R/svyAUC.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,15 @@ svyAUC <- function(fit, design) {
106106

107107
auc_estimate <- result$theta
108108
se <- survey::SE(result)
109-
ci <- stats::confint(result)
109+
# ci <- stats::confint(result)
110110

111111
output <- data.frame(
112112
AUC = auc_estimate,
113113
SE = se,
114-
CI_Lower = ci[1],
115-
CI_Upper = ci[2]
114+
# CI_Lower = ci[1],
115+
# CI_Upper = ci[2]
116+
CI_Lower = auc_estimate - 1.96 * se,
117+
CI_Upper = auc_estimate + 1.96 * se
116118
)
117119

118120
rownames(output) <- NULL

0 commit comments

Comments
 (0)