Outline. The ordinal package: Analyzing ordinal data. Ordinal scales are commonly used (attribute rating or liking) Ordinal data the wine data

Similar documents
A Tutorial on fitting Cumulative Link Models with the ordinal Package

Christine Borgen Linander 1,, Rune Haubo Bojesen Christensen 1, Rebecca Evans 2, Graham Cleaver 2, Per Bruun Brockhoff 1. University of Denmark

Main purposes of sensr. The sensr package: Difference and similarity testing. Main functions in sensr

Cumulative Link Models for Ordinal Regression with the R Package ordinal

R-companion to: Estimation of the Thurstonian model for the 2-AC protocol

Models for Replicated Discrimination Tests: A Synthesis of Latent Class Mixture Models and Generalized Linear Mixed Models

Advances in Sensory Discrimination Testing: Thurstonian-Derived Models, Covariates, and Consumer Relevance

Analysis of sensory ratings data with cumulative link models

Threshold models with fixed and random effects for ordered categorical data

Data-analysis and Retrieval Ordinal Classification

Outline of GLMs. Definitions

STA 4504/5503 Sample Exam 1 Spring 2011 Categorical Data Analysis. 1. Indicate whether each of the following is true (T) or false (F).

Review of Multinomial Distribution If n trials are performed: in each trial there are J > 2 possible outcomes (categories) Multicategory Logit Models

Class Notes: Week 8. Probit versus Logit Link Functions and Count Data

McGill University. Faculty of Science. Department of Mathematics and Statistics. Statistics Part A Comprehensive Exam Methodology Paper

Linear Regression Model. Badr Missaoui

Model Estimation Example

Mixed Models for Longitudinal Ordinal and Nominal Outcomes

STA 4504/5503 Sample Exam 1 Spring 2011 Categorical Data Analysis. 1. Indicate whether each of the following is true (T) or false (F).

UNIVERSITY OF TORONTO Faculty of Arts and Science

