Skip to main content
Loading...
Skip to article
  • Qualtrics Platform
    Qualtrics Platform
  • Customer Journey Optimizer
    Customer Journey Optimizer
  • XM Discover
    XM Discover
  • Qualtrics Social Connect
    Qualtrics Social Connect

Variable Settings


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


About Variable Settings

The Variable Settings menu allows you to manage details of the variables in your dataset, including changing the variable name, recoding the variable values, and hiding variables from your workspace. Here are some examples of when you might need this functionality:

Example: You have a question where you ask if respondents are members of group 1, 2, or 3. Stats iQ thinks this is a numeric variable, and when analyzing it, finds values such as average, max, and min. But these groups are truly categories, and should be treated as if they were called Group A, B, or C, or red team, blue team, and green team. In this case, it helps to go to variable settings to change the variable type.
Example: You have respondents select from a series of income ranges. You notice in Stats iQ that these ranges aren’t listed from lowest to highest; you could use the variable settings to reorder these ranges.
Example: One of your questions has a “Not Applicable” option respondents can choose if the question doesn’t apply to them. If desired, you can exclude these values from analysis.

To access the variable settings, click the Settings icon in the upper-right corner of the workspace and select Variable Settings.
image of the gear icon in the top right hand corner of the Stats iQ workspace used to access variable settings

Qtip: If you would like to know more about analysis settings instead, visit the Analysis Settings page.

Renaming Variables

The Name column in the Variable Settings menu displays the current name of each variable in the dataset. Click a variable name to edit it. Type the new name and press Enter on your keyboard to save the new name. This will change the variable’s name in Stats iQ but not in the rest of Qualtrics.
the name column of the variable settings window.

Qtip: You can speed up the process of renaming variables by clicking Tab to easily switch from one to the next.

Use the search bar at the top of the window to search for variables in your dataset. the search bar at the top of the variable settings window

Changing Variable Types

The Type column in the Variable Settings menu indicates each variable’s current type. Stats iQ will automatically determine which variable type should be assigned to each variable in the dataset, but you may encounter a situation where you need to manually change the variable type for a particular variable. Clicking the dropdown in this column allows you to select the variable type for a given variable.
the type dropdown for changing the variable's type

A list of variable types can be found on the Stats iQ Overview page.

Disallowed Variable Type Changes

Some variable types can’t be changed. See the below list on what changes are not allowed.

Editing & Recoding Variables

Stats iQ allows you to assign backend numbers to your data for performing statistical analysis and to exclude certain values from your analyses. The backend numbers for your data are called recode values. To change your recode values for a given variable, click Edit in the Settings column.
the edit button in the settings tab for accessing the recode editor

While the recode values in Stats iQ are separate from the recode values in the survey editor, they function the same. When the Stats iQ dataset is first generated, your variables will initially inherit their recode values from the survey editor. Once the Stats iQ dataset is generated, the recode values in the survey editor and the recode values in Stats iQ are separate from each other, and can be edited independent of each other.

Qtip: Any changes made to your recode values in Stats iQ will not affect your recode values in other areas of the Qualtrics platform.
Qtip: Only categories and checkboxes can be recoded. For variables that can’t be recoded, try creating a custom variable instead.

Recoding Categories Variables

You can recode categories variables so that your categories have a number associated with them. You can then use these numbers in your statistical analyses.
the recode editor for a category variable

  1. Enter the desired recode value in the box. You can use any number (including zero, negative numbers, and decimals) as a recode value.
  2. Click and drag the dots next to a value to reorder it in the list
  3. If desired, enable Use the recode values above to run numeric calculations for this variable so Stats iQ can use these values in analyses. We usually recommend enabling this option if you’re using recode values for categories variables.
    Qtip: This option is used when your categories belong in a certain order. For example, when asking respondents to pick an answer from “Extremely Dissatisfied” to “Extremely Satisfied” we can assign recode values to these categories in a chronological order from 1 to 5. This will make your statistical analyses for this variable more powerful and easier to interpret.

Recoding Checkboxes Variables

You can’t recode checkboxes variables directly. However, you can recode each value (i.e. answer choice) of your checkbox variable.

Example: In this example, we have a checkbox variable with three values. The edit button is available for each value that makes up the checkbox variable, but not for the variable itself.
the variable settings page showing a checkbox variable

