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

Error with NA variable #16

Open
VLDrenth opened this issue Jun 5, 2023 · 1 comment
Open

Error with NA variable #16

VLDrenth opened this issue Jun 5, 2023 · 1 comment

Comments

@VLDrenth
Copy link

VLDrenth commented Jun 5, 2023

When using data where a variable is NA for all observations, this variable can still be selected. When the robmed or OLS is then run, the GUI stops with console warning: Warning: Error in fit_mediation.default: not enough observations.

@aalfons
Copy link
Owner

aalfons commented Jun 9, 2023

The GUI should catch errors and warnings when executing test_mediation() and then give a more helpful message in the main panel that lists a few common issues and suggestions (e.g., check for missing values or other issues of the data, try increasing the number of bootstrap samples, etc.).

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