# Specify a simple choice-level MM comparison for att1 levels:
q_mm <- set_qoi(
.structure = "choice_level",
.estimand = "mm",
.att_choose = "att1",
.lev_choose = c("att1:lev2"),
.att_notchoose = "att1",
.lev_notchoose = c("att1:lev1")
)
str(q_mm)
# Example AMCE with explicit baselines (profile-level):
q_amce <- set_qoi(
.structure = "profile_level",
.estimand = "amce",
.att_choose = "att2",
.lev_choose = "att2:lev3",
.att_choose_b = "att2",
.lev_choose_b = "att2:lev1"
)
str(q_amce)
Run the code above in your browser using DataLab