Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Unexpected Quota cell values of -1

Hi
I am testing quota questions in a study in LS 9.12.1. and seeing some Quota cell values of -1  (were not assigned to a cell because of logic) when I expect the cases to either be (i) assigned to a  cell or (ii) be assigned a value of -2 because the quota cells were full.

The 3 relevant cells have these conditions:
(fascyou_4=1  and kidcond=1) or (fascyou_4<>1 and kidoradult=1 and kidcond=1)
(fascyou_4=1  and kidcond=2) or (fascyou_4<>1 and kidoradult=1 and kidcond=2)
(fascyou_4=1  and kidcond=3) or (fascyou_4<>1 and kidoradult=1 and kidcond=3)


The test respondents of interest (I think) qualify for either the first or second  part of these conditions:
fascyou_4    kidcond    quota2    kidoradult
0    1    -1    1
0    2    -1    1
0    1    -1    1
0    1    -1    1
0    3    -1    1
1    1    -1    0
1    1    -1    0
1    3    -1    0
1    1    -1    0
1    1    -1    0
1    1    -1    0
1    2    -1    0
1    2    -1    0
1    1    -1    0
1    3    -1    0
1    2    -1    0
1    1    -1    0
1    3    -1    0


Other respondents, with equivalent values, are being assigned to the cells as expected:

fascyou_4    kidcond    quota2    kidoradult
0    1    201    1
1    1    201    0
0    2    202    1
1    2    202    0
0    3    203    1
1    3    203    0


Can anyone advise - perhaps I am misinterpreting the -1 values for quota2, or there is a problem with my qualifying logic.

fascyou_4 is a question they answer, the other variables are pass-in fields assigned a value depending on answers to questions - that all takes place before the page containing quota2.

thanks
Dan
asked Sep 7, 2021 by dan r Bronze (4,025 points)
edited Sep 7, 2021 by dan r
Sure seems like they should be going into the quota. I'd probably go into "debug mode" which for me is adding scripting tags to the global header for my variables of interest, e.g. fascyou is: [%fascyou%] <br> kidcond is: [%kidcond%], etc. for all of them, then I would probably add extra page breaks if any questions are on the same page so I can step through one thing at a time.

Your solution to the original question

Please only use this to answer the original question. Otherwise please use comments.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

To avoid this verification in future, please log in or register.
...