Creates a graphical summary of temporal dominance of sensations (TDS) data.
EyeOpenR has a specific temporal data format
that should be adhered to
Panelist Product Session Replica Sequence Intensity Multiple Attribute Start Stop J3 P1 1 1 1 Before B10 0 3 J3 P1 1 1 1 Before B8 3 5 J3 P1 1 1 1 Before B6 5 6 J3 P1 1 1 1 Before B4 6 17 J3 P1 1 1 1 Before B5 17 28 J3 P1 1 2 1 Before B6 0 1 J3 P1 1 2 1 Before B8 1 3 J3 P1 1 2 1 Before B10 3 5
The table shows the first 8 data rows from the example data set, the first 5 columns, panellist, product, session, replicate, and sequence are used to represent the experimental design used in the study. The ‘Intensity’ column is not needed for TDS data and can either be empty or should contain a value of 1 in every cell. If the study design incorporates different occasions or conditions in which products are evaluated, then the ‘Multiple’ column is used to tell EyeOpenR which product evaluations belong to the same condition. Each condition is analysed separately - for the example data set there are both ‘Before’ and ‘After’ conditions. The final three columns represent the times at which each attribute is the dominant sensation during each product evaluation. A value of zero in the Start column indicates the start of a product evaluation, so for example judge J3, product P1 session 1, and replicate 1, the attribute B10 is initially dominant between zero and 3 seconds, and this product evaluation ends with attribute B5 being dominant between 17 and 28 seconds.
The ’attribute’ tab of the Excel lists the attributes that are used in each condition and has the following format (an illustrative sample of 6 data rows are shown):
attribute |
datatype |
min |
Max |
display |
multi |
B1 |
TDS |
|
|
desc1 |
Before |
B2 |
TDS |
|
|
desc2 |
Before |
B3 |
TDS |
|
|
desc3 |
Before |
A1 |
TDS |
|
|
attr1 |
After |
A2 |
TDS |
|
|
attr2 |
After |
A3 |
TDS |
|
|
attr3 |
After |
Note that datatype should be specified as ‘TDS’ and that a column called ‘multi’ is used to represent the different conditions in the experimental design. The values in the ‘attribute’ and ‘multiple’ columns should be consistent between the two excel tables.
EyeOpenR produces two types of bandplot. The first type of bandplot is a statistical summary of the data, with one plot for each product that shows the times at which each attribute is significant. There are several data transformations that need to be carried out to produce the chart, starting with a conversion of the TDS data from the start/stop format to a binary format as follows. For each 1 second interval, a value of 1 is recorded whenever an attribute is dominant, and a value of 0 is recorded elsewhere. For each product and each attribute, and at each 1 second interval, the 1s and 0s from all judges and replicates are averaged to give the proportion of product evaluations for which dominance was recorded. The result is a curve for each attribute and each product showing how the proportion varies with time. If one of the smoothing options has been selected, the proportions are further processed by applying a weighted moving average algorithm, where the window size is proportional to the degree of smoothing. The window size (n) is as follows:
Smoothing n(sec)
Extra low 3
Low 7
Medium 11
High 15
For each curve the software then decides at
which time points, the proportion is significantly higher than is expected by
chance. The chance level is simply 1/p
where p is the total number of attributes, since a judge who is randomly moving
between p attributes, has a probability of selection of 1/p for each one. The time points where each attribute is
contributing significantly are chosen by performing a 1-sample proportion test
(Z-test) to decide where the height of the curve exceeds 1/p with an alpha
level set by the “Level filter” option. A
band plot is then used to visualize, for each product, the periods where each
attribute is a significant contributor.
Blocks of colour, coded by attribute, show the important periods for
each attribute as can be seen from the chart below.
The second type of plot is the individual
bandplot which shows the raw data in the start/stop format. A chart summarises a single product and
contains a separate band for each judge and each replicate. There is a different block of colour for each
period during which an attribute is dominant, and to interpret the plot the
user should refer to the separate legend to see which colours are associated
with which attributes. An example
individual bandplot is shown below.
· The R functions used for analysis were all developed in house at Qi Statistics.