Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI for paths / coefficients #7

Open
mattansb opened this issue Mar 17, 2020 · 1 comment
Open

CI for paths / coefficients #7

mattansb opened this issue Mar 17, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mattansb
Copy link

Is there a way to produce CIs for the various paths in the printing method? Or would it be possible to add this?
(Right now I use lapply(extract_models(.), confint))

Thanks!

@cedricbatailler
Copy link
Owner

The JSmediation package was designed to work well with packages from the tidyverse. Especially the purrrpackage. We're in the process of writing the tutorials to fully understand how to use JSmediation interface.

The way to deal with most of problems of this kind would be:

library(tidyverse)

model %>%
  extract_models() %>%
  map(~confint(.x))

However, CIs seems important enough so we add them in the mediation_model print method. I will add this in the next couple of weeks.

Thanks for the feedback!

@cedricbatailler cedricbatailler self-assigned this Mar 17, 2020
@cedricbatailler cedricbatailler added the enhancement New feature or request label Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants