by Michiel Bliemer » Fri Dec 11, 2020 1:19 pm
1. You need to dummy code all variables that do not have continuous levels, i.e. all categorical variables (e.g. low/medium/high, blue/yellow/red, etc). You do not have to use dummy coding for example for price/cost, distance, time, etc. Please refer to dummy coding in the literature. You should NOT look at D-error when deciding whether a variable needs to be dummy coded or not. You will likley need dummy coding for most of your variables.
2. Using b2 or b2[0] is the same and will not change your D-error. You need to specify the utility function that you want to estimate, you should NOT look at the D-error when specifying your model because your model specification reflects your study and choice behaviour that you are interested in analysing.
3. No blocks are not necessary, but having 8 rows is not enough, it will have too little variation in the data to estimate your coefficients. Given the number of parameters and the likely dummy coding you need, I would rather use something like 24 rows and then block in 3 blocks to give 8 choice tasks to a single respondent.
4. The format will be: b[(n,param,se)] where param is the parameter value you obtain from a pilot study, and se is the associated standard error. This provides a normally distributed Bayesian prior.
Given the questions asked, I suggest that you read a book on discrete choice modelling and experimental design, or take a 1-week course (I am involved in 2 courses per year, including the use of Ngene, but there are others offering courses on choice modelling as well). A good book to read would be:
Hensher, Rose and Greene (2015) Applied choice analysis. Second edition, Cambridge Univsity Press.
Another book that is available for free online, but does not discuss choice experiments, is:
Train (2009) Discrete choice methods with simulation. Second edition, Cambridge University Press.
Discrete choice modelling is not something that most people easily pick up, so it does require quite a bit of investment in time.
Michiel