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

Factor outcome variables #15

Open
KayHales opened this issue Jan 25, 2024 · 1 comment
Open

Factor outcome variables #15

KayHales opened this issue Jan 25, 2024 · 1 comment

Comments

@KayHales
Copy link

Hello,

Is it possible to have factor, or multivariate, outcomes? I didn't see it in the documentation, so I just wanted to see if I was missing where this is an option. Below is my code for the model:

wi_auto <- auto_MrP( y = "WI", L1.x = c("educ", "age_cat", "party", "gender"), L2.x = c("income", "rshare", "wshare", "religious", "year"), L2.unit = "state", L2.reg = "rcode", bin.size = "n", survey = data3, census = test2, cores = gcpCores, ebma.size = 0.3, gb.L2.reg = T, svm.L2.reg = T, uncertainty = T, mrp = T )
WI is an ordered factor with 5 levels, but I can do one-hot encoding for multivariate model.
Thanks for the help!

@philippbroniecki
Copy link
Collaborator

Hi,

currently y can only be binary or continuous.

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