I am trying to implement the following scenario-based randomization.
I have two sensors and I need to make sure that SS selects the rooms where to place them as follows:
Scenario A: kitchen/main cooking area is indoors.
Sensor 1: by default in kitchen/main cooking area.
Sensor 2 random allocation: in the living room or bedroom.
First stage of random allocation: selection between living rooms or bedrooms
Second stage of random allocation: selection among one of the different living rooms or among one of the different bedrooms.
Scenario B: kitchen/main cooking area is outdoors:
Sensor 1: in living room
Sensor 2: in bedroom
If there is more than one living room or more than one bedroom, the placement will be randomly allocated between living rooms and bedrooms: i.e. randomly pick one of the living rooms and randomly pick one of the bedrooms.
Scenario C: kitchen/main cooking area and living room are outdoors:
Randomly allocate sensors to the available indoor rooms.
Scenario D: the household lives only in one room (which serves as kitchen/bedroom/living room):
Place one sensor only in that only room.
The link to the form (which contains a first attempt to implement the above), is here:https://designer.mysurvey.solutions/questionnaire/details/02a3ac11f04d4ce79cf630139731a2f2.
Any inspiration/suggestion on this will be highly appreciated. Happy to answer any clarification.
Thanks in advance,