Skip to content

add_level

mmaness edited this page Nov 15, 2011 · 2 revisions

A choice experiment trait (second-order) which add levels to an attribute.

Format

add_level index, value
  text_block
add_level index value
  text_block
  • index - an integer index which represents the level
  • value - a value which corresponds to level, not shown to the respondent, possible used for data purposes
  • text_block - one or more strings which are shown when this level is to be shown in an experiment

Detailed Description

Trait Options

None

Can Be Used With:

Example

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"

Related Pages


Go back to Choice Experiment Trait

Home | JULIE Intro | Getting Started with JULIE | JULIE References | JULIE Development | Survenity Language