the recode editor for a checkbox variable

  1. Each answer choice will have two values available to be recoded: if the respondent did select that answer choice, or if the respondent did not select the answer choice. You can use any number (including zero, negative numbers, and decimals) as a recode value. Typically, these are coded as follows:
    • Didn’t select recodes to 0
    • Selected recodes to 1
  2. If desired, click the Use the recode values above to run numeric calculations for this variable so Stats iQ can use these values in analyses.
    Qtip: Use this option to use the recode values in your analyses. For example, let’s say you have a question asking respondents to select all of their preferred foods from a list. After recoding your values following the standards above, you can then run an analysis to see if there’s any statistical relationships for selecting or not selecting certain food items together.

Editing Custom Variables

If you’ve created a custom variable, you can edit the rules of your variable by clicking Edit next to the variable.

For more information on creating custom variables, see Stats iQ Variable Creation.

Exclude from Analysis

When recoding your variables, there’s an option to mark a value as “Exclude from Analysis”. What this means is that the value will not be used in any calculations in Stats iQ. This option is usually used for values such as “not applicable” or “other”.

When you build your survey, you have the option to mark certain answer choices as excluded. If you do this before generating your Stats iQ dataset, those same fields will automatically be marked as excluded from analysis in Stats iQ.

Qtip: Marking a field as “Exclude from Analysis” in Stats iQ will affect the field in both Stats iQ and Crosstabs. However, the field will be unaffected in other areas of the platform, such as in your raw data and in your reports.

You can mark values as “Exclude from Analysis” for the following variable types:

  • Categories
  • Numbers
  • Checkboxes
    Qtip: For checkboxes, you cannot mark the entire variable as “Exclude from Analysis,” but you can mark individual values as excluded. See the above section on recoding checkbox variables for more information.

Hiding & Removing Variables

The Variable Settings window allows you to hide variables from your workspace and remove them from your dataset entirely.
the eye icon and x icon for hiding and deleting fields respectively

  1. Click the eye icon next to a variable to hide it from your workspace. This is useful for fields not typically used in statistical analysis, such as IP Address.
    Qtip: You can’t run analyses on hidden variables. However, analyses you’ve already run on the variable will still be visible in your workspace.
  2. Click the X icon next to a field to delete it.
    Qtip: You can only delete custom variables. Once deleted, custom variables are irretrievable! Any analyses dependent on deleted custom variables will no longer be valid once the field is deleted.

Using Top Box in Stats iQ

Top Box represents the percentage of respondents who fit into the highest ends of a question or variable’s scale. Creating a Top Box for your data can make your results stand out more intuitively. In other words, it’s generally more intuitive to think, “40% of people gave a really good answer!” than “the average was 3.8.” Stats iQ allows you to create a Bucketing setting directly on your variable card, which allows you to create a Top Box for your statistical analysis. This can be particularly helpful when interpreting your results, because it will break down your variable into a form that’s easily digestible and is commonly used in certain fields, like in Employee Experience research.

Attention: This feature allows you to create a Bucketing setting directly on the variable. If you would like to bucket a new variable, see Stats iQ Variable Creation.
Example: In some situations, like in Market Research, the only thing that matters is getting a Top Box measurement. It’s unlikely that someone responding with a 3 on a 1-to-5 satisfaction survey will buy a product, so it’s not meaningfully different from a 1 on that scale. In this case, Top Box allows you to collapse your data for easier analysis.
  1. Select the variable you would like to create a Top Box for.The steps to apply bucketing are numbered in Stats iQ; first, the Satisfaction variable is selected, then Describe is clicked, and finally, Bucketing is selected on the card.
  2. Click Describe.
  3. In your variable settings, click Bucketing.
  4. Create your Top and Bottom Box buckets by dragging and dropping the suggested Source Values.Variable Settings window showing the Top and Bottom Boxes
  5. Click Save.

Using Top Box to Relate Two Variables

After Bucketing to apply Top Box to your variable, you can use Relate to analyze and compare the Top Box results between two variables.

  1. Select the variable you would like to relate back to your key variable.Relating the Satisfaction and Children Present variables
  2. Click Relate.
  3. View your Top Box / Bottom Box results in the table that appears.Relating the two variables, Satisfaction and Children Present, with the Top and Bottom Boxes shown on the Variable card
Attention: Once something is bucketed, it will continue to behave as a categorical variable throughout any other analyses that are done in Stats iQ.

FAQs