Formatting the None Choice
Posted: Sat Aug 21, 2021 5:41 am
Hello,
I found a good design and am now trying to format the choice cards. I have 4 attributes, 3 alternative rides and a none choice. The context is choosing a Uber type ride.
In order to create a column for the 'None" choice I did the following. (I am providing these details so other readers can follow. Changing the table dimension is not discussed in the manual).
1. In the "Configure Scenario Formatting" i went to the left top and changed the table dimension from 6 rows, 4 columns to 6 rows, 5 columns. This added a new column on the right.
2. I then typed in "None of these rides" in the new column title.
I then added a "choice 1" in the Add choice part on the left.
3. To add the radio button, I then chose "choice 1" in each column of the "Choice question" row on the screen.
Now i have the choice scenario looking ok. But the formatting of the last column is not the same as the first 3. Can you please help in how to change this.
Thanks so much
Manoj Agarwal
Here is the code
Design
; alts = alt1*,alt2*,alt3*,none
; rows=15
; eff=(mnl,d)
;alg=mfederov
;model:
U(alt1) = b2.effects[1.2|.8]*PR[12,16,20]
+ b3.effects[.8 |.2]*WT[2,6,10]
+ b4.effects[-.06|-.03]*DQ[0,1,2]
+ b5.effects[-.04|-.01]*RC[0,1,2]
+ int11[0.001]*PR.effects[12]*WT.effects[2]
+ int12[0.001]*PR.effects[12]*WT.effects[6]
+ int13[0.001]*PR.effects[16]*WT.effects[2]
+ int14[0.001]*PR.effects[16]*WT.effects[6]
+ int21[0.001]*PR.effects[12]*DQ.effects[0]
+ int22[0.001]*PR.effects[12]*DQ.effects[1]
+ int23[0.001]*PR.effects[16]*DQ.effects[0]
+ int24[0.001]*PR.effects[16]*DQ.effects[1]
+ int31[0.001]*PR.effects[12]*RC.effects[0]
+ int32[0.001]*PR.effects[12]*RC.effects[1]
+ int33[0.001]*PR.effects[16]*RC.effects[0]
+ int34[0.001]*PR.effects[16]*RC.effects[1] /
U(alt2) = b2*PR
+b3*WT
+b4*DQ
+b5*RC
+ int11*PR.effects[12]*WT.effects[2]
+ int12*PR.effects[12]*WT.effects[6]
+ int13*PR.effects[16]*WT.effects[2]
+ int14*PR.effects[16]*WT.effects[6]
+ int21*PR.effects[12]*DQ.effects[0]
+ int22*PR.effects[12]*DQ.effects[1]
+ int23*PR.effects[16]*DQ.effects[0]
+ int24*PR.effects[16]*DQ.effects[1]
+ int31*PR.effects[12]*RC.effects[0]
+ int32*PR.effects[12]*RC.effects[1]
+ int33*PR.effects[16]*RC.effects[0]
+ int34*PR.effects[16]*RC.effects[1] /
U(alt3) = b2*PR
+b3*WT
+b4*DQ
+b5*RC
+ int11*PR.effects[12]*WT.effects[2]
+ int12*PR.effects[12]*WT.effects[6]
+ int13*PR.effects[16]*WT.effects[2]
+ int14*PR.effects[16]*WT.effects[6]
+ int21*PR.effects[12]*DQ.effects[0]
+ int22*PR.effects[12]*DQ.effects[1]
+ int23*PR.effects[16]*DQ.effects[0]
+ int24*PR.effects[16]*DQ.effects[1]
+ int31*PR.effects[12]*RC.effects[0]
+ int32*PR.effects[12]*RC.effects[1]
+ int33*PR.effects[16]*RC.effects[0]
+ int34*PR.effects[16]*RC.effects[1] /
U(none) = b1[0]
;formatTitle = 'Scenario <scenarionumber>'
;formatTableDimensions = 5, 6
;formatChoices = choice 1
;formatTable:
1,1 = '' /
1,2 = 'Ride Price' /
1,3 = 'Wait time' /
1,4 = 'Driver Quality' /
1,5 = 'Ride Comfort' /
1,6 = 'Choice question&:' /
2,1 = 'Ride A' /
2,2 = '<alt1.pr>' /
2,3 = '<alt1.wt>' /
2,4 = '<alt1.dq>' /
2,5 = '<alt1.rc>' /
2,6 = '<choice 1>' /
3,1 = 'Ride B' /
3,2 = '<alt2.pr>' /
3,3 = '<alt2.wt>' /
3,4 = '<alt2.dq>' /
3,5 = '<alt2.rc>' /
3,6 = '<choice 1>' /
4,1 = 'Ride C' /
4,2 = '<alt3.pr>' /
4,3 = '<alt3.wt>' /
4,4 = '<alt3.dq>' /
4,5 = '<alt3.rc>' /
4,6 = '<choice 1>' /
5,1 = 'None of these Rides' /
5,2 = '' /
5,3 = '' /
5,4 = '' /
5,5 = '' /
5,6 = '<choice 1>'
;formatTableStyle:
1,1 = 'default' /
1,2 = 'headingattribute' /
1,3 = 'headingattribute' /
1,4 = 'headingattribute' /
1,5 = 'headingattribute' /
1,6 = 'headingattribute' /
2,1 = 'heading1' /
2,2 = 'body1' /
2,3 = 'body1' /
2,4 = 'body1' /
2,5 = 'body1' /
2,6 = 'choice1' /
3,1 = 'heading2' /
3,2 = 'body2' /
3,3 = 'body2' /
3,4 = 'body2' /
3,5 = 'body2' /
3,6 = 'choice2' /
4,1 = 'heading3' /
4,2 = 'body3' /
4,3 = 'body3' /
4,4 = 'body3' /
4,5 = 'body3' /
4,6 = 'choice3' /
5,1 = '' /
5,2 = '' /
5,3 = '' /
5,4 = '' /
5,5 = '' /
5,6 = ''
;formatStyleSheet = Red hot.css
;formatAttributes:
alt1.pr(12=&$ #, 16=&$ #, 20=&$ #) /
alt1.wt(2=# Minutes, 6=# Minutes, 10=# Minutes) /
alt1.dq(0=#, 1=#, 2=#) /
alt1.rc(0=#, 1=#, 2=#) /
alt2.pr(12=&$ #, 16=&$ #, 20=&$ #) /
alt2.wt(2=# Minutes, 6=# Minutes, 10=# Minutes) /
alt2.dq(0=#, 1=#, 2=#) /
alt2.rc(0=#, 1=#, 2=#) /
alt3.pr(12=&$ #, 16=&$ #, 20=&$ #) /
alt3.wt(2=# Minutes, 6=# Minutes, 10=# Minutes) /
alt3.dq(0=#, 1=#, 2=#) /
alt3.rc(0=#, 1=#, 2=#)
$
I found a good design and am now trying to format the choice cards. I have 4 attributes, 3 alternative rides and a none choice. The context is choosing a Uber type ride.
In order to create a column for the 'None" choice I did the following. (I am providing these details so other readers can follow. Changing the table dimension is not discussed in the manual).
1. In the "Configure Scenario Formatting" i went to the left top and changed the table dimension from 6 rows, 4 columns to 6 rows, 5 columns. This added a new column on the right.
2. I then typed in "None of these rides" in the new column title.
I then added a "choice 1" in the Add choice part on the left.
3. To add the radio button, I then chose "choice 1" in each column of the "Choice question" row on the screen.
Now i have the choice scenario looking ok. But the formatting of the last column is not the same as the first 3. Can you please help in how to change this.
Thanks so much
Manoj Agarwal
Here is the code
Design
; alts = alt1*,alt2*,alt3*,none
; rows=15
; eff=(mnl,d)
;alg=mfederov
;model:
U(alt1) = b2.effects[1.2|.8]*PR[12,16,20]
+ b3.effects[.8 |.2]*WT[2,6,10]
+ b4.effects[-.06|-.03]*DQ[0,1,2]
+ b5.effects[-.04|-.01]*RC[0,1,2]
+ int11[0.001]*PR.effects[12]*WT.effects[2]
+ int12[0.001]*PR.effects[12]*WT.effects[6]
+ int13[0.001]*PR.effects[16]*WT.effects[2]
+ int14[0.001]*PR.effects[16]*WT.effects[6]
+ int21[0.001]*PR.effects[12]*DQ.effects[0]
+ int22[0.001]*PR.effects[12]*DQ.effects[1]
+ int23[0.001]*PR.effects[16]*DQ.effects[0]
+ int24[0.001]*PR.effects[16]*DQ.effects[1]
+ int31[0.001]*PR.effects[12]*RC.effects[0]
+ int32[0.001]*PR.effects[12]*RC.effects[1]
+ int33[0.001]*PR.effects[16]*RC.effects[0]
+ int34[0.001]*PR.effects[16]*RC.effects[1] /
U(alt2) = b2*PR
+b3*WT
+b4*DQ
+b5*RC
+ int11*PR.effects[12]*WT.effects[2]
+ int12*PR.effects[12]*WT.effects[6]
+ int13*PR.effects[16]*WT.effects[2]
+ int14*PR.effects[16]*WT.effects[6]
+ int21*PR.effects[12]*DQ.effects[0]
+ int22*PR.effects[12]*DQ.effects[1]
+ int23*PR.effects[16]*DQ.effects[0]
+ int24*PR.effects[16]*DQ.effects[1]
+ int31*PR.effects[12]*RC.effects[0]
+ int32*PR.effects[12]*RC.effects[1]
+ int33*PR.effects[16]*RC.effects[0]
+ int34*PR.effects[16]*RC.effects[1] /
U(alt3) = b2*PR
+b3*WT
+b4*DQ
+b5*RC
+ int11*PR.effects[12]*WT.effects[2]
+ int12*PR.effects[12]*WT.effects[6]
+ int13*PR.effects[16]*WT.effects[2]
+ int14*PR.effects[16]*WT.effects[6]
+ int21*PR.effects[12]*DQ.effects[0]
+ int22*PR.effects[12]*DQ.effects[1]
+ int23*PR.effects[16]*DQ.effects[0]
+ int24*PR.effects[16]*DQ.effects[1]
+ int31*PR.effects[12]*RC.effects[0]
+ int32*PR.effects[12]*RC.effects[1]
+ int33*PR.effects[16]*RC.effects[0]
+ int34*PR.effects[16]*RC.effects[1] /
U(none) = b1[0]
;formatTitle = 'Scenario <scenarionumber>'
;formatTableDimensions = 5, 6
;formatChoices = choice 1
;formatTable:
1,1 = '' /
1,2 = 'Ride Price' /
1,3 = 'Wait time' /
1,4 = 'Driver Quality' /
1,5 = 'Ride Comfort' /
1,6 = 'Choice question&:' /
2,1 = 'Ride A' /
2,2 = '<alt1.pr>' /
2,3 = '<alt1.wt>' /
2,4 = '<alt1.dq>' /
2,5 = '<alt1.rc>' /
2,6 = '<choice 1>' /
3,1 = 'Ride B' /
3,2 = '<alt2.pr>' /
3,3 = '<alt2.wt>' /
3,4 = '<alt2.dq>' /
3,5 = '<alt2.rc>' /
3,6 = '<choice 1>' /
4,1 = 'Ride C' /
4,2 = '<alt3.pr>' /
4,3 = '<alt3.wt>' /
4,4 = '<alt3.dq>' /
4,5 = '<alt3.rc>' /
4,6 = '<choice 1>' /
5,1 = 'None of these Rides' /
5,2 = '' /
5,3 = '' /
5,4 = '' /
5,5 = '' /
5,6 = '<choice 1>'
;formatTableStyle:
1,1 = 'default' /
1,2 = 'headingattribute' /
1,3 = 'headingattribute' /
1,4 = 'headingattribute' /
1,5 = 'headingattribute' /
1,6 = 'headingattribute' /
2,1 = 'heading1' /
2,2 = 'body1' /
2,3 = 'body1' /
2,4 = 'body1' /
2,5 = 'body1' /
2,6 = 'choice1' /
3,1 = 'heading2' /
3,2 = 'body2' /
3,3 = 'body2' /
3,4 = 'body2' /
3,5 = 'body2' /
3,6 = 'choice2' /
4,1 = 'heading3' /
4,2 = 'body3' /
4,3 = 'body3' /
4,4 = 'body3' /
4,5 = 'body3' /
4,6 = 'choice3' /
5,1 = '' /
5,2 = '' /
5,3 = '' /
5,4 = '' /
5,5 = '' /
5,6 = ''
;formatStyleSheet = Red hot.css
;formatAttributes:
alt1.pr(12=&$ #, 16=&$ #, 20=&$ #) /
alt1.wt(2=# Minutes, 6=# Minutes, 10=# Minutes) /
alt1.dq(0=#, 1=#, 2=#) /
alt1.rc(0=#, 1=#, 2=#) /
alt2.pr(12=&$ #, 16=&$ #, 20=&$ #) /
alt2.wt(2=# Minutes, 6=# Minutes, 10=# Minutes) /
alt2.dq(0=#, 1=#, 2=#) /
alt2.rc(0=#, 1=#, 2=#) /
alt3.pr(12=&$ #, 16=&$ #, 20=&$ #) /
alt3.wt(2=# Minutes, 6=# Minutes, 10=# Minutes) /
alt3.dq(0=#, 1=#, 2=#) /
alt3.rc(0=#, 1=#, 2=#)
$