Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 25, 2023
1 parent 9c9a16f commit 8379abb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/format.R
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,9 @@ format.parameters_sem <- function(x,
# check for complete separation coefficients or possible issues with
# too few data points
if (!is.null(spurious_coefficients) && any(spurious_coefficients > 140)) {
msg <- c(msg, "Furthermore, note that some coefficients are very large, which may indicate issues with complete separation.") # nolint
msg <- c(msg, "Note that some coefficients are very large, which may indicate issues with complete separation.") # nolint
} else if (any(spurious_coefficients > 20)) {
msg <- c(msg, "Furthermore, note that some coefficients are very large, which may indicate issues with too few data points for some parameters. Consider using bias-corrected or penalized regression models.") # nolint
msg <- c(msg, "Note that some coefficients are very large, which may indicate issues with too few data points for some parameters. Consider using bias-corrected or penalized regression models.") # nolint
}

if (!is.null(msg) && isTRUE(getOption("parameters_warning_exponentiate", TRUE))) {
Expand Down

0 comments on commit 8379abb

Please sign in to comment.