Logo Help Center
Chat with us
Open a ticket
Sign in
  1. aytm Help Center
  2. Knowledge Base
  3. Advanced Analysis

Articles in this section

  • Ratings-Based TURF
  • Correlation Finder
  • Data Lab
  • Virtual Questions
  • Banner Tables
  • Concept Lab
  • Storytelling Notes
  • Personality Radar
  • Virtual Questions: Single Choice/Multiple Choices
  • Virtual Questions: Matrix Single Choice
See more

Virtual Questions: How to make a custom age range

When you create a Virtual Question, one of the Optional Presets available is the variable age_range. This preset automatically calls up logic for the pre-programmed age ranges of your survey: 13-17, 18-24, 25-34, 35-44, 45-54, 55-64, 65-74, and 75+. 
Note: For surveys fielded before October 30, 2023, 65-74 and 75+ will still be consolidated into the pre-release state of 65+.

 

There are two ways to adjust these ranges to fit your needs.

 

Combining preset age ranges

To combine several preset age ranges, you can use the operator or; e.g. age_range = '13-17' or age_range = '18-24'.

  1. With Age Range selected, click the second drop-down in an answer row, and check the box next to the desired age range(s).
  2. Alternatively, hover over an answer option and click switch to advanced mode.
  3. Add the operator OR and select from the autocomplete logic age ranges.
  4. Repeat this logic in each answer option, as appropriate, with the adjusted ages.
  5. Click the X to the right of any duplicate groups.

Note: these ranges cannot be directly modified to capture a custom group of ages. See next section.

2023-10-30_10-18-30.gif

 


 

Creating custom age ranges

If you would like to set up your own custom age groupings, you must convert the logic to call up the ages within mathematical operators using the variable age, which captures the exact age of a respondent. For example: age = 18 would capture all respondents who are exactly 18; age < 30 would capture all respondents under the age of 30; age >= 50 would capture all respondents age 50 or older.

  1. With Age Range selected, hover over an answer option and click switch to advanced mode.
  2. Replace the logic with age >= # and age <= # (where the # are your minimum and maximum ages for your custom age range).
  3. Repeat this logic in each answer option, as appropriate, with the adjusted ages.
2023-10-27_11-38-41.gif
  • Facebook
  • Twitter
  • LinkedIn
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Return to top
  • Our platform
  • Solutions
  • Pricing
  • Our panels
  • Help center
  • Contact us
  • Blog
  • Privacy
  • TOU
  • About
  • Careers
  • Innovation lab
  • Demo
© 2022, Umongous, Inc. All rights reserved.

zendesk theme design by aytm c/o diziana