Standard Errors & Confidence Intervals. N(0, I( β) 1 ), I( β) = [ 2 l(β, φ; y) β i β β= β j

SCHOOL OF MATHEMATICS AND STATISTICS. Linear and Generalised Linear Models

8 Nominal and Ordinal Logistic Regression

Mixed models in R using the lme4 package Part 7: Generalized linear mixed models

ST3241 Categorical Data Analysis I Multicategory Logit Models. Logit Models For Nominal Responses

Single-level Models for Binary Responses

Ø Set of mutually exclusive categories. Ø Classify or categorize subject. Ø No meaningful order to categorization.

Overdispersion Workshop in generalized linear models Uppsala, June 11-12, Outline. Overdispersion

On the Triangle Test with Replications

LOGISTIC REGRESSION Joseph M. Hilbe

MAXIMUM LIKELIHOOD INFERENCE IN ROBUST LINEAR MIXED-EFFECTS MODELS USING MULTIVARIATE t DISTRIBUTIONS

Fitting mixed-effects models for repeated ordinal outcomes with the NLMIXED procedure

ESP 178 Applied Research Methods. 2/23: Quantitative Analysis

Mixed models in R using the lme4 package Part 5: Generalized linear mixed models

Exam Applied Statistical Regression. Good Luck!

" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2

Mixed effects models

Sample size determination for logistic regression: A simulation study

Generalized Linear and Nonlinear Mixed-Effects Models

Mixed models in R using the lme4 package Part 5: Generalized linear mixed models

EPSY 905: Fundamentals of Multivariate Modeling Online Lecture #7

Review. Timothy Hanson. Department of Statistics, University of South Carolina. Stat 770: Categorical Data Analysis

NATIONAL UNIVERSITY OF SINGAPORE EXAMINATION. ST3241 Categorical Data Analysis. (Semester II: ) April/May, 2011 Time Allowed : 2 Hours

NATIONAL UNIVERSITY OF SINGAPORE EXAMINATION (SOLUTIONS) ST3241 Categorical Data Analysis. (Semester II: )

Goodness-of-Fit Tests for the Ordinal Response Models with Misspecified Links

Computationally Efficient Estimation of Multilevel High-Dimensional Latent Variable Models

Proportional Odds Logistic Regression. stat 557 Heike Hofmann

Matched Pair Data. Stat 557 Heike Hofmann

Lecture 14: Introduction to Poisson Regression

Modelling counts. Lecture 14: Introduction to Poisson Regression. Overview

On the Behavior of Marginal and Conditional Akaike Information Criteria in Linear Mixed Models

R in Linguistic Analysis. Wassink 2012 University of Washington Week 6

Linear Regression Models P8111

Analysis of Categorical Data. Nick Jackson University of Southern California Department of Psychology 10/11/2013

Generalized linear models

Parametric Modelling of Over-dispersed Count Data. Part III / MMath (Applied Statistics) 1

Identify the scale of measurement most appropriate for each of the following variables. (Use A = nominal, B = ordinal, C = interval, D = ratio.

Generalized Estimating Equations

Ch 6: Multicategory Logit Models

Reparametrization of COM-Poisson Regression Models with Applications in the Analysis of Experimental Count Data

Why analyze as ordinal? Mixed Models for Longitudinal Ordinal Data Don Hedeker University of Illinois at Chicago

Mixed-effects Maximum Likelihood Difference Scaling

Longitudinal Modeling with Logistic Regression

Outline. Statistical inference for linear mixed models. One-way ANOVA in matrix-vector form

9 Generalized Linear Models

Logistic & Tobit Regression

Package HGLMMM for Hierarchical Generalized Linear Models

Outline. Mixed models in R using the lme4 package Part 5: Generalized linear mixed models. Parts of LMMs carried over to GLMMs

Statistical methodology for sensory discrimination tests and its implementation in sensr

Ø Set of mutually exclusive categories. Ø Classify or categorize subject. Ø No meaningful order to categorization.

Logistic Regressions. Stat 430

MS&E 226: Small Data. Lecture 11: Maximum likelihood (v2) Ramesh Johari

On the Behavior of Marginal and Conditional Akaike Information Criteria in Linear Mixed Models

Categorical Variables and Contingency Tables: Description and Inference

STAT 526 Advanced Statistical Methodology

Classification. Chapter Introduction. 6.2 The Bayes classifier

Beyond GLM and likelihood

UNIVERSITY OF MASSACHUSETTS. Department of Mathematics and Statistics. Basic Exam - Applied Statistics. Tuesday, January 17, 2017

Data Analysis 1 LINEAR REGRESSION. Chapter 03

Investigating Models with Two or Three Categories

ANALYSING BINARY DATA IN A REPEATED MEASUREMENTS SETTING USING SAS

Categorical Data Analysis Chapter 3

Exercise 5.4 Solution

Frequency Distribution Cross-Tabulation

A Handbook of Statistical Analyses Using R. Brian S. Everitt and Torsten Hothorn

Stat 8053, Fall 2013: Multinomial Logistic Models

Lecture 3.1 Basic Logistic LDA

Using the Delta Method to Construct Confidence Intervals for Predicted Probabilities, Rates, and Discrete Changes 1

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model

WORKSHOP 3 Measuring Association

Generalized Models: Part 1

CLUe Training An Introduction to Machine Learning in R with an example from handwritten digit recognition

NELS 88. Latent Response Variable Formulation Versus Probability Curve Formulation

Regression Methods for Survey Data

Generalized linear models

Introduction to General and Generalized Linear Models

Last Lecture. Distinguish Populations from Samples. Knowing different Sampling Techniques. Distinguish Parameters from Statistics

Errata and Updates for ASM Exam MAS-I (First Edition) Sorted by Page

Errata and Updates for ASM Exam MAS-I (First Edition) Sorted by Date

Weighted Least Squares

Transcription:

Outline Outline The ordinal package: Analyzing ordinal data Per Bruun Brockhoff DTU Compute Section for Statistics Technical University of Denmark perbb@dtu.dk August 0 015 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 1 / 34 1 Income group data Soup data (Paired) Degree-of-difference data -Alternative choice Cumulative link models 3 4 Cumulative Link Mixed Models 5 Thurstonian -AC model via CLMMs c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 / 34 Ordinal scales are commonly used (attribute rating or liking) Ordinal data the wine data 5-point scales: 7-point scales: 1 3 4 5 1 3 4 5 6 7 Randall, J (1989). The analysis of sensory data by generalised linear model. Biometrical journal 7, 781-793. AND: included in ordinal pacakge. A sensory experiment: Temperature and contact between juice and skins can be controlled when crushing grapes during wine production. These factors are thought to affect the bitterness of the wine. 9-point scales: 1 3 4 5 6 7 8 9 Objective: How does perceived bitterness depend on temperature and contact? c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 3 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 4 / 34

Ordinal data the wine data Data for the bitterness of white wines Objective: How does perceived bitternes depend on temperature and contact? Table: (Randall, 1989), N=7 Variables Type Values bitterness response 1,, 3,4, 5 less more temperature predictor cold, warm contact predictor no, yes judges random 1,..., 9 Temperature and contact between juice and skins can be controlled when cruching grapes during wine production. Table: Ratings of the bitterness of some white wines. Data are adopted from Randall (1989). Judge Temperature Contact Bottle 1 3 4 5 6 7 8 9 cold no 1 1 3 3 1 1 cold no 3 3 3 1 cold yes 3 3 1 3 3 4 3 3 cold yes 4 4 3 3 3 warm no 5 4 5 3 3 3 3 warm no 6 4 3 5 3 4 3 3 warm yes 7 5 5 4 5 3 5 3 4 warm yes 8 5 4 4 3 3 4 3 4 4 Bitterness ratings: 1(least),, 3, 4, 5(most) c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 5 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 6 / 34 Income group data Soup data Ordinal data Income group data McCullagh, P. (1980) Regression Models for Ordinal Data. Journal of the Royal Statistical Society. Series B (Methodological), Vol. 4, No.., pp. 109-14. AND: included in ordinal pacakge. head(income) year pct income 1 1960 6.5 0-3 1960 8. 3-5 3 1960 11.3 5-7 4 1960 3.5 7-10 5 1960 15.6 10-1 6 1960 1.7 1-15 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 7 / 34 Ordinal data Soup data Christensen, R. H. B., Cleaver, G., & Brockhoff, P. B. (011). Statistical and Thurstonian models for the A-not A protocol with and without sureness. Food Quality and Preference,, 54-549. Industrial product development experiment - Unilever. AND: included in ordinal pacakge. A-not A with sureness scale: head(soup) Reference Not Reference Sure Not Sure Guess Guess Not Sure Sure RESP PROD PRODID SURENESS DAY SOUPTYPE SOUPFREQ COLD EASY GENDER 1 1 Ref 1 6 1 Canned >1/week Yes 7 Female 1 Test 5 1 Canned >1/week Yes 7 Female 3 1 Ref 1 5 1 Canned >1/week Yes 7 Female 4 1 Test 3 6 1 Canned >1/week Yes 7 Female 5 1 Ref 1 5 Canned >1/week Yes 7 Female 6 1 Test 6 5 Canned >1/week Yes 7 Female AGEGROUP LOCATION 1 51-65 Region 1 51-65 Region 1 c 3 Per 51-65 Bruun Region Brockhoff 1 (DTU) 4 51-65 Region 1 The ordinal package: Analyzing ordinal data DTU Sensometrics 015 8 / 34 5 51-65 Region 1

(Paired) Degree-of-difference data -Alternative choice Ordinal data (Paired) Degree-of-difference data Ordinal data The -Alternative choice test (-AC) 5 panelists 8 replications. Table: Paired degree-of-difference test, data adopted from (?) Pair Identical Uncertain Different Total Identical pair 45 40 15 100 Different pair 36 34 30 100 Christensen, R. H. B. and P. B. Brockhoff (011) Analysis of replicated categorical ratings data from sensory experiments. Journal of the French Statistical Society, SFdS, 154(3), 58-79. -Alternative Choice (-AC): Do you prefer A or B or do you not have a preference? Which is strongest, A or B, or is there no difference? Table: 08 consumers with 4 replications Condition Prefer A No-preference Prefer B Total A 60 37 119 416 B 17 38 161 416 Christensen, R. H. B., H.-S. Lee and P. B. Brockhoff (01) Estimation of the Thurstonian model for the -AC protocol. Food Quality and Preference, 4, 119-18. c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 9 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 10 / 34 -Alternative choice Cumulative link models Appropriate models for ordinal data Understanding the cumulative link model Y: 1 3 4 5 Ordinal data not continuous data A linear regression model on the scores (1,...,5)? Breach of assumptions: The scores are not normally distributed A score of 4 is not twice as much as Variance not likely to be constant Our approach: A cumulative link model (CLM) Only use information about ordering Intuitively: A linear model that respects the ordinal nature of the response β P(Y = cold) θ 1 α θ θ 3 θ 4 warm cold Latent bitterness follows a linear model: S i = α + x i β + ε i, ε i N(0, σ ) = α + β(temp i ) + ε i We only observe a grouped version of S i : θ j 1 S i < θ j Y = j P (Y i j) = F (θ j x i β) c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 11 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 1 / 34

Cumulative link models Fitting cumulative link models with clm data(wine) fm1 <- clm(rating ~ contact + temp, data=wine, link="probit") summary(fm1) formula: rating ~ contact + temp data: wine link threshold nobs loglik AIC niter max.grad cond.h probit flexible 7-85.76 183.5 5(0) 1.43e-13.e+01 Coefficients: Estimate Std. Error z value Pr(> z ) contactyes 0.868 0.67 3.5 0.0011 ** tempwarm 1.499 0.9 5.14.8e-07 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Threshold coefficients: Estimate Std. Error z value 1-0.773 0.83 -.73 3 0.736 0.50.94 3 4.045 0.3 6.35 4 5.941 0.387 7.60 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 13 / 34 Cumulative link models A cumulative link model for the wine data Additive effects for temperature and contact: P (Y i j) = Φ (θ j β 1 (temp i ) β (contact i )) Is there an interaction between temp and contact? Table: ANODE table for the wine data. Source df deviance p value Total 1 39.407 < 0.001 Treatment 3 34.606 < 0.001 Temperature, T 1 6.98 < 0.001 Contact, C 1 11.043 < 0.001 Interaction, T C 1 0.1514 0.697 Residual 9 4.801 0.8513 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 14 / 34 An extended CLM Framework Understanding structured thresholds restrictions Standard CLM: F (θ j x i β) Y: 1 3 4 5 β Extended CLM: ( g(θj ) wi F β j x i β ) Threshold effects Nominal effects exp(zi ζ) Scale effects CLMM (Mixed effects): F (θ j fixed Xβ random Zb ) P(Y = cold) warm cold The cumulative link model: P (Y i j) = F (θ j β(temp i )) θ j ordered, but otherwise not restricted Require symmetry? Require equidistance? θ 1 α θ θ 3 θ 4 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 15 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 16 / 34

Fitting models with structured thresholds Sensory applications of structured thresholds fm.equi <- clm(rating ~ contact + temp, data=wine, link="probit", threshold="equidistant") summary(fm.equi) formula: rating ~ contact + temp data: wine link threshold nobs loglik AIC niter max.grad cond.h probit equidistant 7-87.4 18.47 4(0) 1.40e-08 3.e+01 Coefficients: Estimate Std. Error z value Pr(> z ) contactyes 0.857 0.64 3.4 0.001 ** tempwarm 1.489 0.88 5.17.4e-07 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Threshold coefficients: Estimate Std. Error z value threshold.1-0.587 0.33 -.5 spacing 1.41 0.18 9.67 Symmetric thresholds for sureness scales: Reference Not Reference Sure Not Sure Guess Guess Not Sure Sure Equidistant thresholds for 7- or 9-point preference scales: 1 3 4 5 6 7 8 9 Equally spaced categories is a necessary condition for using linear models for continuous data on ordinal data. c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 17 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 18 / 34 Understanding scale effects in CLMs Thurstonian model for the A-not A with sureness protocol Y: 1 3 4 5 β Model for latent bitterness: S i = α + β 1 (temp i ) + β (contact i ) + ε i, Reference Test products products N(0, 1) N(δ, σ ) δ warm cold ε i N(0, σ (temp i )) Mccullagh, 1980, Cox, 1995, Agresti 00 ( ) θj β 1(temp γ ij = F i ) β (contact i) ζ 1(temp i ) θ 1 θ θ 3 θ 4 θ 5 Sensory intensity Reference Not Reference Product Sure Not Sure Guess Guess Not Sure Sure Reference 13 161 65 41 11 19 Test 96 99 50 57 156 650 θ 1 α θ θ 3 θ 4 Table: Discrimination of packet soup Christensen, Cleaver and Brockhoff, 011 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 19 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 0 / 34

Cumulative Link Mixed Models Including random effects in CLMs Cumulative Link Mixed Models Cumulative link mixed models β warm The cumulative link model: γ ij = F (θ j β 1 (temp i ) β (contact i )) Judges perceive wine bitterness differently Judges use the response scale differently Add random effects for judges: γ k = F (B k ψ Zv o k ) V N(0, Σ τ ) The log-likelihood function: l(ψ, τ ; y) = log p ψ (y v)p τ (v) dv R r Integration methods: Laplace approximation Tierney and Kadane, 1986, Pinheiro and Bates, 1995, Joe 008 cold γ ij = F (θ j β 1 (temp i ) β (contact i ) b(judge i )), b N(0, σ b ) Gauss-Hermite quadrature (GHQ) Hedeker and Gibbons, 1994 Adaptive Gauss-Hermite quadrature (AGQ) Liu and Pierce, 1994 θ 1 α θ θ 3 θ 4 A Newton-Raphson algorithm updates the conditional modes of the random effects (Laplace and AGQ) c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 1 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 / 34 Allowing for differences between judges ANODE for mixed effects CLM Research questions: Are judges rating the wines differently? Are there differences between bottles? Additive random effects for judges: P (Y i j) = Φ (θ j β 1 (temp i ) β (contact i ) u(judge i )) u(judge i ) N(0, σu) Additive random effects for judges and bottles: P (Y i j) = Φ (θ j β 1 (temp i ) β (contact i ) u(judge i ) b(bottle i )) u(judge i ) N(0, σu) b(bottle i ) N(0, σb ) Results: Table: ANODE table for the wine data with random effects. Source df deviance p value Total 14 45.577 < 0.001 Var(Judge) 1 9.661 < 0.001 Var(Bottle) 1 0.001 0.998 Treatment 3 34.606 < 0.001 Temperature, T 1 5.384 < 0.001 Contact, C 1 14.38 < 0.001 Interaction, T C 1 0.1086 0.7417 Bottles are probably not that different Judges do rate the wines differently c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 3 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 4 / 34

Panel inference judge effects 5 panelists 8 replications. Judge effect 3 1 0 1 3 Table: Paired degree-of-difference test, data adopted from (?) Pair Identical Uncertain Different Total Identical pair 45 40 15 100 Different pair 36 34 30 100 7 9 8 4 5 6 3 1 Judge Christensen, R. H. B. and P. B. Brockhoff (011) Analysis of replicated categorical ratings data from sensory experiments. Journal of the French Statistical Society, SFdS, 154(3), 58-79. c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 5 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 6 / 34 Thurstonian model for the A-not A with sureness protocol 5 panelists 8 replications. Table: Comparison of tests of product differences. Test χ -value df p-value Naive Pearson test 6.49 0.039 Stuart-Maxwell test (?) 3.85 0.149 LR test in CLMM 5.84 1 0.016 Reference Test products products N(0, 1) N(δ, σ ) δ θ 1 θ θ 3 θ 4 θ 5 Sensory intensity Christensen, R. H. B. and P. B. Brockhoff (011) Analysis of replicated categorical ratings data from sensory experiments. Journal of the French Statistical Society, SFdS, 154(3), 58-79. c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 6 / 34 Reference Not Reference Product Sure Not Sure Guess Guess Not Sure Sure Reference 13 161 65 41 11 19 Test 96 99 50 57 156 650 Table: Discrimination of packet soup Christensen, Cleaver nd Brockhoff, 011 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 7 / 34

Including assessor effects Inference for respondents respondent-specific d s Assumptions: Assessors do not use the response scale differently 3 Assessors do not have different d s Accommodate this with mixed model extensions: Allow normally distributed random effects for assessors P (S i θ j ) = Φ (θ j δ(prod i ) u(assessor i )) u N(0, σu) d prime (confidence interval) 1 0 Note: This is similar to assessor effects in models for sensory profiling! 1 0 50 100 150 185 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 8 / 34 Assessors c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 9 / 34 Thurstonian -AC model via CLMMs Thurstonian -AC model via CLMMs The -Alternative choice test (-AC) Thurstonian model for the -AC protocol -Alternative Choice (-AC): θ 1 θ Do you prefer A or B or do you not have a preference? Which is strongest, A or B, or is there no difference? B A ~ N(d', ) B A d' ~ N(0, 1) π 1 π π 3 π 1 π π 3 Table: 08 consumers with 4 replications τ 0 τ d' A stronger than B no difference B stronger than A τ d' 0 τ d' Condition Prefer A No-preference Prefer B Total A 60 37 119 416 B 17 38 161 416 Christensen, R. H. B., H.-S. Lee and P. B. Brockhoff (01) Estimation of the Thurstonian model for the -AC protocol. Food Quality and Preference, 4, 119-18. c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 30 / 34 The Thurstonian model for the -AC protocol can be formulated as a cumulative link model: ˆτ = (ˆθ ˆθ 1 )/ ˆδ = ( ˆθ ˆθ 1 )/ se(ˆτ) = {var(θ ) + var(θ 1 ) cov(θ, θ 1 )}/ se(ˆδ) = {var(θ ) + var(θ 1 ) + cov(θ, θ 1 )}/ c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 31 / 34

Thurstonian -AC model via CLMMs Outline Illustrating the model Outline 1.0 0.8 0.6 0.4 0. 0.0 1.0 0.8 0.6 0.4 0. 0.0 1.0 0.8 0.6 0.4 0. 0.0 Average consumer 5th percentile consumer Reference A Reference B 95th percentile consumer prefer A no preference prefer B 95% of population within ±1.96σ d = ±3.3 (d units) The largest effect is consumer differences: χ 1 = 153.6, p < 0.001. Effect of reference in duo-trio test only for consumers with an average preference 1 Income group data Soup data (Paired) Degree-of-difference data -Alternative choice Cumulative link models 3 4 Cumulative Link Mixed Models 5 Thurstonian -AC model via CLMMs c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 3 / 34 c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 33 / 34 Excercises - Day afternoon Excercises - Day afternoon NO ordinal exercises IF you want: look at ordinal vignettes and/or manuel/help material Recommend instead - work with exercises from the previous three teaching blocks: sensr part 1 exercises sensr part exercises lmertest exercises SensMixed exercises c Per Bruun Brockhoff (DTU) The ordinal package: Analyzing ordinal data DTU Sensometrics 015 34 / 34