ifferent attribute levels for attributes with generic para
Posted: Wed Jun 01, 2011 12:49 am
Hi,
As I understood from the topic „Use of generic or alternative specific parameters” in this forum it is possible to have different attribute levels for attributes that have a generic parameter. But does this also work when I want to use Bayesian priors?
The model I want to estimate has six alternatives and in all alternatives the attribute water quality (WQ) is present. However, in one alternative - U(SB) - water quality (should have) has one level less because in the present situation the quality for that part of the river is higher than in the other parts. The code I used (see below) always returns an error message. Thus I assume that I do a mistake or try to do something that is not possible?
Another question I have is related to dummy or effect coded attributes concerning the warning the NGENE manual gives on page 124 in the new manual (“Care should be taken when using dummy or effects codes in generating designs however …”). Is there any way to determine whether this is a problem for my model or not?
Thanks a lot for any hints,
Jürgen
As I understood from the topic „Use of generic or alternative specific parameters” in this forum it is possible to have different attribute levels for attributes that have a generic parameter. But does this also work when I want to use Bayesian priors?
The model I want to estimate has six alternatives and in all alternatives the attribute water quality (WQ) is present. However, in one alternative - U(SB) - water quality (should have) has one level less because in the present situation the quality for that part of the river is higher than in the other parts. The code I used (see below) always returns an error message. Thus I assume that I do a mistake or try to do something that is not possible?
Another question I have is related to dummy or effect coded attributes concerning the warning the NGENE manual gives on page 124 in the new manual (“Care should be taken when using dummy or effects codes in generating designs however …”). Is there any way to determine whether this is a problem for my model or not?
- Code: Select all
? Bayesian efficient design with non-random parameters
design
;alts = HB, UH, OH, SS, ML, SB, SQ
;rows = 14
;bdraws = gauss(4)
;eff = (mnl,s,mean)
;model:
U(HB) = b1[0.7] + b7.effects[(u,0.1,0.5)|(u,0.3,0.8)|(u,0.5,1.1)] * WQ[1,2,3,0] + b8[(u,-0.3,0.0)] * price[5,15,25,50] /
U(UH) = b2[0.8] + b7 * WQ + b8 * price /
U(OH) = b3[0.6] + b7 * WQ + b8 * price /
U(SS) = b4[0.5] + b7 * WQ + b8 * price /
U(ML) = b5[0.7] + b7 * WQ + b8 * price /
U(SB) = b6[0.9] + b7.effects[(u,0.1,0.5)|(u,0.3,0.8)] * WQ1[1,2,0] + b8 * price
$
Thanks a lot for any hints,
Jürgen