design and analyses sensory

Upload: ingrid-waspodo

Post on 03-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Design and Analyses Sensory

    1/24

    Design

    Analysis

    Application

    Design and Analysis of Sensory Informed

    Incomplete Block Designs

    Ryan Browne1, Paul McNicholas1,

    John Castura2, Chris Findlay2

    1 University of Guelph, Guelph, Ontario, Canada

    2 Compusense, Guelph, Ontario, Canada

    July 12, 2012

    Ryan Browne Design and Analysis of Incomplete Block Designs

    http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    2/24

    Design

    Analysis

    Application

    Incomplete Block Design

    Observe a persons response to 12 different products

    (randomized block design)

    However for wine and other alcohol beverages products itis difficult to obtain an individual response to several

    products because of intoxication, carry-over, adaption and

    fatigue.

    To compensate use balanced incomplete block designs.

    The goal is to determine if there is any clusters or grouping

    within the data.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    3/24

    Design

    Analysis

    Application

    Sensory-Informed Design: Bread Study

    Sensory Profile

    10-13 trained panelists

    Each panelists evaluates the 12 different Bread products

    on 42 attributes.

    Attributes for crumb

    SpringinessFirmness

    MoistnessChewinessParticles

    Ryan Browne Design and Analysis of Incomplete Block Designs

    http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    4/24

    Design

    Analysis

    Application

    Products in the Sensory Space

    2

    3

    4

    5

    6

    7

    8

    9

    1

    -2 -1 0 1 2

    -2

    -1

    0

    1

    2

    Ryan Browne Design and Analysis of Incomplete Block Designs

    http://goforward/http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    5/24

    Design

    Analysis

    Application

    Mixture Modelling

    To find segments in the data, we assume the liking scores

    arise from a Gaussian mixture

    Y

    Gg=1

    gf(y|g,g)

    If we had a complete-block design we would just apply

    standard methodology to this problem.

    The literature commonly suggests imputation or some

    variation thereof, for incomplete blocks.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    D i

    http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    6/24

    Design

    Analysis

    Application

    Imputation using the Average

    -5 0 5

    -5

    0

    5

    x2

    x1

    Ryan Browne Design and Analysis of Incomplete Block Designs

    D i

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    7/24

    Design

    Analysis

    Application

    Missing Data

    However, it is possible to estimate a covariance matrix

    when some data are missing.

    We can do this via the expectation-maximization (EM)

    algorithm.

    This approach is particularly useful when the covariance

    matrix has a special structure.

    And even more so when

    g =

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    8/24

    Design

    Analysis

    Application

    Covariance Structures

    Mclust models - (Mclust in R)

    g = gDgAgDTg

    Factor Analyzers - (pgmm package in R)

    g = gTg +g

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    9/24

    Design

    Analysis

    Application

    Conditional Distribution of Missing Data

    To use EM algorithm we need to calculate the sufficient

    statistics for the missing data.

    X1|X2 = x2

    MVN(1+121

    22 (x2 2) ,11121

    22 21)

    However, we have to calculate the expected sufficient

    statistics for the missing data in each row.

    This amounts to m choose k different matrix inverses.

    For the bread data 12 choose 6 =920 matrix inverses.

    Complete E-steps are not computationally feasible.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    10/24

    Design

    Analysis

    Application

    Incremental E-step or E-Step by column

    If start with the missing data xi = (xi1, xi2, NA, NA) and fillin the missing data with randomly generated observations.

    For for a particular row we say xi = (xi1, xi2, xi3, xi4). So,now we have a complete dataset.

    Go by column and update each estimated observation viaxi,j = j+j,j

    1j,j

    xi,j j

    e.g.

    x3 = 3 +3,313,3 (x3 3)

    where x3 = (xi1, xi2, xi4)

    If we perform this iteratively then

    (x3, x4) (3,4) +(3,4),(1,2)1(1,2),(1,2)

    x(1,2) (1,2)Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    11/24

    Design

    Analysis

    Application

    EM by column

    If we have the inverse matrix of

    =

    1,1 1,11,1 1,1

    and 1 = =

    1,1 1,11,1 1,1

    1

    1,11,1 = j,j

    1j,j

    This result is possible due to a relationship between the

    Matrix Inverse and Schur Complement of a matrixWe now have an incremental E-step for the 1st moment.

    We can obtain a similar result for the 2nd moment.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    12/24

    Design

    Analysis

    Application

    EM

    From Neal and Hinton (1998) the EM can be viewed as

    minimizing

    F(Nz,xi, ) = logL(xi|)DKL (Nz||Nz.xi)

    E-step can be viewed as minimizing the Kullback-Leibler

    (KL) divergence between the missing data distribution and

    the conditional distribution of the missing data given theobserved data.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignI i

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    13/24

    g

    Analysis

    Application

    Iris

    Bread

    Application

    Iris Dataset.

    Bread Dataset.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignIris

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    14/24

    g

    Analysis

    Application

    Iris

    Bread

    Iris Dataset

    One of the most famous data sets in statistics.

    Four measurements on three types of flowers.

    We standardized the data and for each observation we

    randomly removed two measurements.

    SepalLength Sepal.Width Petal.Length Petal.Width

    1.34 1.311.14 1.34

    0.33 1.31

    1.50 0.011.34 1.31

    0.54 1.05...

    ......

    ...

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignIris

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    15/24

    Analysis

    Application

    Iris

    Bread

    Original Iris Dataset

    Sepal.Length

    -2 -1 0 1 2 3 -1.5 -0.5 0.5 1.5

    -2

    -1

    0

    1

    2

    -2

    0

    1

    2

    3

    Sepal.Width

    Petal.Length

    -1.

    5

    0.

    0

    1.

    0

    -2 -1 0 1 2

    -1.

    5

    -0.

    5

    0.

    5

    1.

    5

    -1.5 -0.5 0.5 1.5

    Petal.Width

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignIris

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    16/24

    Analysis

    Application

    Iris

    Bread

    Incomplete Iris Data

    Sepal.Length

    -2 -1 0 1 2 -1.5 -0.5 0.5 1.5

    -1

    0

    1

    2

    -2

    0

    1

    2

    Sepal.Width

    Petal.Length

    -1.

    5

    -0.

    5

    0.

    5

    1.

    5

    -1 0 1 2

    -1.

    5

    -0.

    5

    0.

    5

    1.

    5

    -1.5 -0.5 0.5 1.5

    Petal.Width

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    A l iIris

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    17/24

    Analysis

    Application

    Iris

    Bread

    Incomplete Iris Data with Imputed Values

    epal.Lengt

    -2 -1 0 1 2 -1.5 -0.5 0.5 1.5

    -1

    0

    1

    2

    -2

    -1

    0

    1

    2

    Sepal.Width

    Petal.Length

    -1.

    5

    0.

    0

    1.

    0

    -1 0 1 2

    -1.

    5

    0.

    0

    1.

    0

    -1.5 -0.5 0.5 1.5

    Petal.Width

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    A l iIris

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    18/24

    Analysis

    ApplicationBread

    Comparison - Imputed Incomplete and Original Data

    -1 0 1 2

    -2

    0

    1

    2

    Incomplete Data

    Sepal.Length

    Sepal.Width

    -2 -1 0 1 2

    -2

    0

    2

    Original Data

    Sepal.Length

    Sepal.Width

    -1 0 1 2

    -1.

    5

    0.

    0

    1.

    5

    Incomplete Data

    Sepal.Length

    Petal.Length

    -2 -1 0 1 2

    -1.

    5

    0.

    0

    1.

    5

    Original Data

    Sepal.Length

    Petal.Length

    -1 0 1 2

    -1.

    5

    0.

    0

    1.

    5

    Incomplete Data

    Sepal.Length

    Petal.Width

    -2 -1 0 1 2

    -1.

    5

    0.

    0

    1.

    5

    Original Data

    Sepal.Length

    Petal.Width

    -2 -1 0 1 2

    -1.

    5

    0.

    0

    1.

    5

    Incomplete Data

    Sepal.Width

    Petal.Length

    -2 -1 0 1 2 3

    -1.

    5

    0.

    0

    1.

    5

    Original Data

    Sepal.Width

    Petal.Length

    -2 -1 0 1 2

    -1.

    5

    0.

    0

    1.

    5

    Incomplete Data

    Sepal.Width

    Petal.Width

    -2 -1 0 1 2 3

    -1.

    5

    0.

    0

    1.

    5

    Original Data

    Sepal.Width

    Petal.Width

    -1.5 -0.5 0.0 0.5 1.0 1.5

    -1.

    5

    0.

    0

    1.

    5

    Incomplete Data

    Petal.Length

    Petal.Width

    -1.5 -0.5 0.0 0.5 1.0 1.5

    -1.

    5

    0.

    0

    1.

    5

    Original Data

    Petal.Length

    Petal.Width

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    AnalysisIris

    http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    19/24

    Analysis

    ApplicationBread

    Comparison of the Latent Space - Iris Data

    -10 -5 0 5 10 15 20

    -4

    -2

    0

    2

    4

    Complete Data

    factor 1

    factor2

    -10 -5 0 5 10 15 20

    -4

    -2

    0

    2

    4

    Incomplete Data

    factor 1

    factor2

    Ryan Browne Design and Analysis of Incomplete Block Designs

    Design

    AnalysisIris

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    20/24

    Analysis

    ApplicationBread

    Clustering Comparision

    Comparison of clustering results from using the incomplete iris

    data and the iris data.

    1 2 3

    1 50 0 0

    2 0 47 0

    3 0 3 50

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignAnalysis

    Iris

    http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    21/24

    Analysis

    ApplicationBread

    Data

    420 consumers.

    12 white breads.

    Each individual evaluated 6 breads within a sensoryinformed incomplete block design.

    Present-3 and present-4 designs were nested within the

    present-6 design.

    Six groups and two factors were chosen using theBayesian Information Criterion (BIC).

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignAnalysis

    Iris

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    22/24

    Analysis

    ApplicationBread

    Latent Space - Bread Liking Scores

    -16 -14 -12 -10 -8 -6

    2

    4

    6

    8

    10

    12

    12 present 3

    factor 1

    factor2

    -16 -14 -12 -10 -8 -6

    2

    4

    6

    8

    10

    12

    12 present 4

    factor 1

    factor2

    -14 -12 -10 -8 -6 -4

    0

    2

    4

    6

    8

    10

    12 present 6

    factor 1

    factor2

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignAnalysis

    Iris

    B d

    http://find/
  • 7/28/2019 Design and Analyses Sensory

    23/24

    Analysis

    ApplicationBread

    Conclusions

    We can find MLEs using incremental EM.

    We can obtain a reasonable estimate of the latent space

    using only incomplete data.

    This methodology can be used for imputation.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    DesignAnalysis

    Iris

    B d

    http://find/http://goback/
  • 7/28/2019 Design and Analyses Sensory

    24/24

    y

    ApplicationBread

    The end

    Thank you.

    Ryan Browne Design and Analysis of Incomplete Block Designs

    http://find/