retowuest / autoMrP

autoMrP
24 stars 2 forks source link

Factor outcome variables #15

Open KayHales opened 7 months ago

KayHales commented 7 months ago

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 commented 7 months ago

Hi,

currently y can only be binary or continuous.