Hi all, I am designing an SP experiment with two unlabeled alternatives with four attributes, A, B, C, and D. A and C are continuous, while B and D are both binary. Moreover, If B=0, C would be less than 20 and D would be 1. Then I found in the generated experiments, that the frequency of B=0 would be much lesser than that of B=1, which I think is not consistent with the reality. Can anyone give a hand and some clues about what really happened and how to fix it? Thanks.
The code is attached.
- Code: Select all
?SP test
Design
;alts=alt1, alt2
;rows=50
;eff=(mnl,d)
;cond:
if(alt1.B=0, alt1.C<20),
if(alt2.B=0, alt2.C<20),
if(alt1.B=0, alt1.D=1),
if(alt2.B=0, alt2.D=1)
;model:
U(alt1)=b1 * A[0:10:1] + b2 * B[0,1] + b3 * C[0:25:5] + b4 * D[0,1]/
U(alt2)=b1 * A + b2 * B + b3 * C + b4 * D
$