Skip to content

Commit

Permalink
#88 fix: ensure log_transform also calculates SE and not SD
Browse files Browse the repository at this point in the history
  • Loading branch information
egouldo committed Aug 23, 2024
1 parent fe6ee93 commit ea032bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/log_transform.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ log_transform <- function(estimate = numeric(1L),
na.omit()

m_est <- mean(log_simulated)
std.error_est <- sd(log_simulated)
std.error_est <- sd(log_simulated) / sqrt(length(log_simulated))
quantiles <- quantile(log_simulated, c(0.025, 0.975), na.rm = TRUE)

out <- data.frame(mean_log = m_est,
Expand Down

0 comments on commit ea032bc

Please sign in to comment.