I am estimating a HCM, and instead of the conventional approach such as Likert-scale indicators, I would like to use other variables as indicators for the latent variable. In this case, I would use a binary/multinomial logit in the measurement equations. I have two questions regarding these:
1. Do you think I should create a different lists for these MNLs other than the list of "V" that is used for the stated choice data?
2. Would you recommend to specify constants in these MNLs to capture the overall preference for the choice options of the indicators alongside the zeta parameters capturing the impact of the LV?
For the binary case, I have implemented the following code:
Code: Select all
I= list()
I[['op1']] = Constant_1_1+ zeta_ind_1_1*LV
I[['op2']] = Constant_1_2+ zeta_ind_1_2*LV
mnl_settings_2 = list(
alternatives = c(op1=0, op2=1),
avail = list(op1=1, op2=1),
choiceVar = Ind_1,
V = I,
rows=(Sequence==1)
)
P[["ind_1"]] = apollo_mnl(mnl_settings_2, functionality)
Code: Select all
J= list()
J[['op1']] = Constant_2_1+ zeta_ind_2_1*LV
J[['op2']] = Constant_2_2+ zeta_ind_2_2*LV
J[['op3']] = Constant_2_3+ zeta_ind_2_3*LV
mnl_settings_2 = list(
alternatives = c(op1=0, op2=1,op3=2),
avail = list(op1=1, op2=1,op3=1),
choiceVar = Ind_2,
V = J,
rows=(Sequence==1)
)
P[["ind_2"]] = apollo_mnl(mnl_settings3, functionality)
Best wishes,
Richard