I need to run a logistic regression on a dataset with approximately 1,000,000 data points. I ran a model
logit_results <<- glm(y ~ p1 + p2 + p3,
data = df,family="binomial",
na.action = "na.exclude")
I want to visualise the results using the plot_model()
function
library(sjPlot)
plot_x <- plot_model(logit_results,vline.color = "#1EA891",sort.est = TRUE,title="Graph")
This is taking forever to run (I've been waiting for about an hour, and it hasn't finished). I get a message Profiled confidence intervals may take longer time to compute. Use `ci_method="wald"` for faster computation of CIs.
However, I don't know where to change the ci_method, as neither the glm()
or plot_model()
use ci_method
.
Anyone knows how might I change the ci_method to "wald"?