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

Mediation with Dichotomous Y Variable #5

Open
RaviBot opened this issue May 27, 2021 · 2 comments
Open

Mediation with Dichotomous Y Variable #5

RaviBot opened this issue May 27, 2021 · 2 comments

Comments

@RaviBot
Copy link

RaviBot commented May 27, 2021

Hello!

First of all, thank you for this amazing package and all of your incredible YouTube videos. I have really learned a lot!

I was doing a mediation with a dichotomous X, dichotomous Y, and a continuous M using the mediation1() function. When it runs I get the error Error in mediation1(y = "SuicideBIN_Text", x = "cp_np", m = "rh_G_postcentral_thickness", : Y should not be a categorical variable. Log regression options are coming soon.

I was wondering if there was an update coming soon for this. Thanks for all your help!

@doomlab
Copy link
Owner

doomlab commented May 29, 2021

Yes, on the radar, timeline murky given a few projects I am involved with right now :(

Just regular logistic regression with a binary outcome or something more complex?

@RaviBot
Copy link
Author

RaviBot commented May 29, 2021

I was just looking to do regular logistic regression with a binary outcome, binary predictor, continuous mediator, and continuous covariates!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants