kk: Difference Scale Judgment Data Sets

Description Usage Format Details References Examples

Description

Three data sets for one subject in a sample difference scaling experiment. The stimuli were scatterplots of bivariate Gaussian samples with different correlations. Either the function runQuadExperiment or runTriadExperiment was used to collect the data.

Usage

1
2
3
4

Format

Four data frames, (kk1, kk2, kk3, kktriad) with 330, or in the case of kktriad 165, observations each with the following 5 (4 for kktriad) components.

resp

a numeric vector taking on values 0 and 1 indicating responses of observer

S1

a numeric vector, rank order of weakest stimulus on the physical scale.

S2

a numeric vector, rank order of physical stimulus 2.

S3

a numeric vector, rank order of physical stimulus 3.

S4

a numeric vector, rank order of strongest stimulus on the physical scale. kktriad does not contain this component as it is from an experiment with triads rather than quadruples

Details

The kk1-3 datasets were generated on three separate days using the function runQuadExperiment with DisplayOneQuad and DefineMyScale to define the stimuli and display them, anti-respectively. The experiments were run on a Macintosh Pro with a 15 inch screen. The observer was seated about 40 cm from the screen. The kktriad data set was generated from one run using the function runTriadExperiment with DisplayOneTriad to control the display.

References

Knoblauch, K. and Maloney, L. T. (2008) MLDS: Maximum likelihood difference scaling in R. Journal of Statistical Software, 25:2, 1–26, http://www.jstatsoft.org/v25/i02.

Examples

1
2
3
4
5
6
7
8
9
data(kk1)
plot(mlds(SwapOrder(kk1))) 
# Fit and plot difference scale for first data set kk1, 
#  using quadruples of stimuli

data(kktriad)
plot(mlds(kktriad), type = "b") 
# Fit and plot experimental data 
#   using triples of stimuli

Example output



MLDS documentation built on May 1, 2019, 6:50 p.m.