Question about coding some attributes and levels
Posted: Thu Mar 09, 2023 1:04 pm
Dear Mr. Michiel Bliemer:
I have some questions on the coding of attributes and levels that I would like to ask.
1. Do I have to use Bayesian efficient design when using efficient design? I would like to know the process of a proper routine.
Can I empirically give utility values and ensure that the D error is less than 0.3 so that the generated experiments can be used directly to investigate and get the correct survey data?
Is the data obtained from a survey based directly on an experiment generated from empirical utility, without testing a small sample to obtain actual utility values, correct?
I would like to be more explicit.
If I use efficient design and MNL, I give the utility values empirically and generate the experiment and carry out the survey directly, without adjusting the utility to the actual situation. So is the survey data obtained in this way wrong?
Or, if an efficient design is used, a small sample must be tested before a more realistic experiment based on actual utility can be generated for the survey.
2. When writing code using efficient design, do I have to use actual values in addition to dummy attributes? Or can all attribute levels be replaced by 1, 2, 3, 0.
3. If my attributes travel time and travel cost have different levels depending on the travel distance, can I generate the required experiments in one step when writing the code, or do I have to do it in 2 separate sessions. I don't know how to write the code here. For example:
Context: Commuting distance (km): 5km 10km
Mode1 Mode2
Access & egress time (min) 3,4,5, 7,8,9
Waiting time (min) 2,4,6, 3,5,7
Travel time for 5 km (min) 20,30,40 30,35,40
Travel time for 10 km (min) 40,50,60 40,45,50
Travel cost for 5 km 6,8,10 2,3,4
Travel cost for 10 km 10,12,14 4,5,6
4. If my attribute levels are probabilities, say 10% off per ride, 20% off per ride, 30% off per ride, can I use the actual values 0.1, 0.2, 0.3 when writing the code? Or do I need to use the dummy values, 1, 2, 0.
5. If my attribute levels are probabilities, say 50% less, 50% more, can I use the actual values -0.5, 0.5 when writing the code? Or do I need to use the dummy values, 1, 0.
6. If my attribute levels are 0, greater than or equal to 1, can I use the actual values 0, 1 when writing the code? Or do I need to use the dummy values, 1, 0.
7. If my attributes are uncertain, how do I write them when writing code using efficient design? For example:
Mode1 Mode2
Travel time (min) 10,12,14,16,18 20,22,24,26,28
12,14,16,18,20 22,24,26,28,30
14,16,18,20,22 24,26,28,30,32
16,18,20,22,24 26,28,30,32,34
Corresponding probabilities 20%, 20%, 20%, 20%, 20% 20%, 20%, 20%, 20%, 20%
10%, 20%, 40%, 20%, 10% 10%, 20%, 40%, 20%, 10%
5%, 15%, 60%, 15%, 5% 5%, 15%, 60%, 15%, 5%
0%, 10%, 80%, 10%, 0% 0%, 10%, 80%, 10%, 0%
Can I code the levels using the middlemost value? Like [14,16,18,20]. Or do I have to use dummy values like 1, 2, 3, 0. Or do you have a better way of doing it?
I'm really sorry that I have a lot of questions. I asked people around me for answers to these questions, but I didn't get any. I would appreciate it if you could kindly answer them.
I have some questions on the coding of attributes and levels that I would like to ask.
1. Do I have to use Bayesian efficient design when using efficient design? I would like to know the process of a proper routine.
Can I empirically give utility values and ensure that the D error is less than 0.3 so that the generated experiments can be used directly to investigate and get the correct survey data?
Is the data obtained from a survey based directly on an experiment generated from empirical utility, without testing a small sample to obtain actual utility values, correct?
I would like to be more explicit.
If I use efficient design and MNL, I give the utility values empirically and generate the experiment and carry out the survey directly, without adjusting the utility to the actual situation. So is the survey data obtained in this way wrong?
Or, if an efficient design is used, a small sample must be tested before a more realistic experiment based on actual utility can be generated for the survey.
2. When writing code using efficient design, do I have to use actual values in addition to dummy attributes? Or can all attribute levels be replaced by 1, 2, 3, 0.
3. If my attributes travel time and travel cost have different levels depending on the travel distance, can I generate the required experiments in one step when writing the code, or do I have to do it in 2 separate sessions. I don't know how to write the code here. For example:
Context: Commuting distance (km): 5km 10km
Mode1 Mode2
Access & egress time (min) 3,4,5, 7,8,9
Waiting time (min) 2,4,6, 3,5,7
Travel time for 5 km (min) 20,30,40 30,35,40
Travel time for 10 km (min) 40,50,60 40,45,50
Travel cost for 5 km 6,8,10 2,3,4
Travel cost for 10 km 10,12,14 4,5,6
4. If my attribute levels are probabilities, say 10% off per ride, 20% off per ride, 30% off per ride, can I use the actual values 0.1, 0.2, 0.3 when writing the code? Or do I need to use the dummy values, 1, 2, 0.
5. If my attribute levels are probabilities, say 50% less, 50% more, can I use the actual values -0.5, 0.5 when writing the code? Or do I need to use the dummy values, 1, 0.
6. If my attribute levels are 0, greater than or equal to 1, can I use the actual values 0, 1 when writing the code? Or do I need to use the dummy values, 1, 0.
7. If my attributes are uncertain, how do I write them when writing code using efficient design? For example:
Mode1 Mode2
Travel time (min) 10,12,14,16,18 20,22,24,26,28
12,14,16,18,20 22,24,26,28,30
14,16,18,20,22 24,26,28,30,32
16,18,20,22,24 26,28,30,32,34
Corresponding probabilities 20%, 20%, 20%, 20%, 20% 20%, 20%, 20%, 20%, 20%
10%, 20%, 40%, 20%, 10% 10%, 20%, 40%, 20%, 10%
5%, 15%, 60%, 15%, 5% 5%, 15%, 60%, 15%, 5%
0%, 10%, 80%, 10%, 0% 0%, 10%, 80%, 10%, 0%
Can I code the levels using the middlemost value? Like [14,16,18,20]. Or do I have to use dummy values like 1, 2, 3, 0. Or do you have a better way of doing it?
I'm really sorry that I have a lot of questions. I asked people around me for answers to these questions, but I didn't get any. I would appreciate it if you could kindly answer them.