labelled designs - consistently specified levels
Posted: Tue Oct 24, 2023 11:49 pm
Hi Michiel,
I'm attempting a labelled designs and have come across this error message: "Error: Two identically named attributes do not have consistently specified levels: 'bloodtest.wait', 'endoscopy.wait'"
Ideally, i would like to have the same coefficient for waiting time in both endoscopy and blood test. Is there a way to do this?
Any thoughts greatly appreciated!
Tara
I'm attempting a labelled designs and have come across this error message: "Error: Two identically named attributes do not have consistently specified levels: 'bloodtest.wait', 'endoscopy.wait'"
Ideally, i would like to have the same coefficient for waiting time in both endoscopy and blood test. Is there a way to do this?
- Code: Select all
design
;alts = endoscopy*, bloodtest*
;rows=12
;eff=(mnl,d)
;con
;model:
U(endoscopy) = endoscopy[0] ?ASC for endoscopy relative to bloodtest
+ b1.dummy [-0.00001|-0.00002]* missed[1,2,0] ?Risk of missed diagnosis (0=none, 1=1 in 50, 2=1 in 10)
+ b2 [-0.00001] * wait[12,24] ?Waiting time to start treatment (weeks)
+ b3.dummy [0] * complication [1,0] ?Complications (0=bleeding 1=perforation)
+ b4.dummy [-0.00001|-0.0002] * discomfort [1,2,0] ?Discomfort (2=high, 1=moderate, 0=minimal)
/
U(bloodtest) = b5.dummy [-0.00001|-0.00002]* wrong[1,2,0] ?Risk of wrong diagnosis (%)(0=1 in 50, 1=1 in 20, 2=1 in 3)
+ b2 [-0.00001] * wait[2,4] ?Waiting time to start treatment (weeks)
+ b4.dummy [-0.00001] * discomfort[1,0] ?Discomfort (1=moderate, 0=minimal)
$
Any thoughts greatly appreciated!
Tara