A sub-population allows you to present tables and charts based on a sub-set of the individuals in your survey, such as people in a particular subgroup (e.g. females) or a logical combination of groups (e.g. credit card users aged 35-44 and living in Canada). Sub-populations can be applied to your tables and charts in the general tab of table definition.
A sub-population provides one way to apply a "filter" to the data you wish to present, based upon the answers given by individuals to the questions in your survey. Filtering can also be applied by changing the universe on the table or chart. The universe also allows you to vary the base for your table, and offers a pre-defined set of eligibility criteria to select from (e.g. all answering). You may also apply any existing sub-population as your universe selection, which effectively allows you to filter your table by two sub-populations at the same time. Respondents must meet both criteria to be included (i.e. they are logically and-ed).
A universe can also be used to apply a sub-population, so that you can have two sub-population filters applied to the table. If doing so, it must first be created using one of the sub-population creation methods described on this page.
Unless you explicitly apply a different sub-population, Askia will set the sub-population to show All interviews in any table or chart you create.
In this topic:
To apply an existing sub-population to a table definition:
sub-population list, select the sub-population you want to apply (if only all interviews is present, then you have no sub-populations currently defined: click ► to begin defining a sub-population).The full dialog allows you to define sub-populations using logical combinations to any level of complexity, as well as allowing you to amend or delete existing sub-population definitions. Each of the following allows you to call up the sub-population dialog:
From the tools menu, select sub population.
When defining a table, from the general tab click the extended menu icon ► next to the sub-population list.
When defining a table, from the general tab click the extended menu icon ► next to the universe list.
AND).OR.The context (right-click) menu gives you access to the following features:
When defining a new sub-population, complete or select details for the sub-population as follows:
| OPTION | DESCRIPTION |
|---|---|
|
Name |
A label for the sub-population that will be visible in your tables. If you do not edit the name, it will be in the format Shortcut - ResponseCaption. |
| Description |
An optional description of the sub-population. |
| Mode |
The mode which you will use to define the sub-population, which may be:
See below for details of the two modes. |
| Set as default | This checkbox option allows you to apply a selected sub-population automatically whenever AskiaAnalyse is opened, rather than All interviews, which is the initial default setting. You may override the default you set by applying a different sub-population to any individual table. |
By default, the definition mode selected will be GUI. This mode allows you to define simple conditions by drag-and-drop or by clicking on the desired options from a pop-up list.
GUI mode allows you to combine up to four conditions.
To define a condition in GUI mode:
... next to a condition's box to define that condition. The directory tree for your questionnaire appears.Select the question, then the item (or items) to which your condition applies.
Click
to save your condition.
Click OK to close the sub-population window.
You can also simply drag and drop questions or responses from the left-hand pane into the sub-population list in GIUI mode.
In advanced mode, you can combine as many conditions as you want by using AskiaScript.
To define a condition in advanced mode:
Drag the questions or items to which you will apply a condition into the condition window or write script to define your condition.
Click
to save your condition.
Click OK to close the sub-population window.
See also:
You may also create a sub-population based on individual responses of an existing variable by using the context menu option Create a sub-population for each response which is available by right-clicking in either the questionnaire panel or the response distribution panel. Right click on the question in the questionnaire panel to build sub-populations for every response option to the question, or alternatively, right click on one or more response options to create sub-populations selectively.
To define one sub-population for each response option to a question:
Create a sub-population for each response.To define sub-populations selectively:
Create a sub-population for each response from the context menu.