Skip to content

Mediation with Dichotomous Y Variable #5

@RaviBot

Description

@RaviBot

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions