-
Notifications
You must be signed in to change notification settings - Fork 0
add_design
mmaness edited this page Nov 15, 2011
·
2 revisions
A choice experiment trait which add scenario designs to the experimental design.
add_design <- [design_array]
- design_array - an array of integers which corresponds to the levels to use for each alternative in this scenario
Scenario designs are added in sequential order to the experimental design. The ordering is zero-based.
None
ChoiceExperiment VacationChoice
attribute Attractions
attribute_label "Attractions"
add_level 0, 0
"Beach"
add_level 1, 1
"Ski Resort"
attribute Cost
attribute_label "Trip Cost"
add_level 0, 500
"$500"
add_level 1, 750
"$750"
attribute Nights
attribute_label "Trip Length"
add_level 0, 3
"3 Nights"
add_level 1, 5
"5 Nights"
alternative "Vacation A"
set_levels_for Attractions <- [0 1]
set_levels_for Cost <- [0 1]
set_levels_for Nights <- [0 1]
alternative "Vacation B"
set_levels_for Attractions <- [0 1]
set_levels_for Cost <- [0 1]
set_levels_for Nights <- [0 1]
add_design <- [0 0 0]
add_design <- [1 1 1]
add_design <- [0 1 0]
add_design <- [1 0 1]
Go back to Choice Experiment Trait
Home | JULIE Intro | Getting Started with JULIE | JULIE References | JULIE Development | Survenity Language