Skip to content

Factor outcome variables #15

@KayHales

Description

@KayHales

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!

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