Skip to contents

This data set is a preprocessed version of the data provided by Winter and Grawunder (2012). It includes measurements of voice pitch of Korean speakers in a 2 x 2 factorial design, with factors gender (male or female) and context (informal or polite).

Usage

politeness

Format

A data frame with 83 rows and 5 variables:

subject

A unique identifier for each participant.

gender

An indicator of the participants gender (only binary).

sentence

An indicator of the sentence spoken by the participant.

context

The main manipulation of whether the context was a polite or informal setting.

pitch

The measured voice pitch in Hz (presumably: average over the sentence spoken).

Source

Winter, B., Grawunder, S. (2012). The phonetic profile of Korean formality. Journal of Phonetics, 40, 808-815.

Examples

if (FALSE) {
# fit a linear model using 'brms'
# regress pitch as a function of dummy-coded factors 'gender' and 'context'
fit <- brms::brm(pitch ~ gender + context, data = politeness)

# check encoding scheme used in the model
get_cell_definitions(fit)

# get draws for male speakers in informal contexts
extract_cell_draws(fit, gender == "M" & context == "inf")

# compare main effects of gender
compare_groups(fit, gender == "F", gender == "M")
}