Hi there,
We have developed the below code but are having uncertainties which it would be great if you could clarify:
Design
;alts = alt1, alt2, alt3
;rows = 36
;eff = (mnl,d)
;block = 3, minmax, noimprov(10 secs)
;alg = mfederov(stop=total(200000 iterations))
;bdraws = gauss(2)
;rep = 100
;model:
U(alt1) = b1.dummy[(n, 0.5, 0.5)] * LBP[0,1] + b2.dummy[(n, 1.5, 1.1)] *Comm[0,1,2,3] +b3.dummy[(n, 1.5,1.1)] *Opioid [0,1,2,3] + b4[(n, 1.5, 0.5)]* OpioidPainRed[1,2] + b5[(n, 5.5, 1.5)]* OpioidAEs[7,4] /
U(alt2) = b1.dummy[(n, 0.5, 0.5)] * LBP + b2.dummy[(n, 1.5, 1.1)]* Comm + b6.dummy[(n, 1.5, 1.1)]* NSAID[0,1] + b7[(n, 2, 1)]* NSAIDPain[1,3] + b8[(n, 3, 1)]* NSAIDAEs[4,2]
$
1. We are still trying to determine if some of our attributes are continuous or categorical, as although in theory they are continuous, the survey only presents with a specific number of options, in which case they could all be dummy coded as categorical? However, Ngene does not seem to like having more than 2 levels for categorical attributes as it will not run with ‘dummy’ attributes which have 3 or 4 levels each, It will run if I reduce the number of levels for these attributes to two, but I don’t think that is an option for our design. For the continuous attributes, without 'dummy' before them, the code runs but comes back with an ‘undefined’ D-error??
2. If using Dummy for categorical variables then the prior values should not be the mean and SD, is this correct? I was wondering if I should instead estimate the range for these priors instead?
3. The two attributes LBP and Comm are actually constants, so should be the same across alternatives, however I cannot work out a way to signify this in the code. I was wondering how should I handle these attributes? should we not include LBP and Comm in the alternatives as these are technically not part of the choice set, but still randomly provided in the questions which determines the responders answers to the choice set.
4. Interpreting the S-estimate; I am still trying to find this out, but it seems that the S-estimates we are getting so far are way too low. For example, does an S-estimate of 3.5 mean 4 participants in each group? obviously there must be and error in our code as this is defiantly incorrect.
I greatly appreciate your help in advance.
Regards,
Melanie