Display top box scores

Top box and bottom box scores are summary statistics that represent the sum of frequencies for multiple values.

Stacked horizontal bar chart displaying Q13 survey responses comparing Product B device ratings across five features (Dose counter, Wastage, Ease of daily use, Ease of packet and priming, Size). Each bar shows three segments: Bottom 2 Box in blue (46.0%-74.0%), Middle 3 Box in light blue (25.0%-53.0%), and Top 2 Box in green (24.0%-54.0%).

Often times top box scores are used in scale questions like the one below to summarize values into broader categories while still being able to view the entire distribution. 

Tree view display of Q13 survey data showing 'Ease of daily use' expanded to reveal all seven response categories: -3 Significantly worse (1.0%), -2 (0.0%), -1 (8.0%), 0 Same (34.0%), +1 (32.0%), +2 (18.0%), and +3 Significantly better (7.0%). Below shows collapsed summary boxes: Bottom 2 Box (1.0%), Middle 3 Box (74.0%), Top 2 Box (25.0%), with N=100. Three additional collapsed features are listed: Ease of packet and priming (24.0%), Size (24.0%), Wastage (47.0%), and Dose counter (54.0%).

Display top/bottom box scores

Press on an element's context menu and choose "Statistics...".

Modal dialog titled 'Select summary statistics' with a question mark help icon, displaying checkboxes for various statistics. The 'Basis' checkbox is checked, while Distribution, Unweighted basis, Mean, Median, Sum, Min, Max, Count distinct, Standard deviation, and Standard error are unchecked. Three custom boxes are checked and configured: 'Box 1' set to [1,2], 'Box 2' set to [3,4,5], and 'Box 3' set to [6,7]. Box 4 is unchecked with placeholder text 'e.g. 1 or [1,2]'. At bottom, 'Apply recursively to all children?' is checked. Cancel and Ok buttons appear at the bottom.

At the bottom of the summary statistics dialog there are empty boxes where you can define box scores. 

Although Q13 is using a 7 point scale ranging from -3 to +3, the underlying values are actually 1 to 7. When adding box scores you will need to reference the underlying values.

We can view Q13 values by choosing "Format..." from the context menu:

Modal dialog titled 'Edit format: Q13' showing a data table with seven rows representing scale values 1-7. The Value column shows numeric values, Format column displays labels: '-3 Significantly worse', '-2', '-1', '0 Same', '+1', '+2', '+3 Significantly better'. Additional columns for Mean, Sort as, Sort last, Hide, and Remove are visible with checkboxes and x buttons. Two checkboxes at bottom are checked: 'Group unformatted values into [other]' and 'Apply recursively to all children?'. A blue 'Clear all formats' link appears below. Cancel and Ok buttons are at top right.

Label box scores

To specify a label for box score summary statistics, put a colon after the value array and type in the label. If a label is not specified, then Protobi uses the values' format as a default. 

Simple dialog box displaying four checkbox options for summary box configuration. Three boxes are checked with blue checkmarks and labeled: 'Box 1' with '[1,2]: Bottom 2 Box', 'Box 2' with '[3,4,5]: M2B', and 'Box 3' with '[6,7]: Top 2'. The fourth option 'Box 4' is unchecked with placeholder text 'e.g. 1 or [1,2]'. Gray Cancel and blue Ok buttons appear at the bottom right.

Display box scores as the bars in a chart

When displaying a group of scale questions as a Print Layout chart (beta), there is the option to hide the individual values and show only the box score percentages.

Horizontal stacked bar chart for Q13 displaying detailed 7-point scale responses across five features: Ease of daily use, Ease of packet and priming, Size, Wastage, and Dose counter. Each bar shows seven color-coded segments from dark blue (-3 Significantly worse) through gray (0 Same) to dark green (+3 Significantly better), with percentages ranging from 7.0% to 35.0%. The right side shows three summary columns: Bottom 2 Box (0.0%-8.0%), Middle 3 Box (19.0%-74.0%), Top 2 Box (7.0%-26.0%), and N (all 100).

On the bottom right corner of the "Chart type..." dialog, choose to edit additional options. You can also use the keyboard shortcut: SHIFT + E + P. 

From the additional chart options dialog press to select "coalesceBars". A green checkmark indicates an option is selected.

Modal dialog titled 'Edit chart options: Q13: Q13' displaying a scrollable list of chart configuration parameters. Key visible settings include height set to 345, barmode set to 'stack', multiple checkboxes with green checkmarks (showOverall, showSubtitles, coalesceRBars, legendLabelColors, showLegendSymbols, coalesceSortLast), numeric values for legendSymbolHeight (20), legendLabelsHeight (50), columnWidth (110.75, marked with red error indicator), and width (921). Expandable sections for 'margin' and 'legend' are shown collapsed with plus icons. Cancel, Ok, Chart type, and Reset buttons appear at the bottom.

After selecting this option, the box scores that you have specified in statistics will be displayed as the bars. The distribution will not be shown. 

<img src="/uploads/upload/image/5200/direct/1598379991661-1598379991661.png" alt="Stacked horizontal bar chart displaying Q13 survey responses comparing Product B device ratings across five features (Dose counter, Wastage, Ease of daily use, Ease of packet and priming, Size). Each bar shows three segments: Bottom 2 Box in blue (46.0%-74.0%), Middle 3 Box in light blue (25.0%-53.0%), and Top 2 Box in green (24.0%-54.0%)." style="box-sizing: border-box; border: 0px; max-width: calc(100% - 10px); cursor: pointer; padding: 0px 1px; color: rgb(56, 76, 96); font-family: "Open Sans", Helvetica, "Lucida Grande", sans-serif; font-size: 18px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; width: 623px;" class="fr-fic fr-dib">