Estimating Covariates with Unlabelled Alternatives
Posted: 07 Sep 2021, 18:39
Hello,
Do you have any example of estimating the effects of covariates (e.g. gender, age group) on categorical attributes with unlabelled alternatives in a MMNL model? I see there are multiple examples of covariates incorporated in the analysis of labelled alternatives (e.g. shifts for females on mode choice) on this website and in the forum. From what I see (e.g. example Apollo file 3), covariates are added to the alternatives: "Create alternative specific constants and coefficients using interactions with socio-demographics". But I'm not interested in whether females were more likely to choose alternative 1 over 2. So instead I've tried factoring in my covariate (sex) into my utility equations. However when I did this I got an error message stating "Error in apollo_estimate(apollo_beta, apollo_fixed, apollo_probabilities, : Parameter fare_est_a does not influence the log-likelihood of your model!"
Do you have any example of estimating the effects of covariates (e.g. gender, age group) on categorical attributes with unlabelled alternatives in a MMNL model? I see there are multiple examples of covariates incorporated in the analysis of labelled alternatives (e.g. shifts for females on mode choice) on this website and in the forum. From what I see (e.g. example Apollo file 3), covariates are added to the alternatives: "Create alternative specific constants and coefficients using interactions with socio-demographics". But I'm not interested in whether females were more likely to choose alternative 1 over 2. So instead I've tried factoring in my covariate (sex) into my utility equations. However when I did this I got an error message stating "Error in apollo_estimate(apollo_beta, apollo_fixed, apollo_probabilities, : Parameter fare_est_a does not influence the log-likelihood of your model!"