Solved: I'm working on market research and want to conduct a Multinomial Logit Model by R based on the estimation below. It is designed to test whether consumers' exposure to specific advertisements could influence their preferences for the attribute, i.e., equipped with Bluetooth. But as the model below contains a dummy regarding whether the product has Bluetooth or not, I'm not sure how it should be transferred into R code. enter image description here
Update: Now I have built the correct mixed MNL model and want to test the significance of the difference in mean estimates. For example, to test whether the difference between “Group5:NoBluetooth” and “Group6:NoBluetooth” is significant or not. In this case, which test should be computed here and how should I run the code? The R results are shown in the following image.

You can implement dummy variables the same way as in a normal
lm()model. Here is a reproducible example. You should be able to just copy and paste the code below and run it. For your data sample, just make sure that your dummy variablebluethoothis coded as a factor i.e., thewifivariable in my example.Created on 2022-08-25 with reprex v2.0.2