I am trying to construct a model where I have a heterogeneous design, with different numbers of alternatives in each model. Page 133 of the manual (version 1.1) suggests its possible, but does not show an explicit example. The syntax below generates the error
Error: The model 'bad' that belongs to the 'fish' ;fisher specification is inconsistent with the first model. The number of alternatives does not match.
where am I going wrong?
Michael
Design
;alts(good) =alt1, alt2, alt3, alt4
;alts(bad) = alt1, alt2, alt3
;rows = 8
;eff = fish(mnl,d)
;fisher(fish) =des1(good[0.5]) + des2(bad[0.5])
;model(good):
U(alt1) = b1[-0.2]* price[10,20,30,40] + b2[0.2]*a1[0,1]+b3[0.2]*a2[0,1]+b4[0.2]*a3[0,1]/
U(alt2) = b1* price[10,20,30,40] + b2*a1[0,1]+b3*a2[0,1]+b4*a3[0,1]/
U(alt3) = b1* price[10,20,30,40] + b2*a1[0,1]+b3*a2[0,1]+b4*a3[0,1]/
U(alt4) = b1* price[10,20,30,40] + b2*a1[0,1]+b3*a2[0,1]+b4*a3[0,1]
;model(bad):
U(alt1) = b1[-0.2]* price[10,20,30,40] + b2[0.2]*a1[0,1]+b3[0.2]*a2[0,1]+b4[0.2]*a3[0,1]/
U(alt2) = b1* price[10,20,30,40] + b2*a1[0,1]+b3*a2[0,1]+b4*a3[0,1]/
U(alt3) = b1* price[10,20,30,40] + b2*a1[0,1]+b3*a2[0,1]+b4*a3[0,1]$