by jbhokie1 » Sat Mar 16, 2013 9:14 am
Thank you for all of your help so far.
I am trying to do something similar to the post "Effects coded parameters & rp logit" submitted by nashkato, except rather than effects coding I'd like to use dummy coding. This is my code:
Design
;alts = A, B, C
;rows = 48
;eff = (rppanel,d)
;rep = 500
;rdraws = random (1000)
;model:
U(A) = b1[1] + b2.dummy[n,-.408,.478|n,-.34,.478|n,-.272,.478|n,-.204,.478|n,-.136,.478]*numbturb[6,5,4,3,2,1] + b3.dummy[n,-0.00772,0.00109]*height[390,276] + b4.dummy[n,-.261,.105]*viewhome[1,0] + b5.dummy[n,-.36,.0714|n,-.24,.0714]*noise[45,30,0] + b6.dummy[n,-.261,.105]*viewact[1,0] + b7[n,.002,.00147]*disc[1,5,10,15,20]/
U(B) = b2*numbturb + b3*height + b4*viewhome + b5*noise + b6*viewact + b7*disc
$
I'm getting the same error as before ("Warning: No valid design has been found after 10 minutes. If no designs have been evaluated (see the counter below), this may be because a single design is taking a very long time to evaluate. If invalid designs are reported below, there may be a problem with the specification of the design. A common problem is that the choice probabilities are too extreme (close to 1 and 0), perhaps because some or all of the prior values are too large. Also, it is generally a good idea to start with a simple design (MNL, non-Bayesian), then add complexity. If you press stop, a design will be reported, which may assist in diagnosing the problem.")
Is it a scaling issue again? With b2? If so, do you mind helping me by telling me how I should scale the priors in order to fix the problem?
Thank you!