Integration of covariates into HB estimation
Posted: 11 May 2020, 09:19
Hello, everyone,
I have a question on using covariates based on an old topic in the Google group. I would like to estimate a MIXL model with covariates using HB. When using HB, I define the values of the transformation in apollo_probabilities()…
… and get the conditionals for every coefficient in the model$estimate part. If I include the covariate as a fixed parameter, then under model$estimate I have only one parameter for the covariate, since they are the same for the whole population. In contrast, with a normal distribution, I have one parameter per observation/respondent.
1) In my example, I would like to get/plot the conditionals of b_Price_value and not of b_Price for every respondent. Is there an easy way to do this in apollo? When estimating with MSL I can define this transformation directly in randCoeff(), which is unfortunately not possible with HB.
The only thing I can think of spontaneously is to do it "by hand": With normal distribution, I could simply add the conditionals of model$estimate to get b_Price_value. With fixed covariates (“F”), on the other hand, I would have to multiply the covariates by the properties of the respondents (e.g. income). Is that right?
The problem with my data is that the estimated part-worth utilities (here: b_price) are so strongly influenced by the covariates that they can hardly be interpreted meaningfully without taking the covariates into account.
2) Furthermore, I wonder how the covariates are included in apollo_predictions() when they are fixed? Do they only enter the conditionals indirectly via the "upper model" estimates?
I look forward to your answers.
I have a question on using covariates based on an old topic in the Google group. I would like to estimate a MIXL model with covariates using HB. When using HB, I define the values of the transformation in apollo_probabilities()…
Code: Select all
b_Price_value = b_Price +
eta_Income_Price * Income1) In my example, I would like to get/plot the conditionals of b_Price_value and not of b_Price for every respondent. Is there an easy way to do this in apollo? When estimating with MSL I can define this transformation directly in randCoeff(), which is unfortunately not possible with HB.
The only thing I can think of spontaneously is to do it "by hand": With normal distribution, I could simply add the conditionals of model$estimate to get b_Price_value. With fixed covariates (“F”), on the other hand, I would have to multiply the covariates by the properties of the respondents (e.g. income). Is that right?
The problem with my data is that the estimated part-worth utilities (here: b_price) are so strongly influenced by the covariates that they can hardly be interpreted meaningfully without taking the covariates into account.
2) Furthermore, I wonder how the covariates are included in apollo_predictions() when they are fixed? Do they only enter the conditionals indirectly via the "upper model" estimates?
I look forward to your answers.