Priors for categorical variables
Posted: Sat Feb 01, 2020 12:56 am
Hello,
I have two categorical variables, 1 with ordering (side effects: very common, uncommon) and 1 without (injection vs infusion). I just have a few questions about which priors to use.
1. I want to avoid dominant alternative so, have use the * but, the 'route' prior doesn't have an ordering, so I have used 0 priors, will this confuse Ngene? if so should i remove the *?
2. I want to check if i have the right priors for the ordered variable: level 2 has a utility of 0.00003, level 0 have a utility of -0.00001 and level 1 has a utility value of -0.00002
Risk of side-effects levels:
0=very common
1=common
2=uncommon
Thanks for your help,
Tara
I have two categorical variables, 1 with ordering (side effects: very common, uncommon) and 1 without (injection vs infusion). I just have a few questions about which priors to use.
- Code: Select all
Design
;alts = alt1*, alt2*
;rows = 12
;eff = (mnl,d)
;model:
u(alt1)= b1[-0.00001]*infectrisk[0.4,0.5,0.8]+b2.dummy[0|0]*route [0,1,2]+b3.dummy[-0.00001|-0.00002]*sideeffect[0,1,2] /
u(alt2) = b1*infectrisk + b2.dummy * route + b3.dummy* sideeffect
$
1. I want to avoid dominant alternative so, have use the * but, the 'route' prior doesn't have an ordering, so I have used 0 priors, will this confuse Ngene? if so should i remove the *?
2. I want to check if i have the right priors for the ordered variable: level 2 has a utility of 0.00003, level 0 have a utility of -0.00001 and level 1 has a utility value of -0.00002
Risk of side-effects levels:
0=very common
1=common
2=uncommon
Thanks for your help,
Tara