May be this expected given the number of parameters included, yet to be sure, before I quit the idea of using Bayesian design..
This design is working well:
- Code: Select all
Design
;alts = device, garden, money, optout
;rows = 24
;block=6
;eff = (mnl,d)
;rdraws=gauss(2)
;model:
U(device) =b1[n,0.21,0.062]+ b2[n,0.4,0.2]*participation[1,2,3] + b3[n,0.48,0.19]* risk[1,2,3]+b4[n,-0.154,0.11]*working[1,2,3]/
U(garden) =c1[n,0.188,0.064]+ b2 * participation+ b3* risk[risk]+b4*working/
U(money) = d1[n,0.194,0.078]+ b2 * participation+ b3* risk[risk]+b5[n,-0.7,0.1]*cost[1,2,3] /
U(optout)= b2 *participation$
Yet, when I add a Bayesian distribution to only one ASC, b1, as in the example below, no design is being generated.. (and ideally I would like to assign Bayesian distribution to my three ASC). is this merely impossible given the amount of parameters I have? or have I done something wrong in the syntax below?
- Code: Select all
Design
;alts = device, garden, money, optout
;rows = 24
;block=6
;eff = (rp,d)
;rdraws=halton(250)
;bdraws=halton(250)
;rep = 500
;model:
U(device) =b1[n,(n,0.21,0.0627),(u,0.114,0.227)]+ b2[n,0.4,0.2]*participation[1,2,3] + b3[n,0.48,0.19]* risk[1,2,3]+b4[n,-0.154,0.11]*working[1,2,3]/
U(garden) =c1[n,0.188,0.064]+ b2 * participation+ b3* risk[risk]+b4*working/
U(money) = d1[n,0.194,0.078]+ b2 * participation+ b3* risk[risk]+b5[n,-0.7,0.1]*cost[1,2,3] /
U(optout)= b2 *participation$
Thanks!
Anat